Searched refs:LOG2 (Results 1 – 2 of 2) sorted by relevance
26 #define LOG2 0.69314718055994530941 macro309 if(!disneg(x)) return log( x )+LOG2; // 1/x^2 << 1 in WRAPPER_FUNC()310 else return dneg(log(dneg(x))+LOG2); // 1/x^2 << 1 in WRAPPER_FUNC()321 if(e>=32+0x3ff) return log(x)+LOG2; // |x|>=2^32? in WRAPPER_FUNC()338 return dldexp(exp(x*LOG2),e); in WRAPPER_FUNC()
24 #define LOG2 0.69314718055994530941 macro327 float WRAPPER_FUNC(exp2f)(float x) { check_nan_f1(x); return (float)exp((double)x*LOG2); } in WRAPPER_FUNC()