Of course, please substitute whatever compiler or version checks *correctly* discern whether sincos is available.
On Feb 8, 2010, at 3:25 PM, Larry Gritz wrote:
I would put in fmath.h:
... define it in terms of sin and cos...
On Feb 8, 2010, at 3:22 PM, <cku...@...> wrote:
On 2010/02/08 23:18:07, larrygritz wrote:--
Dude, use the C++ sincos() function to compute the sines and cosines!You may
as well make the underlying implementation faster in the same way.
Other than that, LGTM.This is a GNU extension, it isn't part of any standard to my knowledge.
Can you think of a cross platform way of detecting it?