svn commit: r326830 - in stable: 10/lib/msun/man 11/lib/msun/man

Dimitry Andric dim at FreeBSD.org
Wed Dec 13 18:38:04 UTC 2017


Author: dim
Date: Wed Dec 13 18:38:02 2017
New Revision: 326830
URL: https://svnweb.freebsd.org/changeset/base/326830

Log:
  MFC r326748:
  
  Document the existence and precision of the remaining long double
  functions for which an imprecise stub implementation was added in
  r255294, namely powl(3) and tgammal(3).
  
  Submitted by:	Steve Kargl
  
  MFC r326753:
  
  Correct r326748, indicating that tgammal(3) is mapped to tgamma(3), not
  to itself.
  
  Noticed by:	jilles

Modified:
  stable/10/lib/msun/man/exp.3
  stable/10/lib/msun/man/lgamma.3
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/lib/msun/man/exp.3
  stable/11/lib/msun/man/lgamma.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/lib/msun/man/exp.3
==============================================================================
--- stable/10/lib/msun/man/exp.3	Wed Dec 13 17:11:57 2017	(r326829)
+++ stable/10/lib/msun/man/exp.3	Wed Dec 13 18:38:02 2017	(r326830)
@@ -28,7 +28,7 @@
 .\"     from: @(#)exp.3	6.12 (Berkeley) 7/31/91
 .\" $FreeBSD$
 .\"
-.Dd November 9, 2015
+.Dd December 8, 2017
 .Dt EXP 3
 .Os
 .Sh NAME
@@ -180,6 +180,15 @@ If 0**0 = 1, then
 then \*(Na**0 = 1 too because x**0 = 1 for all finite
 and infinite x, i.e., independently of x.
 .El
+.Sh BUGS
+To conform with newer C/C++ standards, a stub implementation for
+.Nm powl
+was committed to the math library, where
+.Nm powl
+is mapped to
+.Nm pow .
+Thus, the numerical accuracy is at most that of the 53-bit double
+precision implementation.
 .Sh SEE ALSO
 .Xr fenv 3 ,
 .Xr ldexp 3 ,

Modified: stable/10/lib/msun/man/lgamma.3
==============================================================================
--- stable/10/lib/msun/man/lgamma.3	Wed Dec 13 17:11:57 2017	(r326829)
+++ stable/10/lib/msun/man/lgamma.3	Wed Dec 13 18:38:02 2017	(r326830)
@@ -28,7 +28,7 @@
 .\"     from: @(#)lgamma.3	6.6 (Berkeley) 12/3/92
 .\" $FreeBSD$
 .\"
-.Dd September 12, 2014
+.Dd December 8, 2017
 .Dt LGAMMA 3
 .Os
 .Sh NAME
@@ -43,7 +43,8 @@
 .Nm gammaf ,
 .Nm gammaf_r ,
 .Nm tgamma ,
-.Nm tgammaf
+.Nm tgammaf ,
+.Nm tgammal ,
 .Nd log gamma functions, gamma function
 .Sh LIBRARY
 .Lb libm
@@ -76,6 +77,8 @@
 .Fn tgamma "double x"
 .Ft float
 .Fn tgammaf "float x"
+.Ft "long double"
+.Fn tgammal "long double x"
 .Sh DESCRIPTION
 .Fn lgamma x ,
 .Fn lgammaf x ,
@@ -106,9 +109,10 @@ and
 but the caller must provide an integer to store the sign of \(*G(x).
 .Pp
 The
-.Fn tgamma x
+.Fn tgamma x ,
+.Fn tgammaf x ,
 and
-.Fn tgammaf x
+.Fn tgammal x
 functions return \(*G(x), with no effect on
 .Fa signgam .
 .Pp
@@ -167,6 +171,15 @@ non-positive integers.
 For large non-integer negative values,
 .Fn tgamma
 will underflow.
+.Sh BUGS
+To conform with newer C/C++ standards, a stub implementation for
+.Nm tgammal
+was committed to the math library, where
+.Nm tgammal
+is mapped to
+.Nm tgamma .
+Thus, the numerical accuracy is at most that of the 53-bit double
+precision implementation.
 .Sh SEE ALSO
 .Xr math 3
 .Sh STANDARDS
@@ -175,8 +188,9 @@ The
 .Fn lgammaf ,
 .Fn lgammal ,
 .Fn tgamma ,
+.Fn tgammaf ,
 and
-.Fn tgammaf
+.Fn tgammal
 functions are expected to conform to
 .St -isoC-99 .
 .Sh HISTORY


More information about the svn-src-all mailing list