From owner-svn-src-all@FreeBSD.ORG Tue Dec 16 18:04:43 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2D5A609; Tue, 16 Dec 2014 18:04:43 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C0A91644; Tue, 16 Dec 2014 18:04:43 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id sBGI4gH6078214 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 16 Dec 2014 10:04:42 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id sBGI4gUA078213; Tue, 16 Dec 2014 10:04:42 -0800 (PST) (envelope-from sgk) Date: Tue, 16 Dec 2014 10:04:42 -0800 From: Steve Kargl To: Ed Schouten Subject: Re: svn commit: r275819 - in head/lib/msun: ld128 ld80 src Message-ID: <20141216180442.GA78155@troutmask.apl.washington.edu> References: <201412160921.sBG9LvFY064961@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412160921.sBG9LvFY064961@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 18:04:44 -0000 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