diff options
Diffstat (limited to 'contrib/gdtoa/strtordd.c')
-rw-r--r-- | contrib/gdtoa/strtordd.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/contrib/gdtoa/strtordd.c b/contrib/gdtoa/strtordd.c index 626a4d3f5792..9c2b46e65e3e 100644 --- a/contrib/gdtoa/strtordd.c +++ b/contrib/gdtoa/strtordd.c @@ -26,14 +26,8 @@ THIS SOFTWARE. ****************************************************************/ -/* Please send bug reports to - David M. Gay - Bell Laboratories, Room 2C-463 - 600 Mountain Avenue - Murray Hill, NJ 07974-0636 - U.S.A. - dmg@bell-labs.com - */ +/* Please send bug reports to David M. Gay (dmg at acm dot org, + * with " at " changed at "@" and " dot " changed to "."). */ #include "gdtoaimp.h" @@ -159,8 +153,8 @@ ULtodd(ULong *L, ULong *bits, Long exp, int k) break; case STRTOG_NaN: - L[_0] = L[2+_0] = 0x7fffffff; - L[_1] = L[2+_1] = (ULong)-1; + L[0] = L[2] = d_QNAN0; + L[1] = L[3] = d_QNAN1; break; case STRTOG_NaNbits: |