- t2ex
- bsd_source/lib/libc/src_bsd/math/e_atan2.c - 4.5KB - 132 lines
115: GET_HIGH_WORD(zh,z);
116: SET_HIGH_WORD(z,zh ^ 0x80000000);
117: }
- bsd_source/lib/libc/src_bsd/math/e_atanh.c - 1.9KB - 71 lines
54: if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */
55: SET_HIGH_WORD(x,ix);
56: if(ix<0x3fe00000) { /* x < 0.5 */
- bsd_source/lib/libc/src_bsd/math/e_exp.c - 5.9KB - 169 lines
151: GET_HIGH_WORD(hy,y);
152: SET_HIGH_WORD(y,hy+(k<<20)); /* add k to y's exponent */
153: return y;
- More results from e_exp.c
- bsd_source/lib/libc/src_bsd/math/e_hypot.c - 4.1KB - 134 lines
63: if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;}
64: SET_HIGH_WORD(a,ha); /* a <- |a| */
65: SET_HIGH_WORD(b,hb); /* b <- |b| */
- More results from e_hypot.c
- bsd_source/lib/libc/src_bsd/math/e_log.c - 5.0KB - 144 lines
106: i = (hx+0x95f64)&0x100000;
107: SET_HIGH_WORD(x,hx|(i^0x3ff00000)); /* normalize x or x/2 */
108: k += (i>>20);
- bsd_source/lib/libc/src_bsd/math/e_log10.c - 2.9KB - 96 lines
83: y = (double)(k+i);
84: SET_HIGH_WORD(x,hx);
85: z = y*log10_2lo + ivln10*log(x);
- bsd_source/lib/libc/src_bsd/math/e_log2.c - 2.6KB - 88 lines
54: i = (hx+0x95f64)&0x100000;
55: SET_HIGH_WORD(x,hx|(i^0x3ff00000)); /* normalize x or x/2 */
56: k += (i>>20);
- bsd_source/lib/libc/src_bsd/math/e_pow.c - 11.5KB - 311 lines
214: else {k=0;n+=1;ix -= 0x00100000;}
215: SET_HIGH_WORD(ax,ix);
216:
- More results from e_pow.c
- bsd_source/lib/libc/src_bsd/math/e_rem_pio2.c - 5.3KB - 146 lines
134: e0 = (ix>>20)-1046; /* e0 = ilogb(z)-23; */
135: SET_HIGH_WORD(z, ix - ((int32_t)(e0<<20)));
136: for(i=0;i<2;i++) {
- bsd_source/lib/libc/src_bsd/math/e_remainder.c - 2.1KB - 82 lines
70: GET_HIGH_WORD(hx,x);
71: SET_HIGH_WORD(x,hx^sx);
72: return x;