Home
last modified time | relevance | path

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

/lk-master/external/platform/pico/rp2_common/pico_double/
A Ddouble_math.c23 #define LOG2 0.69314718055994530941 macro
292 if(!disneg(x)) return log( x )+LOG2; // 1/x^2 << 1 in WRAPPER_FUNC()
293 else return dneg(log(dneg(x))+LOG2); // 1/x^2 << 1 in WRAPPER_FUNC()
304 if(e>=32+0x3ff) return log(x)+LOG2; // |x|>=2^32? in WRAPPER_FUNC()
321 return dldexp(exp(x*LOG2),e); in WRAPPER_FUNC()
/lk-master/external/platform/pico/rp2_common/pico_float/
A Dfloat_math.c21 #define LOG2 0.69314718055994530941 macro
310 float WRAPPER_FUNC(exp2f)(float x) { check_nan_f1(x); return (float)exp((double)x*LOG2); } in WRAPPER_FUNC()

Completed in 5 milliseconds