From owner-svn-src-head@FreeBSD.ORG Mon Jun 3 20:09:22 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 D0B58D1A; Mon, 3 Jun 2013 20:09:22 +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 C28931320; Mon, 3 Jun 2013 20:09:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r53K9Mfm057207; Mon, 3 Jun 2013 20:09:22 GMT (envelope-from kargl@svn.freebsd.org) Received: (from kargl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r53K9MOp057206; Mon, 3 Jun 2013 20:09:22 GMT (envelope-from kargl@svn.freebsd.org) Message-Id: <201306032009.r53K9MOp057206@svn.freebsd.org> From: Steve Kargl Date: Mon, 3 Jun 2013 20:09:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251345 - 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 20:09:22 -0000 Author: kargl Date: Mon Jun 3 20:09:22 2013 New Revision: 251345 URL: http://svnweb.freebsd.org/changeset/base/251345 Log: Change a comma to a semicolon. Remove a blank line that crept into the declarations. Fix a comment to show a sign on a NaN. 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 20:02:45 2013 (r251344) +++ head/lib/msun/ld128/s_expl.c Mon Jun 3 20:09:22 2013 (r251345) @@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$"); static const long double huge = 0x1p10000L, -twom10000 = 0x1p-10000L, +twom10000 = 0x1p-10000L; /* XXX Prevent gcc from erroneously constant folding this: */ static volatile const long double tiny = 0x1p-10000L; @@ -231,7 +231,6 @@ expl(long double x) union IEEEl2bits u, v; long double q, r, r1, t, twopk, twopkp10000; double dr, fn, r2; - int k, n, n2; uint16_t hx, ix; @@ -243,7 +242,7 @@ expl(long double x) if (ix == BIAS + LDBL_MAX_EXP) { if (hx & 0x8000) /* x is -Inf or -NaN */ return (-1 / x); - return (x + x); /* x is +Inf or NaN */ + return (x + x); /* x is +Inf or +NaN */ } if (x > o_threshold) return (huge * huge);