#
9d8b5fa7 |
| 20-Aug-2007 |
drochner <drochner@NetBSD.org> |
Add C99 complex support, for double and float. Most complex function implementations are from the "c9x-complex" library, originating from the "cephes" math library, see http://www.netlib.org/cephes/,
Add C99 complex support, for double and float. 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.
show more ...
|