From owner-svn-src-head@freebsd.org Thu Dec 7 23:21:47 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A180FE94060; Thu, 7 Dec 2017 23:21:47 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail110.syd.optusnet.com.au (mail110.syd.optusnet.com.au [211.29.132.97]) by mx1.freebsd.org (Postfix) with ESMTP id 68E167B5E1; Thu, 7 Dec 2017 23:21:46 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from [192.168.0.102] (c110-21-101-228.carlnfd1.nsw.optusnet.com.au [110.21.101.228]) by mail110.syd.optusnet.com.au (Postfix) with ESMTPS id 1B782107830; Fri, 8 Dec 2017 10:21:39 +1100 (AEDT) Date: Fri, 8 Dec 2017 10:21:38 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Dimitry Andric cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326669 - head/lib/msun/man In-Reply-To: <201712072038.vB7KccuT009226@repo.freebsd.org> Message-ID: <20171208095030.X1048@besplex.bde.org> References: <201712072038.vB7KccuT009226@repo.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=cK6QihWN c=1 sm=1 tr=0 a=PalzARQSbocsUSjMRkwAPg==:117 a=PalzARQSbocsUSjMRkwAPg==:17 a=kj9zAlcOel0A:10 a=IJ1v6GkqQ1CQte_BRr8A:9 a=CjuIK1q_8ugA:10 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 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: Thu, 07 Dec 2017 23:21:47 -0000 On Thu, 7 Dec 2017, Dimitry Andric wrote: > Log: > Remove the sentence in math(3) about some long double math functions not > being available. > > Submitted by: Steve Kargl > MFC after: 3 days > > Modified: > head/lib/msun/man/math.3 > > Modified: head/lib/msun/man/math.3 > ============================================================================== > --- head/lib/msun/man/math.3 Thu Dec 7 20:09:17 2017 (r326668) > +++ head/lib/msun/man/math.3 Thu Dec 7 20:38:37 2017 (r326669) > @@ -28,7 +28,7 @@ > .\" from: @(#)math.3 6.10 (Berkeley) 5/6/91 > .\" $FreeBSD$ > .\" > -.Dd December 5, 2010 > +.Dd December 7, 2017 > .Dt MATH 3 > .Os > .Sh NAME > @@ -235,12 +235,6 @@ and > .Vt long double > values, were written for or imported into subsequent versions of FreeBSD. > .Sh BUGS > -Some of the > -.Vt "long double" > -math functions in > -.St -isoC-99 > -are not available. > -.Pp > Many of the routines to compute transcendental functions produce > inaccurate results in other than the default rounding mode. > .Pp The removal is technically correct, since math(3) doesn't cover complex functions and the "imprecise" functions powl() and tgammal() are available. The unusuability of the imprecise functions is just not documented anywhere (their man page gives a generic description of error bounds that is off by a factor of 2**60 for imprecise functons on ld128). This man page gives stale documentation about the bad implementation of trig functions on i386. I fixed that a year ago in r305384, but didn' notice that it is documented here. The documentation only claims inaccurate argument reduction for huge arguments. Actually, the reduction was inaccurate for all args (about N bits wrong for an error of 2**N ulps for args near 2**N times Pi/2). Bruce