/bionic/libm/x86/ |
H A D | e_exp.S | 45 // P(y) is a minimax polynomial approximation of exp(x)-1 54 // exp(NaN) = NaN 55 // exp(+INF) = +INF 56 // exp(-INF) = 0 57 // exp(x) = 1 for subnormals 58 // for finite argument, only exp(0)=1 is exact 60 // if x > 709.782712893383973096 then exp(x) overflow 61 // if x < -745.133219101941108420 then exp(x) underflow 81 # -- Begin exp 82 ENTRY(exp) function [all...] |
/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/x86_64/ |
H A D | e_exp.S | 45 // P(y) is a minimax polynomial approximation of exp(x)-1 54 // exp(NaN) = NaN 55 // exp(+INF) = +INF 56 // exp(-INF) = 0 57 // exp(x) = 1 for subnormals 58 // for finite argument, only exp(0)=1 is exact 60 // if x > 709.782712893383973096 then exp(x) overflow 61 // if x < -745.133219101941108420 then exp(x) underflow 66 # -- Begin exp 67 ENTRY(exp) function [all...] |
/bionic/libm/ |
H A D | fpmath.h | 45 unsigned int exp :8; member in struct:IEEEf2bits::__anon1051 58 unsigned int exp :11; member in struct:IEEEd2bits::__anon1052 70 unsigned int exp :15; member in struct:IEEEl2bits::__anon1053
|
/bionic/tests/ |
H A D | math_test.cpp | 532 TEST(math, exp) { 533 ASSERT_DOUBLE_EQ(1.0, exp(0.0)); 534 ASSERT_DOUBLE_EQ(M_E, exp(1.0)); 1301 int exp; local 1302 double dr = frexp(1024.0, &exp); 1303 ASSERT_DOUBLE_EQ(1024.0, scalbn(dr, exp)); 1307 int exp; local 1308 float fr = frexpf(1024.0f, &exp); 1309 ASSERT_FLOAT_EQ(1024.0f, scalbnf(fr, exp)); 1313 int exp; local 1362 int exp; local [all...] |
H A D | math_data_test.h | 88 unsigned exp:8; member in struct:fp_u::__anon1084 99 unsigned exp:11; member in struct:fp_u::__anon1085
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | res_random.c | 114 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) argument 120 u = exp;
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfprintf.c | 1528 exponent(char *p0, int exp, int fmtch) argument 1535 if (exp < 0) { 1536 exp = -exp; 1541 if (exp > 9) { 1543 *--t = to_char(exp % 10); 1544 } while ((exp /= 10) > 9); 1545 *--t = to_char(exp); 1557 *p++ = to_char(exp);
|
H A D | vfwprintf.c | 1477 exponent(wchar_t *p0, int exp, int fmtch) argument 1484 if (exp < 0) { 1485 exp = -exp; 1490 if (exp > 9) { 1492 *--t = to_char(exp % 10); 1493 } while ((exp /= 10) > 9); 1494 *--t = to_char(exp); 1506 *p++ = to_char(exp);
|