aboutsummaryrefslogtreecommitdiffstats
path: root/man3/queue.3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-08-07 09:30:57 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-08-23 20:03:04 +0200
commitc4c038c9dd9119fcbb728e9d07d5a7d1cc929526 (patch)
treefae6db14d0ddf1e0ff815a4ee4f135b4023e66e5 /man3/queue.3
parent400c2265a2c74150a8ee1f1189dab5952191fccf (diff)
downloadman-pages-c4c038c9dd9119fcbb728e9d07d5a7d1cc929526.tar.gz
strtod.3: Fix return value for underflow
In C89 strtod returns zero on underflow, but since C99 it can return non-zero. This means the strtod.3 page contradicts all recent C and POSIX standards. Both C and POSIX say "smallest normalized positive number", but for consistency with HUGE_VAL, HUGE_VALF and HUGE_VALL this patch uses the constants for those numbers. Also slightly improve the presentation of return values for overflow. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/queue.3')
0 files changed, 0 insertions, 0 deletions