Go to the source code of this file.
◆ hexnan()
Definition at line 61 of file hexnan.c.
64 ULong c, h, *x, *x1, *xe;
66 int havedig, hd0, i, nbits;
73 x = x0 + (nbits >>
kshift);
80 havedig = hd0 = i = 0;
83 while((c = *(
CONST unsigned char*)(s + 1)) && c <=
' ')
87 if(s[1] ==
'0' && (s[2] ==
'x' || s[2] ==
'X') && *(
CONST unsigned char*)(s + 3) >
' ')
91 while((c = *(
CONST unsigned char*)++s))
113 while(*(
CONST unsigned char*)(s + 1) <=
' ')
117 if(s[1] ==
'0' && (s[2] ==
'x' || s[2] ==
'X') &&
118 *(
CONST unsigned char*)(s + 3) >
' ')
124 if( c ==
')' && havedig)
129 #ifndef GDTOA_NON_PEDANTIC_NANCHECK 137 }
while((c = (
ULong) * ++s));
151 *x = (*x << 4) | (h & 0xf);
176 if((i = nbits & (
ULbits - 1)) != 0)
static void L_shift(ULong *x, const ULong *x1, int i)
void hexdig_init_D2A(Void)
References CONST, hexdig, hexdig_init_D2A(), kmask, kshift, L_shift(), FPI::nbits, STRTOG_NaN, STRTOG_NaNbits, and ULbits.
Referenced by strtod(), and strtodg().
◆ L_shift()
static void L_shift |
( |
ULong * |
x, |
|
|
const ULong * |
x1, |
|
|
int |
i |
|
) |
| |
|
static |