Home
last modified time | relevance | path

Searched refs:decpt (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dldtoa.c49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument
104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa()
105 if (*decpt == -32768) in __ldtoa()
106 *decpt = INT_MAX; in __ldtoa()
113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, in __ldtoa() argument
118 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve); in __ldtoa()
119 if (*decpt == 9999) in __ldtoa()
120 *decpt = INT_MAX; in __ldtoa()
Dhdtoa.c71 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()
220 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument
[all …]
Dgethex.c47 CONST unsigned char *decpt, *s0, *s, *s1; local
78 decpt = 0;
90 decpt = s += i;
94 decpt = ++s;
108 if (*s == *decimalpoint && !decpt) {
113 decpt = s += i;
115 if (*s == '.' && !decpt) {
116 decpt = ++s;
121 if (decpt)
122 e = -(((Long)(s-decpt)) << 2);
Dgdtoa.h107 extern char* __dtoa ANSI((double d, int mode, int ndigits, int *decpt,
110 int mode, int ndigits, int *decpt, char **rve));
Dgdtoa.c116 (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;
Ddtoa.c78 (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;
Dstrtod.c93 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, local
143 sign = nz0 = nz = decpt = 0;
225 decpt = 1;
300 if (!decpt)
Dstrtodg.c346 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; local
430 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
447 decpt = 1;
521 if (!decpt)
Dgdtoaimp.h590 int *decpt, int *sign, char **rve));