/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | hdtoa.c | 71 dorounding(char *s0, int ndigits, int sign, int *decpt) in dorounding() argument 95 *decpt += 4; in dorounding() 123 __hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, in __hdtoa() argument 135 *decpt = p->dbl_exp - DBL_ADJ; in __hdtoa() 138 *decpt = 1; in __hdtoa() 142 *decpt = p->dbl_exp - (514 + DBL_ADJ); in __hdtoa() 145 *decpt = INT_MAX; in __hdtoa() 148 *decpt = INT_MAX; in __hdtoa() 202 dorounding(s0, ndigits, p->dbl_sign, decpt); in __hdtoa() 221 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument [all …]
|
D | ldtoa.c | 47 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 102 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa() 103 if (*decpt == -32768) in __ldtoa() 104 *decpt = INT_MAX; in __ldtoa() 112 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument 117 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa() 118 if (*decpt == 9999) in __ldtoa() 119 *decpt = INT_MAX; in __ldtoa()
|
D | gethex.c | 47 CONST unsigned char *decpt, *s0, *s, *s1; local 75 decpt = 0; 87 decpt = s += i; 91 decpt = ++s; 105 if (*s == *decimalpoint && !decpt) { 110 decpt = s += i; 112 if (*s == '.' && !decpt) { 113 decpt = ++s; 118 if (decpt) 119 e = -(((Long)(s-decpt)) << 2);
|
D | gdtoa.h | 107 extern char* __dtoa ANSI((double d, int mode, int ndigits, int *decpt, 110 int mode, int ndigits, int *decpt, char **rve));
|
D | gdtoa.c | 116 (fpi, be, bits, kindp, mode, ndigits, decpt, rve) in gdtoa() argument 118 int *kindp, mode, ndigits, *decpt; char **rve; 120 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve) 182 *decpt = -32768; 185 *decpt = -32768; 202 *decpt = 1; 824 *decpt = k + 1;
|
D | dtoa.c | 78 (d0, mode, ndigits, decpt, sign, rve) in dtoa() argument 79 double d0; int mode, ndigits, *decpt, *sign; char **rve; in dtoa() 81 (double d0, int mode, int ndigits, int *decpt, int *sign, char **rve) 170 *decpt = 9999; 182 *decpt = 1; 835 *decpt = k + 1;
|
D | strtod.c | 93 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, local 140 sign = nz0 = nz = decpt = 0; 222 decpt = 1; 297 if (!decpt)
|
D | strtodg.c | 346 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; local 427 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) 444 decpt = 1; 518 if (!decpt)
|