/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | gethex.c | 40 gethex(sp, fpi, exp, bp, sign) in gethex() argument 41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex() 43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign) 154 switch(fpi->rounding) { 173 switch(fpi->rounding) { 186 nbits = fpi->nbits; 199 *exp = fpi->emin; 235 nbits = fpi->nbits; 260 if (e > fpi->emax) { 270 if (e < fpi->emin) { [all …]
|
D | gdtoa_fltrnds.h | 1 FPI *fpi, fpi1; variable 13 fpi = &fpi0; 16 fpi = &fpi1;
|
D | ldtoa.c | 50 FPI fpi = { in __ldtoa() local 73 fpi.rounding ^= (fpi.rounding >> 1) & p->ext_sign; in __ldtoa() 102 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa()
|
D | strtord.c | 82 FPI *fpi, fpi1; local 87 fpi = &fpi0; 91 fpi = &fpi1; 93 k = strtodg(s, sp, fpi, &exp, bits);
|
D | strtodg.c | 178 (d, fpi, exp, bits, exact, rd, irv) in rvOK() argument 179 U *d; FPI *fpi; Long *exp; ULong *bits; int exact, rd, *irv; in rvOK() 181 (U *d, FPI *fpi, Long *exp, ULong *bits, int exact, int rd, int *irv) 194 bdif -= nb = fpi->nbits; 206 fpi->rounding == 267 if (e < fpi->emin) { 268 k = fpi->emin - e; 269 e = fpi->emin; 270 if (k > nb || fpi->sudden_underflow) { 296 else if (e > fpi->emax) { [all …]
|
D | strtorQ.c | 106 FPI *fpi, fpi1; local 111 fpi = &fpi0; 115 fpi = &fpi1; 117 k = strtodg(s, sp, fpi, &exp, bits);
|
D | hexnan.c | 54 hexnan(sp, fpi, x0) in hexnan() argument 55 CONST char **sp; FPI *fpi; ULong *x0; in hexnan() 57 hexnan( CONST char **sp, FPI *fpi, ULong *x0) 66 nbits = fpi->nbits;
|
D | strtof.c | 49 #define fpi &fpi0 macro 52 k = strtodg(s, sp, fpi, &exp, bits);
|
D | gdtoa.c | 116 (fpi, be, bits, kindp, mode, ndigits, decpt, rve) in gdtoa() argument 117 FPI *fpi; int be; ULong *bits; in gdtoa() 120 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve) 190 b = bitstob(bits, nbits = fpi->nbits, &bbits); 324 if ( (rdir = fpi->rounding - 1) !=0) { 513 if (be - i++ < fpi->emin && mode != 3 && mode != 5) { 515 i = be - fpi->emin + 1; 583 if (bbits == 1 && be0 > fpi->emin + 1) {
|
D | gdtoa.h | 109 extern char* __gdtoa ANSI((FPI *fpi, int be, ULong *bits, int *kindp,
|
D | strtod.c | 166 static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI }; local 174 FPI fpi1 = fpi; 177 #define fpi1 fpi 189 copybits(bits, fpi.nbits, bb);
|