1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/lib/msun
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
..
amd64 Merge the 386 and amd64 versions of the fenv.h, to make cc -m32 2013-04-21 13:31:55 +00:00
arm From https://sourceware.org/ml/newlib/2014/msg00113.html 2014-08-14 04:20:13 +00:00
bsdsrc
i387 Merge the 386 and amd64 versions of the fenv.h, to make cc -m32 2013-04-21 13:31:55 +00:00
ld80 Rename cpack*() to CMPLX*(). 2014-12-16 09:21:56 +00:00
ld128 Rename cpack*() to CMPLX*(). 2014-12-16 09:21:56 +00:00
man * Makefile: 2014-09-15 23:21:57 +00:00
mips
powerpc
sparc64 Remove ia64. 2014-07-07 00:27:09 +00:00
src Rename cpack*() to CMPLX*(). 2014-12-16 09:21:56 +00:00
tests Convert libraries to use LIBADD 2014-11-25 11:07:26 +00:00
x86 Merge the 386 and amd64 versions of the fenv.h, to make cc -m32 2013-04-21 13:31:55 +00:00
Makefile Add reachover Makefiles for contrib/netbsd-tests/lib/librt 2014-11-17 09:19:09 +00:00
Makefile.amd64 Add reachover Makefiles for contrib/netbsd-tests/lib/librt 2014-11-17 09:19:09 +00:00
Makefile.i386 Add reachover Makefiles for contrib/netbsd-tests/lib/librt 2014-11-17 09:19:09 +00:00
Symbol.map * Makefile: 2014-09-15 23:21:57 +00:00