Home
last modified time | relevance | path

Searched refs:tiny (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/lib/msun/src/
H A De_atan2f.c20 tiny = 1.0e-30; variable
50 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2f()
51 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2f()
55 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in atan2f()
61 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */ in atan2f()
62 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */ in atan2f()
63 case 2: return (float)3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/ in atan2f()
64 case 3: return (float)-3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/ in atan2f()
70 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2f()
71 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2f()
[all …]
H A De_atan2.c47 tiny = 1.0e-300; variable
78 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2()
79 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2()
83 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in atan2()
89 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */ in atan2()
90 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */ in atan2()
91 case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/ in atan2()
92 case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/ in atan2()
98 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2()
99 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2()
[all …]
H A De_atan2l.c27 tiny = 1.0e-300; variable
71 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2l()
72 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2l()
77 return (expsigny<0)? -pio2_hi-tiny: pio2_hi+tiny; in atan2l()
83 case 0: return pio2_hi*0.5+tiny;/* atan(+INF,+INF) */ in atan2l()
84 case 1: return -pio2_hi*0.5-tiny;/* atan(-INF,+INF) */ in atan2l()
85 case 2: return 1.5*pio2_hi+tiny;/*atan(+INF,-INF)*/ in atan2l()
86 case 3: return -1.5*pio2_hi-tiny;/*atan(-INF,-INF)*/ in atan2l()
92 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2l()
93 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2l()
[all …]
H A De_pow.c72 tiny = 1.0e-300, variable
191 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny; in pow()
192 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny; in pow()
195 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny; in pow()
196 if(ix>0x3ff00000) return (hy>0)? s*huge*huge:s*tiny*tiny; in pow()
197 /* now |1-x| is tiny < in pow()
[all...]
H A De_powf.c31 tiny = 1.0e-30, variable
136 if(ix<0x3f7ffff6) return (hy<0)? sn*huge*huge:sn*tiny*tiny; in powf()
137 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny; in powf()
138 /* now |1-x| is tiny <= 2**-20, suffice to compute in powf()
215 return sn*tiny*tiny; /* underflow */ in powf()
217 if(p_l<=z-p_h) return sn*tiny*tiny; /* underflo in powf()
[all...]
H A Ds_erff.c20 static const volatile float tiny = 1e-30; variable
108 if(hx>=0) return one-tiny; else return tiny-one; in erff()
168 if(hx<0&&ix>=0x40a00000) return two-tiny;/* x < -5 */ in erfcf()
176 if(hx>0) return tiny*tiny; else return two-tiny; in erfcf()
H A Ds_erf.c111 static const volatile double tiny= 1e-300; variable
223 if(hx>=0) return one-tiny; else return tiny-one; in erf()
290 if(hx<0&&ix>=0x40180000) return two-tiny;/* x < -6 */ in erfc()
299 if(hx>0) return tiny*tiny; else return two-tiny; in erfc()
H A De_sqrtf.c26 static const float one = 1.0, tiny=1.0e-30; variable
79 z = one-tiny; /* trigger inexact flag */ in sqrtf()
81 z = one+tiny; in sqrtf()
H A Ds_expm1f.c23 tiny = 1.0e-30, variable
59 if(x+tiny<(float)0.0) /* raise inexact */ in expm1f()
60 return tiny-one; /* return -1 */ in expm1f()
H A De_sqrt.c95 static const double one = 1.0, tiny=1.0e-300; variable
175 z = one-tiny; /* trigger inexact flag */ in sqrt()
177 z = one+tiny; in sqrt()
H A Ds_expm1.c114 tiny = 1.0e-300, variable
152 if(x+tiny<0.0) /* raise inexact */ in expm1()
153 return tiny-one; /* return -1 */ in expm1()
H A Ds_tanhf.c19 static const volatile float tiny = 1.0e-30; variable
51 z = one - tiny; /* raise inexact flag */ in tanhf()
H A Ds_tanh.c41 static const volatile double tiny = 1.0e-300; variable
73 z = one - tiny; /* raise inexact flag */ in tanh()
H A De_coshl.c37 static const volatile long double huge = 0x1p10000L, tiny = 0x1p-10000L; variable
102 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */ in coshl()
/freebsd/lib/msun/ld128/
H A De_powl.c89 tiny = 1.0e-3000L; variable
271 return (hy < 0) ? huge * huge : tiny * tiny; in powl()
273 return (hy > 0) ? huge * huge : tiny * tiny; in powl()
277 return (hy < 0) ? huge * huge : tiny * tiny; in powl()
279 return (hy > 0) ? huge * huge : tiny * tiny; in powl()
396 return s * tiny * tiny; /* underflow */ in powl()
400 return s * tiny * tiny; /* underflow */ in powl()
H A Ds_erfl.c24 static const volatile long double tiny = 0x1p-10000L; variable
228 if(x>=0) return (one-tiny); else return (tiny-one); in erfl()
313 if(x < -9) return two-tiny; /* x < -9 */ in erfcl()
323 if(x>0) return tiny*tiny; else return two-tiny; in erfcl()
H A Ds_expl.c45 tiny = 0x1p-10000L; variable
78 RETURNF(tiny * tiny); in expl()
228 RETURNF(tiny - 1); /* good for x < -114ln2 - eps */ in expm1l()
/freebsd/contrib/arm-optimized-routines/pl/math/
H A Dv_coshf_2u4.c52 uint32x4_t tiny = vcleq_u32 (iax, d->tiny_bound); in V_NAME_F1() local
55 if (unlikely (v_any_u32 (tiny))) in V_NAME_F1()
56 ax = v_zerofy_f32 (ax, tiny); in V_NAME_F1()
65 if (unlikely (v_any_u32 (tiny))) in V_NAME_F1()
66 return vbslq_f32 (tiny, v_f32 (1), vaddq_f32 (half_t, half_over_t)); in V_NAME_F1()
H A Dv_asinh_3u5.c109 uint64x2_t tiny = vcltq_f64 (ax, d->tiny_bound); in V_NAME_D1() local
110 special = vorrq_u64 (special, tiny); in V_NAME_D1()
141 ax = v_zerofy_f64 (ax, vorrq_u64 (tiny, gt1)); in V_NAME_D1()
149 option_2 = vbslq_f64 (tiny, x, option_2); in V_NAME_D1()
/freebsd/lib/msun/tests/
H A Dinvtrig_test.c299 ATF_TC_WITHOUT_HEAD(tiny);
300 ATF_TC_BODY(tiny, tc) in ATF_TC_BODY() argument
302 float tiny = 0x1.23456p-120f; in ATF_TC_BODY() local
304 testall(asin, tiny, tiny, FE_INEXACT); in ATF_TC_BODY()
305 testall(acos, tiny, pi / 2, FE_INEXACT); in ATF_TC_BODY()
306 testall(atan, tiny, tiny, FE_INEXACT); in ATF_TC_BODY()
308 testall(asin, -tiny, -tiny, FE_INEXACT); in ATF_TC_BODY()
309 testall(acos, -tiny, pi / 2, FE_INEXACT); in ATF_TC_BODY()
310 testall(atan, -tiny, -tiny, FE_INEXACT); in ATF_TC_BODY()
456 ATF_TP_ADD_TC(tp, tiny); in ATF_TP_ADD_TCS()
/freebsd/lib/msun/ld80/
H A Ds_expl.c55 tiny = 0x1p-10000L; variable
90 RETURNF(tiny * tiny); in expl()
186 RETURNF(tiny - 1); /* good for x < -65ln2 - eps */ in expm1l()
H A Ds_erfl.c27 static const volatile long double tiny = 0x1p-10000L; variable
252 if(x>=0) RETURNI(one-tiny); else RETURNI(tiny-one); in erfl()
323 if(x < -7) RETURNI(two-tiny);/* x < -7 */ in erfcl()
331 if(x>0) RETURNI(tiny*tiny); else RETURNI(two-tiny); in erfcl()
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi_oc_tiny.txt1 OpenCores tiny SPI
4 - compatible : should be "opencores,tiny-spi-rtlsvn2".
/freebsd/contrib/arm-optimized-routines/math/
H A Dtgamma128.c283 long double tiny = 0x1p-12288L; in tgamma128() local
284 return tiny * tiny * negadjust; /* underflow, of the right sign */ in tgamma128()
/freebsd/lib/msun/bsdsrc/
H A Db_tgamma.c91 static const volatile double tiny = 1e-300; variable
329 return (sgn * tiny * tiny); in neg_gam()
384 u.a = 1 - tiny; /* raise inexact */ in tgamma()

123