update return values
code adapts to whether or not strtoll sets errno
Merge branch 'master' of github.com:cptaffe/squaresum