/picolibc-latest/newlib/libm/math/ |
D | s_j0.c | 67 huge = _F_64(1e300), one = _F_64(1.0), 68 invsqrtpi = _F_64(5.64189583547756279280e-01), /* 0x3FE20DD7, 0x50429B6D */ 69 tpi = _F_64(6.36619772367581382433e-01), /* 0x3FE45F30, 0x6DC9C883 */ 71 R02 = _F_64(1.56249999999999947958e-02), /* 0x3F8FFFFF, 0xFFFFFFFD */ 72 R03 = _F_64(-1.89979294238854721751e-04), /* 0xBF28E6A5, 0xB61AC6E9 */ 73 R04 = _F_64(1.82954049532700665670e-06), /* 0x3EBEB1D1, 0x0C503919 */ 74 R05 = _F_64(-4.61832688532103189199e-09), /* 0xBE33D5E7, 0x73D63FCE */ 75 S01 = _F_64(1.56191029464890010492e-02), /* 0x3F8FFCE8, 0x82C8C2A4 */ 76 S02 = _F_64(1.16926784663337450260e-04), /* 0x3F1EA6D2, 0xDD57DBF4 */ 77 S03 = _F_64(5.13546550207318111446e-07), /* 0x3EA13B54, 0xCE84D5A9 */ [all …]
|
D | s_j1.c | 67 one = _F_64(1.0), 69 _F_64(5.64189583547756279280e-01), /* 0x3FE20DD7, 0x50429B6D */ 70 tpi = _F_64(6.36619772367581382433e-01), /* 0x3FE45F30, 0x6DC9C883 */ 72 r00 = _F_64(-6.25000000000000000000e-02), /* 0xBFB00000, 0x00000000 */ 73 r01 = _F_64(1.40705666955189706048e-03), /* 0x3F570D9F, 0x98472C61 */ 74 r02 = _F_64(-1.59955631084035597520e-05), /* 0xBEF0C5C6, 0xBA169668 */ 75 r03 = _F_64(4.96727999609584448412e-08), /* 0x3E6AAAFA, 0x46CA0BD9 */ 76 s01 = _F_64(1.91537599538363460805e-02), /* 0x3F939D0B, 0x12637E53 */ 77 s02 = _F_64(1.85946785588630915560e-04), /* 0x3F285F56, 0xB9CDF664 */ 78 s03 = _F_64(1.17718464042623683263e-06), /* 0x3EB3BFF8, 0x333F8498 */ [all …]
|
D | s_erf.c | 158 tiny = _F_64(1e-300), 159 half = _F_64(5.00000000000000000000e-01), /* 0x3FE00000, 0x00000000 */ 160 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 161 two = _F_64(2.00000000000000000000e+00), /* 0x40000000, 0x00000000 */ 163 erx = _F_64(8.45062911510467529297e-01), /* 0x3FEB0AC1, 0x60000000 */ 167 efx = _F_64(1.28379167095512586316e-01), /* 0x3FC06EBA, 0x8214DB69 */ 168 efx8 = _F_64(1.02703333676410069053e+00), /* 0x3FF06EBA, 0x8214DB69 */ 169 pp0 = _F_64(1.28379167095512558561e-01), /* 0x3FC06EBA, 0x8214DB68 */ 170 pp1 = _F_64(-3.25042107247001499370e-01), /* 0xBFD4CD7D, 0x691CB913 */ 171 pp2 = _F_64(-2.84817495755985104766e-02), /* 0xBF9D2A51, 0xDBD7194F */ [all …]
|
D | s_atan.c | 73 _F_64(4.63647609000806093515e-01), /* atan(0.5)hi 0x3FDDAC67, 0x0561BB4F */ 74 _F_64(7.85398163397448278999e-01), /* atan(1.0)hi 0x3FE921FB, 0x54442D18 */ 75 _F_64(9.82793723247329054082e-01), /* atan(1.5)hi 0x3FEF730B, 0xD281F69B */ 76 _F_64(1.57079632679489655800e+00), /* atan(inf)hi 0x3FF921FB, 0x54442D18 */ 80 _F_64(2.26987774529616870924e-17), /* atan(0.5)lo 0x3C7A2B7F, 0x222F65E2 */ 81 _F_64(3.06161699786838301793e-17), /* atan(1.0)lo 0x3C81A626, 0x33145C07 */ 82 _F_64(1.39033110312309984516e-17), /* atan(1.5)lo 0x3C700788, 0x7AF0CBBD */ 83 _F_64(6.12323399573676603587e-17), /* atan(inf)lo 0x3C91A626, 0x33145C07 */ 87 _F_64(3.33333333333329318027e-01), /* 0x3FD55555, 0x5555550D */ 88 _F_64(-1.99999999998764832476e-01), /* 0xBFC99999, 0x9998EBC4 */ [all …]
|
D | s_exp.c | 84 one = _F_64(1.0), 85 halF[2] = {_F_64(0.5),_F_64(-0.5),}, 86 huge = _F_64(1.0e+300), 87 twom1000 = _F_64(9.33263618503218878990e-302), /* 2**-1000=0x01700000,0*/ 88 o_threshold = _F_64(7.09782712893383973096e+02), /* 0x40862E42, 0xFEFA39EF */ 89 u_threshold = _F_64(-7.45133219101941108420e+02), /* 0xc0874910, 0xD52D3051 */ 90 ln2HI[2] ={ _F_64(6.93147180369123816490e-01), /* 0x3fe62e42, 0xfee00000 */ 91 _F_64(-6.93147180369123816490e-01),},/* 0xbfe62e42, 0xfee00000 */ 92 ln2LO[2] ={ _F_64(1.90821492927058770002e-10), /* 0x3dea39ef, 0x35793c76 */ 93 _F_64(-1.90821492927058770002e-10),},/* 0xbdea39ef, 0x35793c76 */ [all …]
|
D | s_asin.c | 49 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 50 huge = _F_64(1.000e+300), 51 pio2_hi = _F_64(1.57079632679489655800e+00), /* 0x3FF921FB, 0x54442D18 */ 52 pio2_lo = _F_64(6.12323399573676603587e-17), /* 0x3C91A626, 0x33145C07 */ 53 pio4_hi = _F_64(7.85398163397448278999e-01), /* 0x3FE921FB, 0x54442D18 */ 55 pS0 = _F_64(1.66666666666666657415e-01), /* 0x3FC55555, 0x55555555 */ 56 pS1 = _F_64(-3.25565818622400915405e-01), /* 0xBFD4D612, 0x03EB6F7D */ 57 pS2 = _F_64(2.01212532134862925881e-01), /* 0x3FC9C155, 0x0E884455 */ 58 pS3 = _F_64(-4.00555345006794114027e-02), /* 0xBFA48228, 0xB5688F3B */ 59 pS4 = _F_64(7.91534994289814532176e-04), /* 0x3F49EFE0, 0x7501B288 */ [all …]
|
D | s_acos.c | 43 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 44 pi = _F_64(3.14159265358979311600e+00), /* 0x400921FB, 0x54442D18 */ 45 pio2_hi = _F_64(1.57079632679489655800e+00), /* 0x3FF921FB, 0x54442D18 */ 46 pio2_lo = _F_64(6.12323399573676603587e-17), /* 0x3C91A626, 0x33145C07 */ 47 pS0 = _F_64(1.66666666666666657415e-01), /* 0x3FC55555, 0x55555555 */ 48 pS1 = _F_64(-3.25565818622400915405e-01), /* 0xBFD4D612, 0x03EB6F7D */ 49 pS2 = _F_64(2.01212532134862925881e-01), /* 0x3FC9C155, 0x0E884455 */ 50 pS3 = _F_64(-4.00555345006794114027e-02), /* 0xBFA48228, 0xB5688F3B */ 51 pS4 = _F_64(7.91534994289814532176e-04), /* 0x3F49EFE0, 0x7501B288 */ 52 pS5 = _F_64(3.47933107596021167570e-05), /* 0x3F023DE1, 0x0DFDF709 */ [all …]
|
D | k_tan.c | 53 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 54 pio4 = _F_64(7.85398163397448278999e-01), /* 0x3FE921FB, 0x54442D18 */ 55 pio4lo = _F_64(3.06161699786838301793e-17), /* 0x3C81A626, 0x33145C07 */ 57 _F_64(3.33333333333334091986e-01), /* 0x3FD55555, 0x55555563 */ 58 _F_64(1.33333333333201242699e-01), /* 0x3FC11111, 0x1110FE7A */ 59 _F_64(5.39682539762260521377e-02), /* 0x3FABA1BA, 0x1BB341FE */ 60 _F_64(2.18694882948595424599e-02), /* 0x3F9664F4, 0x8406D637 */ 61 _F_64(8.86323982359930005737e-03), /* 0x3F8226E3, 0xE96E8493 */ 62 _F_64(3.59207910759131235356e-03), /* 0x3F6D6D22, 0xC9560328 */ 63 _F_64(1.45620945432529025516e-03), /* 0x3F57DBC8, 0xFEE08315 */ [all …]
|
D | s_pow.c | 67 bp[] = {_F_64(1.0), _F_64(1.5),}, 68 dp_h[] = { _F_64(0.0), _F_64(5.84962487220764160156e-01),}, /* 0x3FE2B803, 0x40000000 */ 69 dp_l[] = { _F_64(0.0), _F_64(1.35003920212974897128e-08),}, /* 0x3E4CFDEB, 0x43CFD006 */ 70 zero = _F_64(0.0), 71 one = _F_64(1.0), 72 two = _F_64(2.0), 73 two53 = _F_64(9007199254740992.0), /* 0x43400000, 0x00000000 */ 75 L1 = _F_64(5.99999999999994648725e-01), /* 0x3FE33333, 0x33333303 */ 76 L2 = _F_64(4.28571428578550184252e-01), /* 0x3FDB6DB6, 0xDB6FABFF */ 77 L3 = _F_64(3.33333329818377432918e-01), /* 0x3FD55555, 0x518F264D */ [all …]
|
D | s_log.c | 70 static const __float64 ln2_hi = _F_64(6.93147180369123816490e-01), /* 3fe62e42 fee00000 */ 71 ln2_lo = _F_64(1.90821492927058770002e-10), /* 3dea39ef 35793c76 */ 72 two54 = _F_64(1.80143985094819840000e+16), /* 43500000 00000000 */ 73 Lg1 = _F_64(6.666666666666735130e-01), /* 3FE55555 55555593 */ 74 Lg2 = _F_64(3.999999999940941908e-01), /* 3FD99999 9997FA04 */ 75 Lg3 = _F_64(2.857142874366239149e-01), /* 3FD24924 94229359 */ 76 Lg4 = _F_64(2.222219843214978396e-01), /* 3FCC71C5 1D8E78AF */ 77 Lg5 = _F_64(1.818357216161805012e-01), /* 3FC74664 96CB03DE */ 78 Lg6 = _F_64(1.531383769920937332e-01), /* 3FC39A09 D078C69F */ 79 Lg7 = _F_64(1.479819860511658591e-01); /* 3FC2F112 DF3E5244 */ [all …]
|
D | k_cos.c | 54 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 55 C1 = _F_64(4.16666666666666019037e-02), /* 0x3FA55555, 0x5555554C */ 56 C2 = _F_64(-1.38888888888741095749e-03), /* 0xBF56C16C, 0x16C15177 */ 57 C3 = _F_64(2.48015872894767294178e-05), /* 0x3EFA01A0, 0x19CB1590 */ 58 C4 = _F_64(-2.75573143513906633035e-07), /* 0xBE927E4F, 0x809C52AD */ 59 C5 = _F_64(2.08757232129817482790e-09), /* 0x3E21EE9E, 0xBDB4B1C4 */ 60 C6 = _F_64(-1.13596475577881948265e-11); /* 0xBDA8FAE9, 0xBE8838D4 */ 74 return one - (_F_64(0.5) * z - (z * r - x * y)); in __kernel_cos() 77 qx = _F_64(0.28125); in __kernel_cos() 81 hz = _F_64(0.5) * z - qx; in __kernel_cos()
|
D | k_rem_pio2.c | 136 _F_64(1.57079625129699707031e+00), /* 0x3FF921FB, 0x40000000 */ 137 _F_64(7.54978941586159635335e-08), /* 0x3E74442D, 0x00000000 */ 138 _F_64(5.39030252995776476554e-15), /* 0x3CF84698, 0x80000000 */ 139 _F_64(3.28200341580791294123e-22), /* 0x3B78CC51, 0x60000000 */ 140 _F_64(1.27065575308067607349e-29), /* 0x39F01B83, 0x80000000 */ 141 _F_64(1.22933308981111328932e-36), /* 0x387A2520, 0x40000000 */ 142 _F_64(2.73370053816464559624e-44), /* 0x36E38222, 0x80000000 */ 143 _F_64(2.16741683877804819444e-51), /* 0x3569F31D, 0x00000000 */ 147 zero = _F_64(0.0), one = _F_64(1.0), 148 two24 = _F_64(1.67772160000000000000e+07), /* 0x41700000, 0x00000000 */ [all …]
|
D | s_atan2.c | 47 tiny = _F_64(1.0e-300), zero = _F_64(0.0), 48 pi_o_4 = _F_64(7.8539816339744827900E-01), /* 0x3FE921FB, 0x54442D18 */ 49 pi_o_2 = _F_64(1.5707963267948965580E+00), /* 0x3FF921FB, 0x54442D18 */ 50 pi = _F_64(3.1415926535897931160E+00), /* 0x400921FB, 0x54442D18 */ 51 pi_lo = _F_64(1.2246467991473531772E-16); /* 0x3CA1A626, 0x33145C07 */ 96 return _F_64(3.0) * pi_o_4 + tiny; /*atan(+INF,-INF)*/ in atan264() 98 return _F_64(-3.0) * pi_o_4 - tiny; /*atan(-INF,-INF)*/ in atan264() 120 z = pi_o_2 + _F_64(0.5) * pi_lo; /* |y/x| > 2**60 */ in atan264() 122 z = _F_64(0.0); /* |y|/x < -2**60 */ in atan264()
|
D | k_sin.c | 47 half = _F_64(5.00000000000000000000e-01), /* 0x3FE00000, 0x00000000 */ 48 S1 = _F_64(-1.66666666666666324348e-01), /* 0xBFC55555, 0x55555549 */ 49 S2 = _F_64(8.33333333332248946124e-03), /* 0x3F811111, 0x1110F8A6 */ 50 S3 = _F_64(-1.98412698298579493134e-04), /* 0xBF2A01A0, 0x19C161D5 */ 51 S4 = _F_64(2.75573137070700676789e-06), /* 0x3EC71DE3, 0x57B1FE7D */ 52 S5 = _F_64(-2.50507602534068634195e-08), /* 0xBE5AE5E6, 0x8A2B9CEB */ 53 S6 = _F_64(1.58969099521155010221e-10); /* 0x3DE5D93A, 0x5ACFD57C */
|
D | s_rem_pio2.c | 61 zero = _F_64(0.00000000000000000000e+00), /* 0x00000000, 0x00000000 */ 62 half = _F_64(5.00000000000000000000e-01), /* 0x3FE00000, 0x00000000 */ 63 two24 = _F_64(1.67772160000000000000e+07), /* 0x41700000, 0x00000000 */ 64 invpio2 = _F_64(6.36619772367581382433e-01), /* 0x3FE45F30, 0x6DC9C883 */ 65 pio2_1 = _F_64(1.57079632673412561417e+00), /* 0x3FF921FB, 0x54400000 */ 66 pio2_1t = _F_64(6.07710050650619224932e-11), /* 0x3DD0B461, 0x1A626331 */ 67 pio2_2 = _F_64(6.07710050630396597660e-11), /* 0x3DD0B461, 0x1A600000 */ 68 pio2_2t = _F_64(2.02226624879595063154e-21), /* 0x3BA3198A, 0x2E037073 */ 69 pio2_3 = _F_64(2.02226624871116645580e-21), /* 0x3BA3198A, 0x2E000000 */ 70 pio2_3t = _F_64(8.47842766036889956997e-32); /* 0x397B839A, 0x252049C1 */ [all …]
|
D | s_acosh.c | 34 one = _F_64(1.0), 35 ln2 = _F_64(6.93147180559945286227e-01); /* 0x3FE62E42, 0xFEFA39EF */ 52 return _F_64(0.0); /* acosh(1) = 0 */ in acosh64() 55 return log64(_F_64(2.0) * x - one / (x + sqrt64(t - one))); in acosh64() 58 return log1p64(t + sqrt64(_F_64(2.0) * t + t * t)); in acosh64()
|
D | s_atanh.c | 37 static const __float64 one = _F_64(1.0), huge = _F_64(1e300); 39 static const __float64 zero = _F_64(0.0); 58 t = _F_64(0.5) * log1p64(t + t * x / (one - x)); in atanh64() 60 t = _F_64(0.5) * log1p64((x + x) / (one - x)); in atanh64()
|
D | s_sinh.c | 36 static const __float64 one = _F_64(1.0), shuge = _F_64(1.0e307); 53 h = _F_64(0.5); in sinh64() 63 return h * (_F_64(2.0) * t - t * t / (t + one)); in sinh64() 74 w = exp64(_F_64(0.5) * fabs64(x)); in sinh64()
|
D | s_jn.c | 44 invsqrtpi = _F_64(5.64189583547756279280e-01), /* 0x3FE20DD7, 0x50429B6D */ 45 two = _F_64(2.00000000000000000000e+00), /* 0x40000000, 0x00000000 */ 46 one = _F_64(1.00000000000000000000e+00); /* 0x3FF00000, 0x00000000 */ 48 static const __float64 zero = _F_64(0.00000000000000000000e+00); 61 return _F_64(0.0); in jn64() 131 temp = x * _F_64(0.5); in jn64() 173 h = _F_64(2.0) / (__float64)x; in jn64() 176 q1 = w * z - _F_64(1.0); in jn64() 178 while (q1 < _F_64(1.0e9)) { in jn64() 201 if (tmp < _F_64(7.09782712893383973096e+02)) { in jn64() [all …]
|
D | s_asinh.c | 64 one = _F_64(1.00000000000000000000e+00), /* 0x3FF00000, 0x00000000 */ 65 ln2 = _F_64(6.93147180559945286227e-01), /* 0x3FE62E42, 0xFEFA39EF */ 66 huge = _F_64(1.00000000000000000000e+300); 85 w = log64(_F_64(2.0) * t + one / (sqrt64(x * x + one) + t)); in asinh64()
|
D | s_log10.c | 52 two54 = _F_64(1.80143985094819840000e+16), /* 0x43500000, 0x00000000 */ 53 ivln10 = _F_64(4.34294481903251816668e-01), /* 0x3FDBCB7B, 0x1526E50E */ 54 log10_2hi = _F_64(3.01029995663611771306e-01), /* 0x3FD34413, 0x509F6000 */ 55 log10_2lo = _F_64(3.69423907715893078616e-13); /* 0x3D59FEF3, 0x11F12B36 */
|
/picolibc-latest/newlib/libm/common/ |
D | s_expm1.c | 150 one = _F_64(1.0), 151 huge = _F_64(1.0e+300), 152 tiny = _F_64(1.0e-300), 153 o_threshold = _F_64(7.09782712893383973096e+02),/* 0x40862E42, 0xFEFA39EF */ 154 ln2_hi = _F_64(6.93147180369123816490e-01),/* 0x3fe62e42, 0xfee00000 */ 155 ln2_lo = _F_64(1.90821492927058770002e-10),/* 0x3dea39ef, 0x35793c76 */ 156 invln2 = _F_64(1.44269504088896338700e+00),/* 0x3ff71547, 0x652b82fe */ 158 Q1 = _F_64(-3.33333333333331316428e-02), /* BFA11111 111110F4 */ 159 Q2 = _F_64(1.58730158725481460165e-03), /* 3F5A01A0 19FE5585 */ 160 Q3 = _F_64(-7.93650757867487942473e-05), /* BF14CE19 9EAADBB7 */ [all …]
|
D | s_log1p.c | 121 ln2_hi = _F_64(6.93147180369123816490e-01), /* 3fe62e42 fee00000 */ 122 ln2_lo = _F_64(1.90821492927058770002e-10), /* 3dea39ef 35793c76 */ 123 two54 = _F_64(1.80143985094819840000e+16), /* 43500000 00000000 */ 124 Lp1 = _F_64(6.666666666666735130e-01), /* 3FE55555 55555593 */ 125 Lp2 = _F_64(3.999999999940941908e-01), /* 3FD99999 9997FA04 */ 126 Lp3 = _F_64(2.857142874366239149e-01), /* 3FD24924 94229359 */ 127 Lp4 = _F_64(2.222219843214978396e-01), /* 3FCC71C5 1D8E78AF */ 128 Lp5 = _F_64(1.818357216161805012e-01), /* 3FC74664 96CB03DE */ 129 Lp6 = _F_64(1.531383769920937332e-01), /* 3FC39A09 D078C69F */ 130 Lp7 = _F_64(1.479819860511658591e-01); /* 3FC2F112 DF3E5244 */ [all …]
|
D | s_cbrt.c | 51 C = _F_64(5.42857142857142815906e-01), /* 19/35 = 0x3FE15F15, 0xF15F15F1 */ 52 D = _F_64(-7.05306122448979611050e-01), /* -864/1225 = 0xBFE691DE, 0x2532C834 */ 53 E = _F_64(1.41428571428571436819e+00), /* 99/70 = 0x3FF6A0EA, 0x0EA0EA0F */ 54 F = _F_64(1.60714285714285720630e+00), /* 45/28 = 0x3FF9B6DB, 0x6DB6DB6E */ 55 G = _F_64(3.57142857142857150787e-01); /* 5/14 = 0x3FD6DB6D, 0xB6DB6DB7 */ 61 __float64 r,s,t=_F_64(0.0),w; in cbrt64()
|
D | math_inexact.c | 40 static CONST_FORCE_FLOAT64 VAL = pick_float64_except(_FLOAT64_MIN, _F_64(0.0)); 45 force_eval_float64(_F_64(1.0) + VAL); in __math_set_inexact64() 51 force_eval_float64(_F_64(1.0) + VAL); in __math_inexact64()
|