diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-12 11:07:49 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-12 11:07:49 +0100 |
commit | fac670ce47d49a37df8929110b9adc70a1763643 (patch) | |
tree | 2e261caf45f7a113b0278025692f56631e86ff12 /doc/posix-functions/strtold.texi | |
parent | edc3c89f4e5fa9372fd10917c850d17c48cc985b (diff) | |
download | gnulib-fac670ce47d49a37df8929110b9adc70a1763643.tar.gz |
strtold: Work around Cygwin bug.
* m4/strtold.m4 (gl_FUNC_STRTOLD): Add test for the underflow problem.
If it is present, define STRTOLD_HAS_UNDERFLOW_BUG.
* lib/strtod.c (HAVE_UNDERLYING_STRTOD): Set to 0 if
STRTOLD_HAS_UNDERFLOW_BUG is defined.
* doc/posix-functions/strtold.texi: Mention the Cygwin bug.
Diffstat (limited to 'doc/posix-functions/strtold.texi')
-rw-r--r-- | doc/posix-functions/strtold.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/posix-functions/strtold.texi b/doc/posix-functions/strtold.texi index d8ed1747fa..f4116c6528 100644 --- a/doc/posix-functions/strtold.texi +++ b/doc/posix-functions/strtold.texi @@ -62,6 +62,11 @@ IRIX 6.5, mingw. In hexadecimal floats, this function allows whitespace between @samp{p} and the exponent on some platforms: HP-UX 11.31/ia64. + +@item +This function fails to set @code{errno} upon underflow on some platforms: +@c https://cygwin.com/ml/cygwin/2019-12/msg00072.html +Cygwin 2.9. @end itemize Portability problems not fixed by Gnulib: |