Tech article
No portable way to detect string-to-float conversion errors in standard C
No preview is available. Read the original article for the full story.
Hacker News | Oct 10, 2026 | signa11
Automated excerpt
If the result underflows (7. 12. 2), the functions return a value whose magnitude is no greater than the smallest normalized positive number in the return type; if the integer expression math_errhandling & MATH_ERRNO is nonzero, whether errno acquires the value ERANGE is implementation-defined; if the integer expression math_errhandling & MATH_ERREXCEPT is nonzero, whether the "underflow" floating-point exception is raised is implementation-defined.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.