Re: sincos opcode (issue205045)

Larry Gritz <l...@...>

I would put in fmath.h:

#ifndef __GNUC__
... 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?
Larry Gritz

Join to automatically receive all group messages.