- t2ex
- bsd_source/lib/libc/src_bsd/math/e_rem_pio2f.c - 6.5KB - 176 lines
122: if(ix<=0x43490f80) { /* |x| ~<= 2^7*(pi/2), medium size */
123: t = fabsf(x);
124: n = (int32_t) (t*invpio2+half);
- bsd_source/lib/libc/src_bsd/math/e_remainderf.c - 1.6KB - 60 lines
42: if ((hx-hp)==0) return zero*x;
43: x = fabsf(x);
44: p = fabsf(p);
- More results from e_remainderf.c
- bsd_source/lib/libc/src_bsd/math/e_sinhf.c - 1.6KB - 56 lines
38: if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */
39: t = expm1f(fabsf(x));
40: if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one));
- More results from e_sinhf.c
- bsd_source/lib/libc/src_bsd/math/k_tanf.c - 2.9KB - 90 lines
47: {if((int)x==0) { /* generate inexact */
48: if((ix|(iy+1))==0) return one/fabsf(x);
49: else return (iy==1)? x: -one/x;
- bsd_source/lib/libc/src_bsd/math/s_asinhf.c - 1.4KB - 45 lines
35: if(ix>0x4d800000) { /* |x| > 2**28 */
36: w = logf(fabsf(x))+ln2;
37: } else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
- More results from s_asinhf.c
- bsd_source/lib/libc/src_bsd/math/s_atanf.c - 3.1KB - 95 lines
69: } else {
70: x = fabsf(x);
71: if (ix < 0x3f980000) { /* |x| < 1.1875 */
- bsd_source/lib/libc/src_bsd/math/s_erff.c - 7.6KB - 206 lines
119: if(ix < 0x3fa00000) { /* 0.84375 <= |x| < 1.25 */
120: s = fabsf(x)-one;
121: P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6)))));
- More results from s_erff.c
- bsd_source/lib/libc/src_bsd/math/s_logbf.c - 928B - 31 lines
24: ix &= 0x7fffffff; /* high |x| */
25: if(ix==0) return (float)-1.0/fabsf(x);
26: if(ix>=0x7f800000) return x*x;
- bsd_source/lib/libc/src_bsd/math/s_remquof.c - 3.6KB - 120 lines
104: SET_FLOAT_WORD(x,hx);
105: y = fabsf(y);
106: if (y < 0x1p-125f) {
- bsd_source/lib/libc/src_bsd/math/s_tanhf.c - 1.6KB - 54 lines
42: if (ix>=0x3f800000) { /* |x|>=1 */
43: t = expm1f(two*fabsf(x));
44: z = one - two/(t+two);
- More results from s_tanhf.c