From owner-svn-src-head@FreeBSD.ORG Mon Jun 3 19:29:03 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3B7EF7E; Mon, 3 Jun 2013 19:29:03 +0000 (UTC) (envelope-from kargl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C5C321194; Mon, 3 Jun 2013 19:29:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r53JT3YX035831; Mon, 3 Jun 2013 19:29:03 GMT (envelope-from kargl@svn.freebsd.org) Received: (from kargl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r53JT3Md035830; Mon, 3 Jun 2013 19:29:03 GMT (envelope-from kargl@svn.freebsd.org) Message-Id: <201306031929.r53JT3Md035830@svn.freebsd.org> From: Steve Kargl Date: Mon, 3 Jun 2013 19:29:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251341 - head/lib/msun/ld128 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 19:29:03 -0000 Author: kargl Date: Mon Jun 3 19:29:03 2013 New Revision: 251341 URL: http://svnweb.freebsd.org/changeset/base/251341 Log: Fix two comments that got lost in the disentanglement of the larger diff. Modified: head/lib/msun/ld128/s_expl.c Modified: head/lib/msun/ld128/s_expl.c ============================================================================== --- head/lib/msun/ld128/s_expl.c Mon Jun 3 19:14:29 2013 (r251340) +++ head/lib/msun/ld128/s_expl.c Mon Jun 3 19:29:03 2013 (r251341) @@ -70,7 +70,7 @@ L1 = 5.41521234812457272982212595914567 static const long double /* - * Domain [-0.002708, 0.002708], range ~[-2.4011e-38, 2.4244e-38]: + * Domain [-0.002708, 0.002708], range ~[-2.4021e-38, 2.4234e-38]: * |exp(x) - p(x)| < 2**-124.9 * (0.002708 is ln2/(2*INTERVALS) rounded up a little). */ @@ -87,6 +87,11 @@ A9 = 2.7557324277411234e-6, A10 = 2.7557333722375072e-7; static const struct { + /* + * hi must be rounded to at most 106 bits so that multiplication + * by r1 in expm1l() is exact, but it is rounded to 88 bits due to + * historical accidents. + */ long double hi; long double lo; } tbl[INTERVALS] = {