
...
- do not need to set
errno
on an error; - have undefined behavior 16 if the value of the result cannot be represented;
- return 0 (or 0.0) if the string does not represent an integer (or decimal), which is indistinguishable from a correctly formatted, zero-denoting input string.
...