Commit Graph

4 Commits

Author SHA1 Message Date
ec411999a0 math: define _GNU_SOURCE when implementing non-standard math functions
this makes the prototypes in math.h are visible so they are checked agaist
the function definitions
2013-12-12 03:42:11 +00:00
bfda379358 math: sin cos cleanup
* use unsigned arithmetics
* use unsigned to store arg reduction quotient (so n&3 is understood)
* remove z=0.0 variables, use literal 0
* raise underflow and inexact exceptions properly when x is small
* fix spurious underflow in tanl
2013-05-18 14:40:22 +00:00
03b0f13e90 fix trailing whitespace issues that crept in here and there 2012-12-07 16:16:44 -05:00
nsz
0144b45b71 efficient sincos based on sin and cos 2012-03-15 08:17:28 +01:00