*** ./Imath/ImathMath.h.ORIG Fri Sep 28 11:54:09 2012 --- ./Imath/ImathMath.h Fri Sep 28 11:54:38 2012 *************** *** 123,152 **** template <> struct Math { ! static float acos (float x) {return ::acosf (x);} ! static float asin (float x) {return ::asinf (x);} ! static float atan (float x) {return ::atanf (x);} ! static float atan2 (float x, float y) {return ::atan2f (x, y);} ! static float cos (float x) {return ::cosf (x);} ! static float sin (float x) {return ::sinf (x);} ! static float tan (float x) {return ::tanf (x);} ! static float cosh (float x) {return ::coshf (x);} ! static float sinh (float x) {return ::sinhf (x);} ! static float tanh (float x) {return ::tanhf (x);} ! static float exp (float x) {return ::expf (x);} ! static float log (float x) {return ::logf (x);} ! static float log10 (float x) {return ::log10f (x);} ! static float modf (float x, float *y) {return ::modff (x, y);} ! static float pow (float x, float y) {return ::powf (x, y);} ! static float sqrt (float x) {return ::sqrtf (x);} ! static float ceil (float x) {return ::ceilf (x);} ! static float fabs (float x) {return ::fabsf (x);} ! static float floor (float x) {return ::floorf (x);} ! static float fmod (float x, float y) {return ::fmodf (x, y);} #if !defined(_MSC_VER) ! static float hypot (float x, float y) {return ::hypotf (x, y);} #else ! static float hypot (float x, float y) {return ::sqrtf(x*x + y*y);} #endif }; --- 123,152 ---- template <> struct Math { ! static float acos (float x) {return ::acos (x);} ! static float asin (float x) {return ::asin (x);} ! static float atan (float x) {return ::atan (x);} ! static float atan2 (float x, float y) {return ::atan2 (x, y);} ! static float cos (float x) {return ::cos (x);} ! static float sin (float x) {return ::sin (x);} ! static float tan (float x) {return ::tan (x);} ! static float cosh (float x) {return ::cosh (x);} ! static float sinh (float x) {return ::sinh (x);} ! static float tanh (float x) {return ::tanh (x);} ! static float exp (float x) {return ::exp (x);} ! static float log (float x) {return ::log (x);} ! static float log10 (float x) {return ::log10 (x);} ! static float modf (float x, float *y) {return ::modf (x, y);} ! static float pow (float x, float y) {return ::pow (x, y);} ! static float sqrt (float x) {return ::sqrt (x);} ! static float ceil (float x) {return ::ceil (x);} ! static float fabs (float x) {return ::fabs (x);} ! static float floor (float x) {return ::floor (x);} ! static float fmod (float x, float y) {return ::fmod (x, y);} #if !defined(_MSC_VER) ! static float hypot (float x, float y) {return ::hypot (x, y);} #else ! static float hypot (float x, float y) {return ::sqrt(x*x + y*y);} #endif };