On Tue, Dec 16, 2014 at 09:21:57AM +0000, Ed Schouten wrote: > Author: ed > Date: Tue Dec 16 09:21:56 2014 > New Revision: 275819 > URL: https://svnweb.freebsd.org/changeset/base/275819 > > Log: > 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. >
Upon further inspection with md5, this change affects only a single file. This last paragraph appears to be an excuse for a drive-by commit. troutmask:fvwm:kargl[344] diff -u /tmp/z1 /tmp/z2 --- /tmp/z1 2014-12-16 09:55:43.000000000 -0800 +++ /tmp/z2 2014-12-16 09:56:56.000000000 -0800 @@ -120,7 +120,7 @@ MD5 (s_creall.o) = f6b01801ab3f8f25ff99af82b6d4e9eb MD5 (s_csinh.o) = 76f7f5b02b7819b519128601460fcf73 MD5 (s_csinhf.o) = 96c92bc7a55d07f1f75b81f18dce8a44 -MD5 (s_csqrt.o) = 4977fe45f768c5e9810acce3b8a140aa +MD5 (s_csqrt.o) = 021c7865dd71345c72410197a6b09590 MD5 (s_csqrtf.o) = 13a79f36965a044df8f983f341a3efcc MD5 (s_csqrtl.o) = dbd00142793a2e51dc3df756f3aab42f MD5 (s_ctanh.o) = cb5055264c9bad7352e7406b4d9520f1 -- steve _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"