Re: sincos opcode (issue205045)


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

I would put in fmath.h:

#ifndef __GNUC__
... define it in terms of sin and cos...
#endif



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?

http://codereview.appspot.com/205045/show
--
Larry Gritz
l...@...

Join osl-dev@lists.aswf.io to automatically receive all group messages.