summaryrefslogtreecommitdiff
path: root/lib/libm/complex/ctan.c
AgeCommit message (Collapse)Author
2011-07-03use DBL_MAX and FLT_MAX from <float.h> instead of hard coding some ieeefp ↵mrg
values.
2007-08-20Add C99 complex support, for double and float.drochner
Most complex function implementations are from the "c9x-complex" library, originating from the "cephes" math library, see http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and redistributed with the NetBSD license by permission of the author. Error behaviour and other boundary conditions (branch cuts) need to be looked at. For namespace sanity, I've done the rename/weak alias procedure to most of the exported functions which are also used internally. Didn't do so for sin/cos(f) yet because assembler implementations use them directly, and renaming functions shared between the main libm and the machine specific "overlay" might raise binary compatibility issues.