strtorxL.c (112158) | strtorxL.c (165743) |
---|---|
1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998, 2000 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 12 unchanged lines hidden (view full) --- 21SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER 23IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 25THIS SOFTWARE. 26 27****************************************************************/ 28 | 1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998, 2000 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 12 unchanged lines hidden (view full) --- 21SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 22WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER 23IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 25THIS SOFTWARE. 26 27****************************************************************/ 28 |
29/* Please send bug reports to 30 David M. Gay 31 Bell Laboratories, Room 2C-463 32 600 Mountain Avenue 33 Murray Hill, NJ 07974-0636 34 U.S.A. 35 dmg@bell-labs.com 36 */ | 29/* Please send bug reports to David M. Gay (dmg at acm dot org, 30 * with " at " changed at "@" and " dot " changed to "."). */ |
37 38#include "gdtoaimp.h" 39 40#undef _0 41#undef _1 42 43/* one or the other of IEEE_MC68k or IEEE_8087 should be #defined */ 44 --- 30 unchanged lines hidden (view full) --- 75 break; 76 77 case STRTOG_Infinite: 78 L[_0] = 0x7fff << 16; 79 L[_1] = L[_2] = 0; 80 break; 81 82 case STRTOG_NaN: | 31 32#include "gdtoaimp.h" 33 34#undef _0 35#undef _1 36 37/* one or the other of IEEE_MC68k or IEEE_8087 should be #defined */ 38 --- 30 unchanged lines hidden (view full) --- 69 break; 70 71 case STRTOG_Infinite: 72 L[_0] = 0x7fff << 16; 73 L[_1] = L[_2] = 0; 74 break; 75 76 case STRTOG_NaN: |
83 L[_0] = 0x7fff << 16; 84 L[_1] = L[_2] = (ULong)-1; | 77 L[0] = ld_QNAN0; 78 L[1] = ld_QNAN1; 79 L[2] = ld_QNAN2; |
85 } 86 if (k & STRTOG_Neg) 87 L[_0] |= 0x80000000L; 88 } 89 90 int 91#ifdef KR_headers 92strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; --- 20 unchanged lines hidden --- | 80 } 81 if (k & STRTOG_Neg) 82 L[_0] |= 0x80000000L; 83 } 84 85 int 86#ifdef KR_headers 87strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; --- 20 unchanged lines hidden --- |