path: root/src/math/sincos.c
AgeCommit message (Collapse)AuthorLines
2013-12-12math: define _GNU_SOURCE when implementing non-standard math functionsSzabolcs Nagy-0/+1
this makes the prototypes in math.h are visible so they are checked agaist the function definitions
2013-05-18math: sin cos cleanupSzabolcs Nagy-6/+6
* 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
2012-03-15efficient sincos based on sin and cosnsz-0/+68