|
|
waggy wrote:
> So far as I can find, Gnu[1], Intel, HP[2], and Sun[3] include sincos() in libm
> for C99. It may take a bit more digging to sort out what compiler flags (if
> any) are needed to use it with each of these. I haven't found an answer for
> Apple.
Well, at least with gcc if your program is C, then the compiler option
would be "-std=c99" (I really can't understand why that's not the
default). With C++ you could try "-std=c++0x".
Post a reply to this message
|
|