9
9
* Developed at SunPro, a Sun Microsystems, Inc. business.
10
10
* Permission to use, copy, modify, and distribute this
13
13
* ====================================================
17
21
#include "math_private.h"
19
24
static const float one = 1.0, tiny=1.0e-30;
31
43
/* take care of Inf and NaN */
33
45
return x*x+x; /* sqrt(NaN)=NaN, sqrt(+inf)=+inf
38
50
if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */