Home
last modified time | relevance | path

Searched refs:fpi (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dgdtoa_fltrnds.h1 FPI *fpi, fpi1; variable
13 fpi = &fpi0;
16 fpi = &fpi1;
Dgethex.c40 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)
157 switch(fpi->rounding) {
176 switch(fpi->rounding) {
189 nbits = fpi->nbits;
202 *exp = fpi->emin;
238 nbits = fpi->nbits;
263 if (e > fpi->emax) {
273 if (e < fpi->emin) {
[all …]
Dldtoa.c52 FPI fpi = { in __ldtoa() local
75 fpi.rounding ^= (fpi.rounding >> 1) & p->ext_sign; in __ldtoa()
104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa()
Dstrtord.c82 FPI *fpi, fpi1; local
87 fpi = &fpi0;
91 fpi = &fpi1;
93 k = strtodg(s, sp, fpi, &exp, bits);
DstrtorQ.c106 FPI *fpi, fpi1; local
111 fpi = &fpi0;
115 fpi = &fpi1;
117 k = strtodg(s, sp, fpi, &exp, bits);
Dhexnan.c54 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;
Dstrtof.c49 #define fpi &fpi0 macro
52 k = strtodg(s, sp, fpi, &exp, bits);
Dstrtodg.c178 (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 …]
Dgdtoa.c116 (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) {
Dgdtoa.h109 extern char* __gdtoa ANSI((FPI *fpi, int be, ULong *bits, int *kindp,
Dstrtod.c169 static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI }; local
177 FPI fpi1 = fpi;
180 #define fpi1 fpi
192 copybits(bits, fpi.nbits, bb);