when I try to use floor it get linker errors, undefined references, I am including math.h I know because the #ifdef _MATH_H is defined. I greped math.h for floor but couldn't find anything (grep -i "floor" /usr/include/math.h"). Can someone help?
when I try to use floor it get linker errors, undefined references, I am including math.h I know because the #ifdef _MATH_H is defined. I greped math.h for floor but couldn't find anything (grep -i "floor" /usr/include/math.h"). Can someone help?
Last edited by chrismiceli; 08-10-2003 at 12:18 AM.
There is no such thing as floorf. C++ has an overloaded version for float, but C doesn't, AFAIK.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie