Home
last modified time | relevance | path

Searched refs:hu (Results 1 – 2 of 2) sorted by relevance

/bionic/libm/src/
Ds_log1p.c103 int32_t k,hx,hu,ax; in log1p() local
122 k=0;f=x;hu=1;} /* sqrt(2)/2- <= 1+x < sqrt(2)+ */ in log1p()
128 GET_HIGH_WORD(hu,u); in log1p()
129 k = (hu>>20)-1023; in log1p()
134 GET_HIGH_WORD(hu,u); in log1p()
135 k = (hu>>20)-1023; in log1p()
138 hu &= 0x000fffff; in log1p()
146 if(hu<0x6a09e) { /* u ~< sqrt(2) */ in log1p()
147 SET_HIGH_WORD(u,hu|0x3ff00000); /* normalize u */ in log1p()
150 SET_HIGH_WORD(u,hu|0x3fe00000); /* normalize u/2 */ in log1p()
[all …]
Ds_log1pf.c41 int32_t k,hx,hu,ax; in log1pf() local
60 k=0;f=x;hu=1;} /* sqrt(2)/2- <= 1+x < sqrt(2)+ */ in log1pf()
66 GET_FLOAT_WORD(hu,u); in log1pf()
67 k = (hu>>23)-127; in log1pf()
73 GET_FLOAT_WORD(hu,u); in log1pf()
74 k = (hu>>23)-127; in log1pf()
77 hu &= 0x007fffff; in log1pf()
85 if(hu<0x3504f4) { /* u < sqrt(2) */ in log1pf()
86 SET_FLOAT_WORD(u,hu|0x3f800000);/* normalize u */ in log1pf()
89 SET_FLOAT_WORD(u,hu|0x3f000000); /* normalize u/2 */ in log1pf()
[all …]