32 #ifdef POK_NEEDS_LIBMATH
39 #include "namespace.h"
40 #include "math_private.h"
43 __weak_alias(atan2f, _atan2f)
47 atan2f(
float y,
float x)
50 return __ieee754_atan2f(y,x);
53 z = __ieee754_atan2f(y,x);
54 if(_LIB_VERSION == _IEEE_||isnanf(x)||isnanf(y))
return z;
55 if(x==(
float)0.0&&y==(
float)0.0) {
57 return (
float)__kernel_standard((
double)y,(
double)x,103);