summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_conj.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r271651, r271719, r272138, r272457, r272845, r275476, r275518, r275614,tijl2015-06-251-1/+1
| | | | | | | | r275819, r276176, r278154, r278160, r278339, r279127, r279240, r279491, r279493, r279856, r283032, r284423, r284426, r284427, r284428 Merge changes to libm from the past 9 months. This includes improvements to the Bessel functions and adds the C99 function lgammal.
* Use cpack() and the gcc extension __imag__ to implement cimag() anddas2008-08-071-1/+4
| | | | | | | | | | | | conj() instead of using expressions like z * I. The latter is bad for several reasons: 1. It is implemented using arithmetic, which is unnecessary, and can generate floating point exceptions, contrary to the requirements on these functions. 2. gcc implements complex multiplication using a formula that breaks down for infinities, e.g., it gives INFINITY * I == nan + inf I.
* Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They arestefanf2004-05-301-0/+35
needed for cases where GCC's builtin functions cannot be used and for compilers that don't know about them. Approved by: das (mentor)
OpenPOWER on IntegriCloud