Hi Bruno,

On Fri, Jul 19, 2024 at 06:54:40PM GMT, Bruno Haible wrote:
> Alejandro Colomar wrote:
> > strtod(3) defers to strtol(3) for the example program.
> 
> Is this adequate? strtod() can produce underflow (e.g. for "1e-500").
> In this case all implementations except MSVC set errno to ERANGE.
> This is a case that cannot happen in strtol().

I was thinking tonight that it would be better to actually add an
example program to strtod(3) (and also document in VERSIONS that other
systems do different).

Cheers,
Alex

> 
> Bruno
> 
> 
> 

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to