equal
deleted
inserted
replaced
111 __HI(x) = (hx&0x800fffff)|(k<<20); |
111 __HI(x) = (hx&0x800fffff)|(k<<20); |
112 return x*twom54; |
112 return x*twom54; |
113 } |
113 } |
114 |
114 |
115 /* __ieee754_log(x) |
115 /* __ieee754_log(x) |
116 * Return the logrithm of x |
116 * Return the logarithm of x |
117 * |
117 * |
118 * Method : |
118 * Method : |
119 * 1. Argument Reduction: find k and f such that |
119 * 1. Argument Reduction: find k and f such that |
120 * x = 2^k * (1+f), |
120 * x = 2^k * (1+f), |
121 * where sqrt(2)/2 < 1+f < sqrt(2) . |
121 * where sqrt(2)/2 < 1+f < sqrt(2) . |