summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa/strtorxL.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-01-03 04:58:54 +0000
committerdas <das@FreeBSD.org>2007-01-03 04:58:54 +0000
commita0129a3c83ae0f6007cfe93b81aec4147b9b623d (patch)
tree4b216abd1b785348754a713774933abd8732b487 /contrib/gdtoa/strtorxL.c
parent59fd40558897e7e124b0b20c81966b74f6e25b80 (diff)
parent5bc737f35262327ca86ef96a7cbc6680c8eeb2ea (diff)
downloadFreeBSD-src-a0129a3c83ae0f6007cfe93b81aec4147b9b623d.zip
FreeBSD-src-a0129a3c83ae0f6007cfe93b81aec4147b9b623d.tar.gz
This commit was generated by cvs2svn to compensate for changes in r165743,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/gdtoa/strtorxL.c')
-rw-r--r--contrib/gdtoa/strtorxL.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/contrib/gdtoa/strtorxL.c b/contrib/gdtoa/strtorxL.c
index 126cef8..ff62a61 100644
--- a/contrib/gdtoa/strtorxL.c
+++ b/contrib/gdtoa/strtorxL.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"
@@ -80,8 +74,9 @@ ULtoxL(ULong *L, ULong *bits, Long exp, int k)
break;
case STRTOG_NaN:
- L[_0] = 0x7fff << 16;
- L[_1] = L[_2] = (ULong)-1;
+ L[0] = ld_QNAN0;
+ L[1] = ld_QNAN1;
+ L[2] = ld_QNAN2;
}
if (k & STRTOG_Neg)
L[_0] |= 0x80000000L;
OpenPOWER on IntegriCloud