   sqrtf not being defined!!!!
  okay i have a problem where i've included math.h but sqrtf is not defined!#include <math.h>#ifndef sqrtf#error "sqrtf has not yet been defined"#endif#include some header here that requires sqrtfso whien i do a build, i get the error hit in visual studio 2005.I suspect this may have something to do with x64 build (_M_AMD64 is defined)?   
  Why are you expecting the symbol to be #defined?  A function is not a preprocessor definition.Σnigma   ;  sqrtf is a function, not a macro. Besides, why doesn't the header that requires sqrtf just include math.h itself?EDIT: You are using C++, right? sqrt is only a macro if you're using plain C.   ;  oh, probably because ive sometimes used #undef <function>.Any way, my problem is i have a directx header file that uses sqrtf, but when i go to compile, says sqrtf doesnt exist"error C3861: 'sqrtf': identifier not found"   ;  all fixed, dont know what the problem was, i made a copy of the directory (project) moved it else where and it works fine[Edited by - supagu on June 11, 2006 8:43:34 AM]