Date: Mon, 3 Jun 2013 19:29:03 +0000 (UTC) From: Steve Kargl <kargl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251341 - head/lib/msun/ld128 Message-ID: <201306031929.r53JT3Md035830@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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] = {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306031929.r53JT3Md035830>