g_dfmt.c (187808) | g_dfmt.c (219557) |
---|---|
1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 74 unchanged lines hidden (view full) --- 83 bits[1] |= 0x100000; 84 else 85 ex = 1; 86 ex -= 0x3ff + 52; 87 mode = 2; 88 if (ndig <= 0) 89 mode = 0; 90 i = STRTOG_Normal; | 1/**************************************************************** 2 3The author of this software is David M. Gay. 4 5Copyright (C) 1998 by Lucent Technologies 6All Rights Reserved 7 8Permission to use, copy, modify, and distribute this software and --- 74 unchanged lines hidden (view full) --- 83 bits[1] |= 0x100000; 84 else 85 ex = 1; 86 ex -= 0x3ff + 52; 87 mode = 2; 88 if (ndig <= 0) 89 mode = 0; 90 i = STRTOG_Normal; |
91 if (sign) 92 i = STRTOG_Normal | STRTOG_Neg; |
|
91 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se); 92 return g__fmt(buf, s, se, decpt, sign, bufsize); 93 } | 93 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se); 94 return g__fmt(buf, s, se, decpt, sign, bufsize); 95 } |