1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/lib/msun/ld128
Ed Schouten 2cec876a59 Rename cpack*() to CMPLX*().
The C11 standard introduced a set of macros (CMPLX, CMPLXF, CMPLXL) that
can be used to construct complex numbers from a pair of real and
imaginary numbers. Unfortunately, they require some compiler support,
which is why we only define them for Clang and GCC>=4.7.

The cpack() function in libm performs the same task as CMPLX(), but
cannot be used to generate compile-time constants. This means that all
invocations of cpack() can safely be replaced by C11's CMPLX(). To keep
the code building with GCC 4.2, provide copies of CMPLX() that can at
least be used to generate run-time complex numbers.

This makes it easier to build some of the functions outside of libm.
2014-12-16 09:21:56 +00:00
..
e_lgammal_r.c The value small=2**-(p+3), where p is the precision, can be determine from 2014-10-09 22:39:52 +00:00
e_rem_pio2l.h Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
invtrig.c Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
invtrig.h Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
k_cosl.c Add kernel functions for 128-bit long doubles. These could be improved 2008-02-17 07:32:31 +00:00
k_expl.h Rename cpack*() to CMPLX*(). 2014-12-16 09:21:56 +00:00
k_sinl.c Add kernel functions for 128-bit long doubles. These could be improved 2008-02-17 07:32:31 +00:00
k_tanl.c Add kernel functions for 128-bit long doubles. These could be improved 2008-02-17 07:32:31 +00:00
s_erfl.c * Makefile: 2014-07-13 17:05:03 +00:00
s_exp2l.c Fix some regressions caused by the switch from gcc to clang. The fixes 2013-05-27 08:50:10 +00:00
s_expl.c In lib/msun/ld128/s_expl.c, remove '/*' within block comment, to avoid a 2014-02-21 21:54:36 +00:00
s_logl.c Add logl, log2l, log10l, and log1pl. 2013-06-03 09:14:31 +00:00
s_nanl.c 1 << 47 needs to be written 1ULL << 47. 2008-03-02 20:16:55 +00:00