diff options
author | Eric Blake <eblake@redhat.com> | 2010-11-05 08:30:27 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-11-05 08:30:39 -0600 |
commit | 2414bb80fe0195d2799fcd876830cc9772acb1b9 (patch) | |
tree | ae4c7c9ae94c03e75577328e6c23527c8ee974bd /modules/round-tests | |
parent | e9101693adb3c251ee277242ef4af7aa570193b6 (diff) | |
download | gnulib-2414bb80fe0195d2799fcd876830cc9772acb1b9.tar.gz |
strtod: work around icc bug
With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such
that a val of 0.0 doesn't result in -0.0.
* lib/strtod.c (minus_zero): Define to working value.
(strtod): Use it to avoid icc bug.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/round-tests')
0 files changed, 0 insertions, 0 deletions