36 #ifndef __glumymath_h_
37 #define __glumymath_h_
40 #define sqrtf gl_fsqrt
43 #if defined(GLBUILD) || defined(STANDALONE)
44 #define M_SQRT2 1.41421356237309504880
46 #define floorf myfloorf
48 extern "C" double sqrt(
double);
49 extern "C" float ceilf(
float);
50 extern "C" float floorf(
float);
59 # define sqrtf(x) ((float)sqrt(x))
62 # define ceilf(x) ((float)ceil(x))
65 # define floorf(x) ((float)floor(x))