[Midnightbsd-cvs] src [10595] U trunk/lib/msun/man: tag
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Jun 9 11:11:36 EDT 2018
Revision: 10595
http://svnweb.midnightbsd.org/src/?rev=10595
Author: laffer1
Date: 2018-06-09 11:11:35 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
tag
Modified Paths:
--------------
trunk/lib/msun/man/acos.3
trunk/lib/msun/man/acosh.3
trunk/lib/msun/man/asin.3
trunk/lib/msun/man/asinh.3
trunk/lib/msun/man/atan.3
trunk/lib/msun/man/atan2.3
trunk/lib/msun/man/atanh.3
trunk/lib/msun/man/ceil.3
trunk/lib/msun/man/cexp.3
trunk/lib/msun/man/cimag.3
trunk/lib/msun/man/complex.3
trunk/lib/msun/man/copysign.3
trunk/lib/msun/man/cos.3
trunk/lib/msun/man/cosh.3
trunk/lib/msun/man/csqrt.3
trunk/lib/msun/man/erf.3
trunk/lib/msun/man/exp.3
trunk/lib/msun/man/fabs.3
trunk/lib/msun/man/fdim.3
trunk/lib/msun/man/feclearexcept.3
trunk/lib/msun/man/feenableexcept.3
trunk/lib/msun/man/fegetenv.3
trunk/lib/msun/man/fegetround.3
trunk/lib/msun/man/fenv.3
trunk/lib/msun/man/floor.3
trunk/lib/msun/man/fma.3
trunk/lib/msun/man/fmax.3
trunk/lib/msun/man/fmod.3
trunk/lib/msun/man/hypot.3
trunk/lib/msun/man/ieee.3
trunk/lib/msun/man/ieee_test.3
trunk/lib/msun/man/ilogb.3
trunk/lib/msun/man/j0.3
trunk/lib/msun/man/lgamma.3
trunk/lib/msun/man/log.3
trunk/lib/msun/man/lrint.3
trunk/lib/msun/man/lround.3
trunk/lib/msun/man/math.3
trunk/lib/msun/man/nan.3
trunk/lib/msun/man/nextafter.3
trunk/lib/msun/man/remainder.3
trunk/lib/msun/man/rint.3
trunk/lib/msun/man/round.3
trunk/lib/msun/man/scalbn.3
trunk/lib/msun/man/signbit.3
trunk/lib/msun/man/sin.3
trunk/lib/msun/man/sinh.3
trunk/lib/msun/man/sqrt.3
trunk/lib/msun/man/tan.3
trunk/lib/msun/man/tanh.3
Added Paths:
-----------
trunk/lib/msun/man/cacos.3
trunk/lib/msun/man/ccos.3
trunk/lib/msun/man/ccosh.3
Property Changed:
----------------
trunk/lib/msun/man/acos.3
trunk/lib/msun/man/acosh.3
trunk/lib/msun/man/asin.3
trunk/lib/msun/man/asinh.3
trunk/lib/msun/man/atan.3
trunk/lib/msun/man/atan2.3
trunk/lib/msun/man/atanh.3
trunk/lib/msun/man/ceil.3
trunk/lib/msun/man/cexp.3
trunk/lib/msun/man/cimag.3
trunk/lib/msun/man/complex.3
trunk/lib/msun/man/copysign.3
trunk/lib/msun/man/cos.3
trunk/lib/msun/man/cosh.3
trunk/lib/msun/man/csqrt.3
trunk/lib/msun/man/erf.3
trunk/lib/msun/man/exp.3
trunk/lib/msun/man/fabs.3
trunk/lib/msun/man/fdim.3
trunk/lib/msun/man/feclearexcept.3
trunk/lib/msun/man/feenableexcept.3
trunk/lib/msun/man/fegetenv.3
trunk/lib/msun/man/fegetround.3
trunk/lib/msun/man/fenv.3
trunk/lib/msun/man/floor.3
trunk/lib/msun/man/fma.3
trunk/lib/msun/man/fmax.3
trunk/lib/msun/man/fmod.3
trunk/lib/msun/man/hypot.3
trunk/lib/msun/man/ieee.3
trunk/lib/msun/man/ieee_test.3
trunk/lib/msun/man/ilogb.3
trunk/lib/msun/man/j0.3
trunk/lib/msun/man/lgamma.3
trunk/lib/msun/man/log.3
trunk/lib/msun/man/lrint.3
trunk/lib/msun/man/lround.3
trunk/lib/msun/man/math.3
trunk/lib/msun/man/nan.3
trunk/lib/msun/man/nextafter.3
trunk/lib/msun/man/remainder.3
trunk/lib/msun/man/rint.3
trunk/lib/msun/man/round.3
trunk/lib/msun/man/scalbn.3
trunk/lib/msun/man/signbit.3
trunk/lib/msun/man/sin.3
trunk/lib/msun/man/sinh.3
trunk/lib/msun/man/sqrt.3
trunk/lib/msun/man/tan.3
trunk/lib/msun/man/tanh.3
trunk/lib/msun/man/trunc.3
Modified: trunk/lib/msun/man/acos.3
===================================================================
--- trunk/lib/msun/man/acos.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/acos.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/acos.3 181074 2008-07-31 22:41:26Z das $
.\"
.Dd July 31, 2008
.Dt ACOS 3
Property changes on: trunk/lib/msun/man/acos.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/acosh.3
===================================================================
--- trunk/lib/msun/man/acosh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/acosh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,14 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/acosh.3 251599 2013-06-10 06:04:58Z das $
.\"
-.Dd January 14, 2005
+.Dd June 9, 2013
.Dt ACOSH 3
.Os
.Sh NAME
.Nm acosh ,
-.Nm acoshf
+.Nm acoshf ,
+.Nm acoshl
.Nd inverse hyperbolic cosine functions
.Sh LIBRARY
.Lb libm
@@ -43,11 +45,14 @@
.Fn acosh "double x"
.Ft float
.Fn acoshf "float x"
+.Ft long double
+.Fn acoshl "long double x"
.Sh DESCRIPTION
The
-.Fn acosh
-and the
-.Fn acoshf
+.Fn acosh ,
+.Fn acoshf ,
+and
+.Fn acoshl
functions compute the inverse hyperbolic cosine
of the real
argument
@@ -55,11 +60,7 @@
For a discussion of error due to roundoff, see
.Xr math 3 .
.Sh RETURN VALUES
-The
-.Fn acosh
-and the
-.Fn acoshf
-functions
+These functions
return the inverse hyperbolic cosine of
.Ar x .
If the argument is less than 1,
@@ -73,6 +74,13 @@
.Xr math 3
.Sh HISTORY
The
-.Fn acosh
-function appeared in
-.Bx 4.3 .
+.Fn acosh ,
+.Fn acoshf ,
+and
+.Fn acoshl
+functions appeared in
+.Bx 4.3 ,
+.Fx 2.0 ,
+and
+.Fx 10.0 ,
+respectively.
Property changes on: trunk/lib/msun/man/acosh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/asin.3
===================================================================
--- trunk/lib/msun/man/asin.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/asin.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/asin.3 181074 2008-07-31 22:41:26Z das $
.\"
.Dd July 31, 2008
.Dt ASIN 3
Property changes on: trunk/lib/msun/man/asin.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/asinh.3
===================================================================
--- trunk/lib/msun/man/asinh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/asinh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,14 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)asinh.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/asinh.3 251599 2013-06-10 06:04:58Z das $
.\"
-.Dd May 6, 1991
+.Dd June 9, 2013
.Dt ASINH 3
.Os
.Sh NAME
.Nm asinh ,
-.Nm asinhf
+.Nm asinhf ,
+.Nm asinhl
.Nd inverse hyperbolic sine functions
.Sh LIBRARY
.Lb libm
@@ -43,11 +45,14 @@
.Fn asinh "double x"
.Ft float
.Fn asinhf "float x"
+.Ft long double
+.Fn asinhl "long double x"
.Sh DESCRIPTION
The
-.Fn asinh
-and the
-.Fn asinhf
+.Fn asinh ,
+.Fn asinhf ,
+and
+.Fn asinhl
functions compute the inverse hyperbolic sine
of the real
argument
@@ -55,11 +60,7 @@
For a discussion of error due to roundoff, see
.Xr math 3 .
.Sh RETURN VALUES
-The
-.Fn asinh
-and the
-.Fn asinhf
-functions
+These functions
return the inverse hyperbolic sine of
.Ar x .
.Sh SEE ALSO
@@ -69,6 +70,13 @@
.Xr math 3
.Sh HISTORY
The
-.Fn asinh
-function appeared in
-.Bx 4.3 .
+.Fn asinh ,
+.Fn asinhf ,
+and
+.Fn asinhl
+functions appeared in
+.Bx 4.3 ,
+.Fx 2.0 ,
+and
+.Fx 10.0 ,
+respectively.
Property changes on: trunk/lib/msun/man/asinh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/atan.3
===================================================================
--- trunk/lib/msun/man/atan.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/atan.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atan.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/atan.3 181074 2008-07-31 22:41:26Z das $
.\"
.Dd July 31, 2008
.Dt ATAN 3
Property changes on: trunk/lib/msun/man/atan.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/atan2.3
===================================================================
--- trunk/lib/msun/man/atan2.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/atan2.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atan2.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/atan2.3 208935 2010-06-09 07:31:32Z uqs $
.\"
.Dd July 31, 2008
.Dt ATAN2 3
Property changes on: trunk/lib/msun/man/atan2.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/atanh.3
===================================================================
--- trunk/lib/msun/man/atanh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/atanh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,14 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)atanh.3 5.2 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/atanh.3 251599 2013-06-10 06:04:58Z das $
.\"
-.Dd January 14, 2005
+.Dd June 9, 2013
.Dt ATANH 3
.Os
.Sh NAME
.Nm atanh ,
-.Nm atanhf
+.Nm atanhf ,
+.Nm atanhl
.Nd inverse hyperbolic tangent functions
.Sh LIBRARY
.Lb libm
@@ -43,11 +45,14 @@
.Fn atanh "double x"
.Ft float
.Fn atanhf "float x"
+.Ft long double
+.Fn atanhl "long double x"
.Sh DESCRIPTION
The
-.Fn atanh
-and the
-.Fn atanhf
+.Fn atanh ,
+.Fn atanhf ,
+and
+.Fn atanhl
functions compute the inverse hyperbolic tangent
of the real
argument
@@ -55,11 +60,7 @@
For a discussion of error due to roundoff, see
.Xr math 3 .
.Sh RETURN VALUES
-The
-.Fn atanh
-and the
-.Fn atanhf
-functions
+These functions
return the inverse hyperbolic tangent of
.Ar x
if successful.
@@ -76,6 +77,13 @@
.Xr math 3
.Sh HISTORY
The
-.Fn atanh
-function appeared in
-.Bx 4.3 .
+.Fn atanh ,
+.Fn atanhf ,
+and
+.Fn atanhl
+functions appeared in
+.Bx 4.3 ,
+.Fx 2.0 ,
+and
+.Fx 10.0 ,
+respectively.
Property changes on: trunk/lib/msun/man/atanh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: trunk/lib/msun/man/cacos.3
===================================================================
--- trunk/lib/msun/man/cacos.3 (rev 0)
+++ trunk/lib/msun/man/cacos.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -0,0 +1,129 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2013 David Schultz <das at FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/lib/msun/man/cacos.3 251121 2013-05-30 04:49:26Z das $
+.\"
+.Dd May 27, 2013
+.Dt CACOS 3
+.Os
+.Sh NAME
+.Nm cacos ,
+.Nm cacosf ,
+.Nm cacosh ,
+.Nm cacoshf ,
+.Nm casin ,
+.Nm casinf
+.Nm casinh ,
+.Nm casinhf
+.Nm catan ,
+.Nm catanf
+.Nm catanh ,
+.Nm catanhf
+.Nd complex arc trigonometric and hyperbolic functions
+.Sh LIBRARY
+.Lb libm
+.Sh SYNOPSIS
+.In complex.h
+.Ft double complex
+.Fn cacos "double complex z"
+.Ft float complex
+.Fn cacosf "float complex z"
+.Ft double complex
+.Fn cacosh "double complex z"
+.Ft float complex
+.Fn cacoshf "float complex z"
+.Ft double complex
+.Fn casin "double complex z"
+.Ft float complex
+.Fn casinf "float complex z"
+.Ft double complex
+.Fn casinh "double complex z"
+.Ft float complex
+.Fn casinhf "float complex z"
+.Ft double complex
+.Fn catan "double complex z"
+.Ft float complex
+.Fn catanf "float complex z"
+.Ft double complex
+.Fn catanh "double complex z"
+.Ft float complex
+.Fn catanhf "float complex z"
+.Sh DESCRIPTION
+The
+.Fn cacos ,
+.Fn casin ,
+and
+.Fn catan
+functions compute the principal value of the inverse cosine, sine,
+and tangent of the complex number
+.Fa z ,
+respectively.
+The
+.Fn cacosh ,
+.Fn casinh ,
+and
+.Fn catanh
+functions compute the principal value of the inverse hyperbolic
+cosine, sine, and tangent.
+The
+.Fn cacosf ,
+.Fn casinf ,
+.Fn catanf
+.Fn cacoshf ,
+.Fn casinhf ,
+and
+.Fn catanhf
+functions perform the same operations in
+.Fa float
+precision.
+.Pp
+.ie '\*[.T]'utf8'
+. ds Un \[cu]
+.el
+. ds Un U
+.
+There is no universal convention for defining the principal values of
+these functions. The following table gives the branch cuts, and the
+corresponding ranges for the return values, adopted by the C language.
+.Bl -column ".Sy Function" ".Sy (-\*(If*I, -I) \*(Un (I, \*(If*I)" ".Sy [-\*(Pi/2*I, \*(Pi/2*I]"
+.It Sy Function Ta Sy Branch Cut(s) Ta Sy Range
+.It cacos Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [0, \*(Pi]
+.It casin Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [-\*(Pi/2, \*(Pi/2]
+.It catan Ta (-\*(If*I, -i) \*(Un (I, \*(If*I) Ta [-\*(Pi/2, \*(Pi/2]
+.It cacosh Ta (-\*(If, 1) Ta [-\*(Pi*I, \*(Pi*I]
+.It casinh Ta (-\*(If*I, -i) \*(Un (I, \*(If*I) Ta [-\*(Pi/2*I, \*(Pi/2*I]
+.It catanh Ta (-\*(If, -1) \*(Un (1, \*(If) Ta [-\*(Pi/2*I, \*(Pi/2*I]
+.El
+.Sh SEE ALSO
+.Xr ccos 3 ,
+.Xr ccosh 3 ,
+.Xr complex 3 ,
+.Xr cos 3 ,
+.Xr math 3 ,
+.Xr sin 3 ,
+.Xr tan 3
+.Sh STANDARDS
+These functions conform to
+.St -isoC-99 .
Property changes on: trunk/lib/msun/man/cacos.3
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lib/msun/man/ccos.3
===================================================================
--- trunk/lib/msun/man/ccos.3 (rev 0)
+++ trunk/lib/msun/man/ccos.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -0,0 +1,82 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2011 David Schultz <das at FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/lib/msun/man/ccos.3 251121 2013-05-30 04:49:26Z das $
+.\"
+.Dd October 17, 2011
+.Dt CCOS 3
+.Os
+.Sh NAME
+.Nm ccos ,
+.Nm ccosf ,
+.Nm csin ,
+.Nm csinf
+.Nm ctan ,
+.Nm ctanf
+.Nd complex trigonometric functions
+.Sh LIBRARY
+.Lb libm
+.Sh SYNOPSIS
+.In complex.h
+.Ft double complex
+.Fn ccos "double complex z"
+.Ft float complex
+.Fn ccosf "float complex z"
+.Ft double complex
+.Fn csin "double complex z"
+.Ft float complex
+.Fn csinf "float complex z"
+.Ft double complex
+.Fn ctan "double complex z"
+.Ft float complex
+.Fn ctanf "float complex z"
+.Sh DESCRIPTION
+The
+.Fn ccos ,
+.Fn csin ,
+and
+.Fn ctan
+functions compute the cosine, sine, and tangent of the complex number
+.Fa z ,
+respectively.
+The
+.Fn ccosf ,
+.Fn csinf ,
+and
+.Fn ctanf
+functions perform the same operations in
+.Fa float
+precision.
+.Sh SEE ALSO
+.Xr cacos 3 ,
+.Xr ccosh 3 ,
+.Xr complex 3 ,
+.Xr cos 3 ,
+.Xr math 3 ,
+.Xr sin 3 ,
+.Xr tan 3
+.Sh STANDARDS
+These functions conform to
+.St -isoC-99 .
Property changes on: trunk/lib/msun/man/ccos.3
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lib/msun/man/ccosh.3
===================================================================
--- trunk/lib/msun/man/ccosh.3 (rev 0)
+++ trunk/lib/msun/man/ccosh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -0,0 +1,82 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2011 David Schultz <das at FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/lib/msun/man/ccosh.3 251121 2013-05-30 04:49:26Z das $
+.\"
+.Dd October 17, 2011
+.Dt CCOSH 3
+.Os
+.Sh NAME
+.Nm ccosh ,
+.Nm ccoshf ,
+.Nm csinh ,
+.Nm csinhf
+.Nm ctanh ,
+.Nm ctanhf
+.Nd complex hyperbolic functions
+.Sh LIBRARY
+.Lb libm
+.Sh SYNOPSIS
+.In complex.h
+.Ft double complex
+.Fn ccosh "double complex z"
+.Ft float complex
+.Fn ccoshf "float complex z"
+.Ft double complex
+.Fn csinh "double complex z"
+.Ft float complex
+.Fn csinhf "float complex z"
+.Ft double complex
+.Fn ctanh "double complex z"
+.Ft float complex
+.Fn ctanhf "float complex z"
+.Sh DESCRIPTION
+The
+.Fn ccosh ,
+.Fn csinh ,
+and
+.Fn ctanh
+functions compute the hyperbolic cosine, sine, and tangent of the complex number
+.Fa z ,
+respectively.
+The
+.Fn ccoshf ,
+.Fn csinhf ,
+and
+.Fn ctanhf
+functions perform the same operations in
+.Fa float
+precision.
+.Sh SEE ALSO
+.Xr cacosh 3 ,
+.Xr ccos 3 ,
+.Xr complex 3 ,
+.Xr cosh 3 ,
+.Xr math 3 ,
+.Xr sinh 3 ,
+.Xr tanh 3
+.Sh STANDARDS
+These functions conform to
+.St -isoC-99 .
Property changes on: trunk/lib/msun/man/ccosh.3
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/lib/msun/man/ceil.3
===================================================================
--- trunk/lib/msun/man/ceil.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/ceil.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ceil.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/ceil.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd January 13, 2005
.Dt CEIL 3
Property changes on: trunk/lib/msun/man/ceil.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/cexp.3
===================================================================
--- trunk/lib/msun/man/cexp.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/cexp.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2011 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/cexp.3 240368 2012-09-11 17:40:06Z joel $
.\"
.Dd March 6, 2011
.Dt CEXP 3
@@ -59,17 +60,17 @@
.Bd -ragged -offset indent
.Fn cexp "x + I*y"
=
-.Ns ( Sy e Ns ** Ns
+.Po Sy e Ns ** Ns
.Fa x *
-.Em cos Ns ( Ns
-.Fa y Ns )) + ( Ns
+.Em cos Ns Po Ns
+.Fa y Ns Pc Pc + Po Ns
.Sy I
*
.Sy e Ns ** Ns
.Fa x
*
-.Em sin Ns ( Ns
-.Fa y Ns ))
+.Em sin Ns Po Ns
+.Fa y Ns Pc Pc
.Ed
.Pp
Generally speaking, infinities, zeroes and \*(Nas are handled as would
Property changes on: trunk/lib/msun/man/cexp.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/cimag.3
===================================================================
--- trunk/lib/msun/man/cimag.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/cimag.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 Stefan Farfeleder
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/cimag.3 205076 2010-03-12 10:01:06Z uqs $
.\"
.Dd August 7, 2008
.Dt CIMAG 3
Property changes on: trunk/lib/msun/man/cimag.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/complex.3
===================================================================
--- trunk/lib/msun/man/complex.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/complex.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2011 Murray Stokely <murray at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,9 +23,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/complex.3 251121 2013-05-30 04:49:26Z das $
.\"
-.Dd March 7, 2011
+.Dd October 17, 2011
.Dt COMPLEX 3
.Os
.Sh NAME
@@ -86,6 +87,22 @@
cproj compute projection onto Riemann sphere
creal compute the real part
.El
+.\" Section 7.3.5-6 of ISO C99 standard
+.Ss Trigonometric and Hyperbolic Functions
+.Cl
+cacos arc cosine
+cacosh arc hyperbolic cosine
+casin arc sine
+casinh arc hyperbolic sine
+catan arc tangent
+catanh arc hyperbolic tangent
+ccos cosine
+ccosh hyperbolic cosine
+csin sine
+csinh hyperbolic sine
+ctan tangent
+ctanh hyperbolic tangent
+.El
.Sh SEE ALSO
.Xr math 3 ,
.Xr fenv 3 ,
@@ -101,26 +118,8 @@
functions described here conform to
.St -isoC-99 .
.Sh BUGS
-The inverse trigonometric and hyperbolic functions
-.Fn cacos ,
-.Fn cacosh ,
-.Fn casin ,
-.Fn casinh ,
-.Fn catan ,
-.Fn catanh ,
-.Fn ccos ,
-.Fn ccosh ,
-.Fn csin ,
-.Fn csinh ,
-.Fn ctan ,
-and
-.Fn ctanh
-are not implemented.
-.Pp
The logarithmic functions
.Fn clog
-are not implemented.
-.Pp
-The power functions
+and the power functions
.Fn cpow
are not implemented.
Property changes on: trunk/lib/msun/man/complex.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/copysign.3
===================================================================
--- trunk/lib/msun/man/copysign.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/copysign.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/copysign.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd January 26, 2005
.Dt COPYSIGN 3
Property changes on: trunk/lib/msun/man/copysign.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/cos.3
===================================================================
--- trunk/lib/msun/man/cos.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/cos.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/cos.3 226458 2011-10-17 05:41:03Z das $
.\"
.Dd January 24, 2008
.Dt COS 3
@@ -71,6 +72,7 @@
.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
+.Xr ccos 3 ,
.Xr cosh 3 ,
.Xr math 3 ,
.Xr sin 3 ,
Property changes on: trunk/lib/msun/man/cos.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/cosh.3
===================================================================
--- trunk/lib/msun/man/cosh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/cosh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,14 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/cosh.3 271779 2014-09-18 15:10:22Z tijl $
.\"
-.Dd January 14, 2005
+.Dd August 17, 2013
.Dt COSH 3
.Os
.Sh NAME
.Nm cosh ,
-.Nm coshf
+.Nm coshf ,
+.Nm coshl
.Nd hyperbolic cosine functions
.Sh LIBRARY
.Lb libm
@@ -43,11 +45,14 @@
.Fn cosh "double x"
.Ft float
.Fn coshf "float x"
+.Ft long double
+.Fn coshl "long double x"
.Sh DESCRIPTION
The
-.Fn cosh
-and the
-.Fn coshf
+.Fn cosh ,
+.Fn coshf ,
+and
+.Fn coshl
functions compute the hyperbolic cosine of
.Fa x .
.Sh SEE ALSO
@@ -55,6 +60,7 @@
.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
+.Xr ccosh 3 ,
.Xr cos 3 ,
.Xr math 3 ,
.Xr sin 3 ,
Property changes on: trunk/lib/msun/man/cosh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/csqrt.3
===================================================================
--- trunk/lib/msun/man/csqrt.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/csqrt.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2007-2008 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/csqrt.3 233992 2012-04-07 09:05:30Z joel $
.\"
.Dd March 30, 2008
.Dt CSQRT 3
@@ -66,14 +67,14 @@
For infinities and \*(Nas, the following rules apply, with the
earlier rules having precedence:
.Bl -column -offset indent "-\*(If + \*(Na*I" "\*(If \*(Pm \*(If*I " "(for all k)"
-.Em Input Result
+.Em "Input" Ta Em "Result" Ta \&
k + \*(If*I \*(If + \*(If*I (for all k)
--\*(If + \*(Na*I \*(Na \*(Pm \*(If*I
-\*(If + \*(Na*I \*(If + \*(Na*I
-k + \*(Na*I \*(Na + \*(Na*I
-\*(Na + k*I \*(Na + \*(Na*I
--\*(If + k*I +0 + \*(If*I
-\*(If + k*I \*(If + 0*I
+-\*(If + \*(Na*I \*(Na \*(Pm \*(If*I \&
+\*(If + \*(Na*I \*(If + \*(Na*I \&
+k + \*(Na*I \*(Na + \*(Na*I \&
+\*(Na + k*I \*(Na + \*(Na*I \&
+-\*(If + k*I +0 + \*(If*I \&
+\*(If + k*I \*(If + 0*I \&
.El
.Pp
For numbers with negative imaginary parts, the above special cases
Property changes on: trunk/lib/msun/man/csqrt.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/erf.3
===================================================================
--- trunk/lib/msun/man/erf.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/erf.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,16 +27,18 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/erf.3 271779 2014-09-18 15:10:22Z tijl $
.\"
-.Dd April 20, 1991
+.Dd July 13, 2014
.Dt ERF 3
.Os
.Sh NAME
.Nm erf ,
.Nm erff ,
+.Nm erfl ,
.Nm erfc ,
-.Nm erfcf
+.Nm erfcf ,
+.Nm erfcl
.Nd error function operators
.Sh LIBRARY
.Lb libm
@@ -45,18 +48,23 @@
.Fn erf "double x"
.Ft float
.Fn erff "float x"
+.Ft "long double"
+.Fn erfl "long double x"
.Ft double
.Fn erfc "double x"
.Ft float
.Fn erfcf "float x"
+.Ft "long double"
+.Fn erfcl "long double x"
.Sh DESCRIPTION
These functions calculate the error function of
.Fa x .
.Pp
The
-.Fn erf
-and the
-.Fn erff
+.Fn erf ,
+.Fn erff ,
+and
+.Fn erfl
functions calculate the error function of x; where
.Bd -ragged -offset indent
.if n \{\
@@ -69,9 +77,10 @@
.Ed
.Pp
The
-.Fn erfc
-and the
-.Fn erfcf
+.Fn erfc ,
+.Fn erfcf ,
+and
+.Fn erfcl
functions calculate the complementary error function of
.Fa x ;
that is
@@ -79,9 +88,6 @@
subtracts the result of the error function
.Fn erf x
from 1.0.
-This is useful, since for large
-.Fa x
-places disappear.
.Sh SEE ALSO
.Xr math 3
.Sh HISTORY
Property changes on: trunk/lib/msun/man/erf.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/exp.3
===================================================================
--- trunk/lib/msun/man/exp.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/exp.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,22 +27,25 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/exp.3 326830 2017-12-13 18:38:02Z dim $
.\"
-.Dd January 17, 2008
+.Dd December 8, 2017
.Dt EXP 3
.Os
.Sh NAME
.Nm exp ,
.Nm expf ,
-.\" The sorting error is intentional. exp and expf should be adjacent.
+.Nm expl ,
+.\" The sorting error is intentional. exp, expf, and expl should be adjacent.
.Nm exp2 ,
.Nm exp2f ,
.Nm exp2l ,
.Nm expm1 ,
.Nm expm1f ,
+.Nm expm1l ,
.Nm pow ,
-.Nm powf
+.Nm powf ,
+.Nm powl
.Nd exponential and power functions
.Sh LIBRARY
.Lb libm
@@ -51,6 +55,8 @@
.Fn exp "double x"
.Ft float
.Fn expf "float x"
+.Ft long double
+.Fn expl "long double x"
.Ft double
.Fn exp2 "double x"
.Ft float
@@ -61,15 +67,20 @@
.Fn expm1 "double x"
.Ft float
.Fn expm1f "float x"
+.Ft long double
+.Fn expm1l "long double x"
.Ft double
.Fn pow "double x" "double y"
.Ft float
.Fn powf "float x" "float y"
+.Ft long double
+.Fn powl "long double x" "long double y"
.Sh DESCRIPTION
The
-.Fn exp
-and the
-.Fn expf
+.Fn exp ,
+.Fn expf ,
+and
+.Fn expl
functions compute the base
.Ms e
exponential value of the given argument
@@ -84,16 +95,18 @@
.Fa x .
.Pp
The
-.Fn expm1
+.Fn expm1 ,
+.Fn expm1f ,
and the
-.Fn expm1f
+.Fn expm1l
functions compute the value exp(x)\-1 accurately even for tiny argument
.Fa x .
.Pp
The
-.Fn pow
+.Fn pow ,
+.Fn powf ,
and the
-.Fn powf
+.Fn powl
functions compute the value
of
.Ar x
@@ -114,9 +127,10 @@
These functions will return the appropriate computation unless an error
occurs or an argument is out of range.
The functions
-.Fn pow x y
+.Fn pow x y ,
+.Fn powf x y ,
and
-.Fn powf x y
+.Fn powl x y
raise an invalid exception and return an \*(Na if
.Fa x
< 0 and
@@ -167,6 +181,15 @@
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 ,
Property changes on: trunk/lib/msun/man/exp.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fabs.3
===================================================================
--- trunk/lib/msun/man/fabs.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fabs.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -27,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fabs.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd October 25, 2003
.Dt FABS 3
Property changes on: trunk/lib/msun/man/fabs.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fdim.3
===================================================================
--- trunk/lib/msun/man/fdim.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fdim.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fdim.3 211397 2010-08-16 15:18:30Z joel $
.\"
.Dd June 29, 2004
.Dt FDIM 3
Property changes on: trunk/lib/msun/man/fdim.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/feclearexcept.3
===================================================================
--- trunk/lib/msun/man/feclearexcept.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/feclearexcept.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/feclearexcept.3 140225 2005-01-14 09:12:05Z ru $
.\"
.Dd May 8, 2004
.Dt FECLEAREXCEPT 3
Property changes on: trunk/lib/msun/man/feclearexcept.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/feenableexcept.3
===================================================================
--- trunk/lib/msun/man/feenableexcept.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/feenableexcept.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/feenableexcept.3 143709 2005-03-16 19:04:28Z das $
.\"
.Dd March 16, 2005
.Dt FEENABLEEXCEPT 3
Property changes on: trunk/lib/msun/man/feenableexcept.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fegetenv.3
===================================================================
--- trunk/lib/msun/man/fegetenv.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fegetenv.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fegetenv.3 130148 2004-06-06 10:06:26Z das $
.\"
.Dd May 8, 2004
.Dt FEGETENV 3
Property changes on: trunk/lib/msun/man/fegetenv.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fegetround.3
===================================================================
--- trunk/lib/msun/man/fegetround.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fegetround.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fegetround.3 140225 2005-01-14 09:12:05Z ru $
.\"
.Dd May 8, 2004
.Dt FEGETROUND 3
Property changes on: trunk/lib/msun/man/fegetround.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fenv.3
===================================================================
--- trunk/lib/msun/man/fenv.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fenv.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fenv.3 226618 2011-10-21 14:23:59Z das $
.\"
.Dd March 16, 2005
.Dt FENV 3
@@ -91,24 +92,35 @@
representing the five standard floating-point exceptions.
.Bl -tag -width ".Dv FE_DIVBYZERO"
.It Dv FE_DIVBYZERO
-A divide-by-zero exception occurs when the program attempts to
-divide a finite non-zero number by zero.
+A divide-by-zero exception occurs when the
+.Em exact
+result of a computation is infinite (according to the limit definition).
+For example, dividing a finite non-zero number by zero or computing
+.Fn log 0
+raises a divide-by-zero exception.
.It Dv FE_INEXACT
-An inexact exception is raised whenever there is a loss of precision
+An inexact exception is raised whenever there is a loss of accuracy
due to rounding.
.It Dv FE_INVALID
Invalid operation exceptions occur when a program attempts to
perform calculations for which there is no reasonable representable
answer.
-For instance, subtraction of infinities, division of zero by zero,
-ordered comparison involving \*(Nas, and taking the square root of a
+For instance, subtraction of like-signed infinities, division of zero by zero,
+ordered comparison involving \*(Nas, and taking the real square root of a
negative number are all invalid operations.
.It Dv FE_OVERFLOW
-An overflow exception occurs when the magnitude of the result of a
-computation is too large to fit in the destination type.
+In contrast with divide-by-zero,
+an overflow exception occurs when an infinity is produced because
+the magnitude of the exact result is
+.Em finite
+but too large to fit in the destination type.
+For example, computing
+.Li DBL_MAX * 2
+raises an overflow exception.
.It Dv FE_UNDERFLOW
-Underflow occurs when the result of a computation is too close to zero
-to be represented as a non-zero value in the destination type.
+Underflow occurs when the result of a computation loses precision
+because it is too close to zero.
+The result is a subnormal number or zero.
.El
.Pp
Additionally, the
@@ -183,9 +195,9 @@
.Dv SIGFPE
signals will be generated as a result.
Non-stop mode is the default, but it may be altered by
-non-standard mechanisms.
-.\" XXX Mention fe[gs]etmask() here after the interface is finalized
-.\" XXX and ready to be officially documented.
+.Fn feenableexcept
+and
+.Fn fedisableexcept .
The
.Fn feupdateenv
function restores a saved environment similarly to
Property changes on: trunk/lib/msun/man/fenv.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/floor.3
===================================================================
--- trunk/lib/msun/man/floor.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/floor.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)floor.3 6.5 (Berkeley) 4/19/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/floor.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd January 13, 2005
.Dt FLOOR 3
Property changes on: trunk/lib/msun/man/floor.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fma.3
===================================================================
--- trunk/lib/msun/man/fma.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fma.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2005 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fma.3 152755 2005-11-24 09:25:10Z joel $
.\"
.Dd January 22, 2005
.Dt FMA 3
Property changes on: trunk/lib/msun/man/fma.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fmax.3
===================================================================
--- trunk/lib/msun/man/fmax.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fmax.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2004 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fmax.3 140225 2005-01-14 09:12:05Z ru $
.\"
.Dd June 29, 2004
.Dt FMAX 3
Property changes on: trunk/lib/msun/man/fmax.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/fmod.3
===================================================================
--- trunk/lib/msun/man/fmod.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/fmod.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)fmod.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/fmod.3 179882 2008-06-19 22:39:53Z das $
.\"
.Dd June 19, 2008
.Dt FMOD 3
Property changes on: trunk/lib/msun/man/fmod.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/hypot.3
===================================================================
--- trunk/lib/msun/man/hypot.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/hypot.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)hypot.3 6.7 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/hypot.3 208028 2010-05-13 12:08:11Z uqs $
.\"
.Dd March 30, 2008
.Dt HYPOT 3
Property changes on: trunk/lib/msun/man/hypot.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/ieee.3
===================================================================
--- trunk/lib/msun/man/ieee.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/ieee.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/ieee.3 241545 2012-10-14 14:45:54Z joel $
.\"
.Dd January 26, 2005
.Dt IEEE 3
@@ -156,60 +157,61 @@
.Pp
Precision: 24 significant bits,
roughly like 7 significant decimals.
-.Bd -ragged -offset indent -compact
+.Pp
If x and x' are consecutive positive single-precision
numbers (they differ by 1
.Em ulp ) ,
then
-.Bd -ragged -compact
+.Bl -column "XXX" -compact
5.9e\-08 < 0.5**24 < (x'\-x)/x \(<= 0.5**23 < 1.2e\-07.
-.Ed
-.Ed
+.El
.Pp
.Bl -column "XXX" -compact
Range: Overflow threshold = 2.0**128 = 3.4e38
Underflow threshold = 0.5**126 = 1.2e\-38
.El
-.Bd -ragged -offset indent -compact
+.Pp
Underflowed results round to the nearest
-integer multiple of 0.5**149 = 1.4e\-45.
+integer multiple of
+.Bl -column "XXX" -compact
+0.5**149 = 1.4e\-45.
+.El
.Ed
-.Ed
.Pp
Double-precision:
.Bd -ragged -offset indent -compact
Type name:
.Vt double
-.Bd -ragged -offset indent -compact
-On some architectures,
+.Po On some architectures,
.Vt long double
is the same as
-.Vt double .
-.Ed
+.Vt double
+.Pc
.Pp
Wordsize: 64 bits.
.Pp
Precision: 53 significant bits,
roughly like 16 significant decimals.
-.Bd -ragged -offset indent -compact
+.Pp
If x and x' are consecutive positive double-precision
numbers (they differ by 1
.Em ulp ) ,
then
-.Bd -ragged -compact
+.Bl -column "XXX" -compact
1.1e\-16 < 0.5**53 < (x'\-x)/x \(<= 0.5**52 < 2.3e\-16.
-.Ed
-.Ed
+.El
.Pp
.Bl -column "XXX" -compact
Range: Overflow threshold = 2.0**1024 = 1.8e308
Underflow threshold = 0.5**1022 = 2.2e\-308
.El
-.Bd -ragged -offset indent -compact
+.Pp
Underflowed results round to the nearest
-integer multiple of 0.5**1074 = 4.9e\-324.
+integer multiple of
+.Bl -column "XXX" -compact
+0.5**1074 = 4.9e\-324.
+.El
.Ed
-.Ed
.Pp
Extended-precision:
.Bd -ragged -offset indent -compact
@@ -221,25 +223,26 @@
.Pp
Precision: 64 significant bits,
roughly like 19 significant decimals.
-.Bd -ragged -offset indent -compact
+.Pp
If x and x' are consecutive positive extended-precision
numbers (they differ by 1
.Em ulp ) ,
then
-.Bd -ragged -compact
+.Bl -column "XXX" -compact
1.0e\-19 < 0.5**63 < (x'\-x)/x \(<= 0.5**62 < 2.2e\-19.
-.Ed
-.Ed
+.El
.Pp
.Bl -column "XXX" -compact
Range: Overflow threshold = 2.0**16384 = 1.2e4932
Underflow threshold = 0.5**16382 = 3.4e\-4932
.El
-.Bd -ragged -offset indent -compact
+.Pp
Underflowed results round to the nearest
-integer multiple of 0.5**16445 = 5.7e\-4953.
+integer multiple of
+.Bl -column "XXX" -compact
+0.5**16445 = 5.7e\-4953.
+.El
.Ed
-.Ed
.Pp
Quad-extended-precision:
.Bd -ragged -offset indent -compact
@@ -251,27 +254,27 @@
.Pp
Precision: 113 significant bits,
roughly like 34 significant decimals.
-.Bd -ragged -offset indent -compact
+.Pp
If x and x' are consecutive positive quad-extended-precision
numbers (they differ by 1
.Em ulp ) ,
then
-.Bd -ragged -compact
+.Bl -column "XXX" -compact
9.6e\-35 < 0.5**113 < (x'\-x)/x \(<= 0.5**112 < 2.0e\-34.
-.Ed
-.Ed
+.El
.Pp
.Bl -column "XXX" -compact
Range: Overflow threshold = 2.0**16384 = 1.2e4932
Underflow threshold = 0.5**16382 = 3.4e\-4932
.El
-.Bd -ragged -offset indent -compact
+.Pp
Underflowed results round to the nearest
-integer multiple of 0.5**16494 = 6.5e\-4966.
+integer multiple of
+.Bl -column "XXX" -compact
+0.5**16494 = 6.5e\-4966.
+.El
.Ed
-.Ed
.Ss Additional Information Regarding Exceptions
-.Pp
For each kind of floating-point exception, IEEE 754
provides a Flag that is raised each time its exception
is signaled, and stays raised until the program resets
Property changes on: trunk/lib/msun/man/ieee.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/ieee_test.3
===================================================================
--- trunk/lib/msun/man/ieee_test.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/ieee_test.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/ieee_test.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd November 6, 2005
.Dt IEEE_TEST 3
Property changes on: trunk/lib/msun/man/ieee_test.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/ilogb.3
===================================================================
--- trunk/lib/msun/man/ilogb.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/ilogb.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/ilogb.3 174698 2007-12-17 03:53:38Z das $
.\"
.Dd December 16, 2007
.Dt ILOGB 3
Property changes on: trunk/lib/msun/man/ilogb.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/j0.3
===================================================================
--- trunk/lib/msun/man/j0.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/j0.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,9 +27,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)j0.3 6.7 (Berkeley) 4/19/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/j0.3 284810 2015-06-25 13:01:10Z tijl $
.\"
-.Dd February 18, 2008
+.Dd March 10, 2015
.Dt J0 3
.Os
.Sh NAME
@@ -77,24 +78,17 @@
The functions
.Fn j0 ,
.Fn j0f ,
-.Fn j1
+.Fn j1 ,
and
.Fn j1f
-compute the
-.Em Bessel function of the first kind of the order
-0 and the
-.Em order
-1, respectively,
-for the
-real value
+compute the Bessel function of the first kind of orders
+0 and 1 for the real value
.Fa x ;
the functions
.Fn jn
and
.Fn jnf
-compute the
-.Em Bessel function of the first kind of the integer
-.Em order
+compute the Bessel function of the first kind of the integer order
.Fa n
for the real value
.Fa x .
@@ -105,13 +99,8 @@
.Fn y1 ,
and
.Fn y1f
-compute the linearly independent
-.Em Bessel function of the second kind of the order
-0 and the
-.Em order
-1, respectively,
-for the
-positive
+compute the linearly independent Bessel function of the second kind
+of orders 0 and 1 for the positive
.Em real
value
.Fa x ;
@@ -119,9 +108,7 @@
.Fn yn
and
.Fn ynf
-compute the
-.Em Bessel function of the second kind for the integer
-.Em order
+compute the Bessel function of the second kind for the integer order
.Fa n
for the positive
.Em real
@@ -141,11 +128,20 @@
.Fn ynf .
If
.Fa x
-is negative, these routines will generate an invalid exception and
-return \*(Na.
+is negative, including -\*(If, these routines will generate an invalid
+exception and return \*(Na.
If
.Fa x
-is 0 or a sufficiently small positive number, these routines
+is \*(Pm0, these routines
+will generate a divide-by-zero exception and return -\*(If.
+If
+.Fa x
+is a sufficiently small positive number, then
+.Fn y1 ,
+.Fn y1f ,
+.Fn yn ,
+and
+.Fn ynf
will generate an overflow exception and return -\*(If.
.Sh SEE ALSO
.Xr math 3
Property changes on: trunk/lib/msun/man/j0.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/lgamma.3
===================================================================
--- trunk/lib/msun/man/lgamma.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/lgamma.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,9 +27,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)lgamma.3 6.6 (Berkeley) 12/3/92
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/lgamma.3 326830 2017-12-13 18:38:02Z dim $
.\"
-.Dd January 14, 2005
+.Dd December 8, 2017
.Dt LGAMMA 3
.Os
.Sh NAME
@@ -36,12 +37,15 @@
.Nm lgamma_r ,
.Nm lgammaf ,
.Nm lgammaf_r ,
+.Nm lgammal ,
+.Nm lgammal_r ,
.Nm gamma ,
.Nm gamma_r ,
.Nm gammaf ,
.Nm gammaf_r ,
.Nm tgamma ,
-.Nm tgammaf
+.Nm tgammaf ,
+.Nm tgammal ,
.Nd log gamma functions, gamma function
.Sh LIBRARY
.Lb libm
@@ -58,6 +62,10 @@
.Fn lgammaf "float x"
.Ft float
.Fn lgammaf_r "float x" "int *signgamp"
+.Ft "long double"
+.Fn lgammal "long double x"
+.Ft "long double"
+.Fn lgammal_r "long double x" "int *signgamp"
.Ft double
.Fn gamma "double x"
.Ft double
@@ -66,14 +74,17 @@
.Fn gammaf "float x"
.Ft float
.Fn gammaf_r "float x" "int *signgamp"
-.Ft double
+.Ft "long double"
.Fn tgamma "double x"
.Ft float
.Fn tgammaf "float x"
+.Ft "long double"
+.Fn tgammal "long double x"
.Sh DESCRIPTION
-.Fn lgamma x
+.Fn lgamma x ,
+.Fn lgammaf x ,
and
-.Fn lgammaf x
+.Fn lgammal x
.if t \{\
return ln\||\(*G(x)| where
.Bd -unfilled -offset indent
@@ -87,19 +98,22 @@
.Fa signgam
returns the sign of \(*G(x).
.Pp
-.Fn lgamma_r x signgamp
+.Fn lgamma_r x signgamp ,
+.Fn lgammaf_r x signgamp ,
and
-.Fn lgammaf_r x signgamp
+.Fn lgammal_r x signgamp
provide the same functionality as
-.Fn lgamma x
+.Fn lgamma x ,
+.Fn lgammaf x ,
and
-.Fn lgammaf x
+.Fn lgammal x ,
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
@@ -115,6 +129,7 @@
and
.Fn lgammaf_r ,
respectively.
+
.Sh IDIOSYNCRASIES
Do not use the expression
.Dq Li signgam\(**exp(lgamma(x))
@@ -139,14 +154,18 @@
will lose up to 10 significant bits.
.Sh RETURN VALUES
.Fn gamma ,
+.Fn gammaf ,
+.Fn gammal ,
.Fn gamma_r ,
-.Fn gammaf ,
.Fn gammaf_r ,
+.Fn gammal_r ,
.Fn lgamma ,
+.Fn lgammaf ,
+.Fn lgammal ,
.Fn lgamma_r ,
-.Fn lgammaf ,
+.Fn lgammaf_r ,
and
-.Fn lgammaf_r
+.Fn lgammal_r
return appropriate values unless an argument is out of range.
Overflow will occur for sufficiently large positive values, and
non-positive integers.
@@ -153,6 +172,15 @@
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
@@ -159,9 +187,11 @@
The
.Fn lgamma ,
.Fn lgammaf ,
+.Fn lgammal ,
.Fn tgamma ,
+.Fn tgammaf ,
and
-.Fn tgammaf
+.Fn tgammal
functions are expected to conform to
.St -isoC-99 .
.Sh HISTORY
Property changes on: trunk/lib/msun/man/lgamma.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/log.3
===================================================================
--- trunk/lib/msun/man/log.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/log.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2008-2010 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,9 +23,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/log.3 251292 2013-06-03 09:14:31Z das $
.\"
-.Dd December 5, 2010
+.Dd June 3, 2013
.Dt LOG 3
.Os
.Sh NAME
@@ -33,10 +34,13 @@
.Nm logl ,
.Nm log10 ,
.Nm log10f ,
+.Nm log10l ,
.Nm log2 ,
.Nm log2f ,
+.Nm log2l ,
.Nm log1p ,
-.Nm log1pf
+.Nm log1pf ,
+.Nm log1pl
.Nd logarithm functions
.Sh LIBRARY
.Lb libm
@@ -46,43 +50,55 @@
.Fn log "double x"
.Ft float
.Fn logf "float x"
+.Ft long double
+.Fn logl "long double x"
.Ft double
.Fn log10 "double x"
.Ft float
.Fn log10f "float x"
+.Ft long double
+.Fn log10l "long double x"
.Ft double
.Fn log2 "double x"
.Ft float
.Fn log2f "float x"
+.Ft long double
+.Fn log2l "long double x"
.Ft double
.Fn log1p "double x"
.Ft float
.Fn log1pf "float x"
+.Ft long double
+.Fn log1pl "long double x"
.Sh DESCRIPTION
The
-.Fn log
+.Fn log ,
+.Fn logf ,
and
-.Fn logf
+.Fn logl
functions compute the natural logarithm of
.Fa x .
.Pp
The
-.Fn log10
+.Fn log10 ,
+.Fn log10f ,
and
-.Fn log10f
+.Fn log10l
functions compute the logarithm base 10 of
.Fa x ,
while
-.Fn log2
+.Fn log2 ,
+.Fn log2f ,
and
-.Fn log2f
+.Fn log2l
compute the logarithm base 2 of
.Fa x .
.Pp
The
-.Fn log1p
+.Fn log1p ,
+.Fn log1pf ,
and
-.Fn log1pf
+.Fn log1pl
functions compute the natural logarithm of
.No "1 + x" .
Computing the natural logarithm as
@@ -107,12 +123,16 @@
The
.Fn log ,
.Fn logf ,
+.Fn logl ,
.Fn log10 ,
.Fn log10f ,
+.Fn log10l ,
.Fn log2 ,
.Fn log2f ,
+.Fn log2l ,
.Fn log1p ,
+.Fn log1pf ,
and
-.Fn log1pf
+.Fn log1pl
functions conform to
.St -isoC-99 .
Property changes on: trunk/lib/msun/man/log.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/lrint.3
===================================================================
--- trunk/lib/msun/man/lrint.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/lrint.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2005 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/lrint.3 175309 2008-01-14 02:12:07Z das $
.\"
.Dd January 13, 2008
.Dt LRINT 3
Property changes on: trunk/lib/msun/man/lrint.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/lround.3
===================================================================
--- trunk/lib/msun/man/lround.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/lround.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2005 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/lround.3 147402 2005-06-15 19:04:04Z ru $
.\"
.Dd April 7, 2005
.Dt LROUND 3
Property changes on: trunk/lib/msun/man/lround.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/math.3
===================================================================
--- trunk/lib/msun/man/math.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/math.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,9 +27,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)math.3 6.10 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/math.3 326746 2017-12-10 13:58:37Z dim $
.\"
-.Dd December 5, 2010
+.Dd December 7, 2017
.Dt MATH 3
.Os
.Sh NAME
@@ -39,7 +40,21 @@
.Sh SYNOPSIS
.In math.h
.Sh DESCRIPTION
-These functions constitute the C math library.
+The math library includes the following components:
+.Bl -column "<complex.h>" "polymorphic (type-generic) versions of functions" -compact -offset indent
+.In math.h Ta basic routines and real-valued functions
+.In complex.h Ta complex number support
+.In tgmath.h Ta polymorphic (type-generic) versions of functions
+.In fenv.h Ta routines to control rounding and exceptions
+.El
+The rest of this manual page describes the functions provided by
+.In math.h .
+Please consult
+.Xr complex 3 ,
+.Xr tgmath 3 ,
+and
+.Xr fenv 3
+for information on the other components.
.Sh "LIST OF FUNCTIONS"
Each of the following
.Vt double
@@ -200,6 +215,7 @@
For most of these functions, however, incorrect rounding occurs
rarely, and then only in very-close-to-halfway cases.
.Sh SEE ALSO
+.Xr complex 3 ,
.Xr fenv 3 ,
.Xr ieee 3 ,
.Xr tgmath 3
@@ -220,12 +236,6 @@
.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
Property changes on: trunk/lib/msun/man/math.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/nan.3
===================================================================
--- trunk/lib/msun/man/nan.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/nan.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2007 David Schultz <das at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/nan.3 174684 2007-12-16 21:19:28Z das $
.\"
.Dd December 16, 2007
.Dt NAN 3
Property changes on: trunk/lib/msun/man/nan.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/nextafter.3
===================================================================
--- trunk/lib/msun/man/nextafter.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/nextafter.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/nextafter.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd May 4, 2005
.Dt NEXTAFTER 3
Property changes on: trunk/lib/msun/man/nextafter.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/remainder.3
===================================================================
--- trunk/lib/msun/man/remainder.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/remainder.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/remainder.3 208734 2010-06-02 10:20:38Z uqs $
.\"
.Dd March 30, 2008
.Dt REMAINDER 3
Property changes on: trunk/lib/msun/man/remainder.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/rint.3
===================================================================
--- trunk/lib/msun/man/rint.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/rint.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rint.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/rint.3 175309 2008-01-14 02:12:07Z das $
.\"
.Dd January 13, 2008
.Dt RINT 3
Property changes on: trunk/lib/msun/man/rint.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/round.3
===================================================================
--- trunk/lib/msun/man/round.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/round.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2003, Steven G. Kargl
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/round.3 147402 2005-06-15 19:04:04Z ru $
.\"
.Dd April 7, 2005
.Dt ROUND 3
Property changes on: trunk/lib/msun/man/round.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/scalbn.3
===================================================================
--- trunk/lib/msun/man/scalbn.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/scalbn.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/scalbn.3 165906 2007-01-09 01:02:06Z imp $
.\"
.Dd March 4, 2005
.Dt SCALBN 3
Property changes on: trunk/lib/msun/man/scalbn.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/signbit.3
===================================================================
--- trunk/lib/msun/man/signbit.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/signbit.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 2003 Mike Barcroft <mike at FreeBSD.org>
.\" All rights reserved.
.\"
@@ -22,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/signbit.3 132382 2004-07-19 08:16:10Z das $
.\"
.Dd July 18, 2004
.Dt SIGNBIT 3
Property changes on: trunk/lib/msun/man/signbit.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/sin.3
===================================================================
--- trunk/lib/msun/man/sin.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/sin.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -27,7 +28,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/sin.3 226458 2011-10-17 05:41:03Z das $
.\"
.Dd January 24, 2008
.Dt SIN 3
@@ -70,6 +71,7 @@
.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
+.Xr csin 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
.Xr math 3 ,
Property changes on: trunk/lib/msun/man/sin.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/sinh.3
===================================================================
--- trunk/lib/msun/man/sinh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/sinh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,13 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sinh.3 6.6 (Berkeley) 4/19/91
-.\" $MidnightBSD$
-.Dd January 14, 2005
+.\" $FreeBSD: stable/10/lib/msun/man/sinh.3 271779 2014-09-18 15:10:22Z tijl $
+.\"
+.Dd August 17, 2013
.Dt SINH 3
.Os
.Sh NAME
.Nm sinh ,
-.Nm sinhf
+.Nm sinhf ,
+.Nm sinhl
.Nd hyperbolic sine function
.Sh LIBRARY
.Lb libm
@@ -42,11 +45,14 @@
.Fn sinh "double x"
.Ft float
.Fn sinhf "float x"
+.Ft long double
+.Fn sinhl "long double x"
.Sh DESCRIPTION
The
-.Fn sinh
-and the
-.Fn sinhf
+.Fn sinh ,
+.Fn sinhf ,
+and
+.Fn sinhl
functions compute the hyperbolic sine of
.Fa x .
.Sh SEE ALSO
@@ -56,6 +62,7 @@
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr csinh 3 ,
.Xr math 3 ,
.Xr sin 3 ,
.Xr tan 3 ,
Property changes on: trunk/lib/msun/man/sinh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/sqrt.3
===================================================================
--- trunk/lib/msun/man/sqrt.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/sqrt.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1985, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sqrt.3 6.4 (Berkeley) 5/6/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/sqrt.3 219571 2011-03-12 16:50:39Z kargl $
.\"
.Dd March 5, 2011
.Dt SQRT 3
Property changes on: trunk/lib/msun/man/sqrt.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/tan.3
===================================================================
--- trunk/lib/msun/man/tan.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/tan.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)tan.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/tan.3 226458 2011-10-17 05:41:03Z das $
.\"
.Dd January 24, 2008
.Dt TAN 3
@@ -73,6 +74,7 @@
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr ctan 3 ,
.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
Property changes on: trunk/lib/msun/man/tan.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/msun/man/tanh.3
===================================================================
--- trunk/lib/msun/man/tanh.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/tanh.3 2018-06-09 15:11:35 UTC (rev 10595)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -26,14 +27,15 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)tanh.3 5.1 (Berkeley) 5/2/91
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/lib/msun/man/tanh.3 271779 2014-09-18 15:10:22Z tijl $
.\"
-.Dd May 2, 1991
+.Dd August 17, 2013
.Dt TANH 3
.Os
.Sh NAME
.Nm tanh ,
-.Nm tanhf
+.Nm tanhf ,
+.Nm tanhl
.Nd hyperbolic tangent functions
.Sh LIBRARY
.Lb libm
@@ -43,11 +45,14 @@
.Fn tanh "double x"
.Ft float
.Fn tanhf "float x"
+.Ft long double
+.Fn tanhl "long double x"
.Sh DESCRIPTION
The
-.Fn tanh
-and the
-.Fn tanhf
+.Fn tanh ,
+.Fn tanhf ,
+and
+.Fn tanhl
functions compute the hyperbolic tangent of
.Fa x .
For a discussion of error due to roundoff, see
@@ -54,9 +59,10 @@
.Xr math 3 .
.Sh RETURN VALUES
The
-.Fn tanh
+.Fn tanh ,
+.Fn tanhf ,
and the
-.Fn tanhf
+.Fn tanhl
functions return the hyperbolic tangent value.
.Sh SEE ALSO
.Xr acos 3 ,
@@ -65,6 +71,7 @@
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr ctanh 3 ,
.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
Property changes on: trunk/lib/msun/man/tanh.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/lib/msun/man/trunc.3
===================================================================
--- trunk/lib/msun/man/trunc.3 2018-06-09 15:10:53 UTC (rev 10594)
+++ trunk/lib/msun/man/trunc.3 2018-06-09 15:11:35 UTC (rev 10595)
Property changes on: trunk/lib/msun/man/trunc.3
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list