Name: Anonymous 2010-11-18 17:28
is math.h functions not recommended when wanting speed? I remember seeing one of you guys commenting on someone using pow awhile ago, so what's the secret here?
#include <math.h>
double z(double x)
{
return sin(x);
}
__Z1zd:
pushl %ebp
movl %esp, %ebp
popl %ebp
jmp _sin
__Z1zd:
pushl %ebp
movl %esp, %ebp
fldl 8(%ebp)
popl %ebp
fsin
ret