/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
H A D | strtof.c | 43 Long exp; local 52 k = strtodg(s, sp, fpi, &exp, bits); 61 u.L[0] = (bits[0] & 0x7fffff) | ((exp + 0x7f + 23) << 23);
|
H A D | strtord.c | 36 ULtod(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; 38 ULtod(ULong *L, ULong *bits, Long exp, int k) 55 L[_0] = (bits[1] & ~0x100000) | ((exp + 0x3ff + 52) << 20); 84 Long exp; local 93 k = strtodg(s, sp, fpi, &exp, bits); 94 ULtod((ULong*)d, bits, exp, k);
|
H A D | strtorQ.c | 54 ULtoQ(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; 56 ULtoQ(ULong *L, ULong *bits, Long exp, int k) 70 L[_0] = (bits[3] & ~0x10000) | ((exp + 0x3fff + 112) << 16); 108 Long exp; local 117 k = strtodg(s, sp, fpi, &exp, bits); 118 ULtoQ((ULong*)L, bits, exp, k);
|
H A D | strtod.c | 170 Long exp; local 182 switch((i = gethex(&s, &fpi1, &exp, &bb, sign)) & STRTOG_Retmask) { 195 ULtod(((U*)&rv)->L, bits, exp, i);
|
/bionic/libm/ |
H A D | fpmath.h | 45 unsigned int exp :8; member in struct:IEEEf2bits::__anon929 58 unsigned int exp :11; member in struct:IEEEd2bits::__anon930 70 unsigned int exp :15; member in struct:IEEEl2bits::__anon931
|
/bionic/tests/ |
H A D | math_test.cpp | 540 TEST(math, exp) { 541 ASSERT_DOUBLE_EQ(1.0, exp(0.0)); 542 ASSERT_DOUBLE_EQ(M_E, exp(1.0)); 1270 int exp; local 1271 double dr = frexp(1024.0, &exp); 1272 ASSERT_DOUBLE_EQ(1024.0, scalbn(dr, exp)); 1276 int exp; local 1277 float fr = frexpf(1024.0f, &exp); 1278 ASSERT_FLOAT_EQ(1024.0f, scalbnf(fr, exp)); 1282 int exp; local 1331 int exp; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfprintf.c | 1522 exponent(char *p0, int exp, int fmtch) argument 1529 if (exp < 0) { 1530 exp = -exp; 1535 if (exp > 9) { 1537 *--t = to_char(exp % 10); 1538 } while ((exp /= 10) > 9); 1539 *--t = to_char(exp); 1551 *p++ = to_char(exp);
|
H A D | vfwprintf.c | 1488 exponent(wchar_t *p0, int exp, int fmtch) argument 1495 if (exp < 0) { 1496 exp = -exp; 1501 if (exp > 9) { 1503 *--t = to_char(exp % 10); 1504 } while ((exp /= 10) > 9); 1505 *--t = to_char(exp); 1517 *p++ = to_char(exp);
|