diff options
author | 2013-11-03 18:28:27 +0000 | |
---|---|---|
committer | 2013-11-03 18:28:27 +0000 | |
commit | 98f9fff445510b4c045444cdfb35c2323f782ad0 (patch) | |
tree | b596fbe13a35b30e369f982b70dd3b732929ec3b /lib | |
parent | minor formatting improvements, (diff) | |
download | wireguard-openbsd-98f9fff445510b4c045444cdfb35c2323f782ad0.tar.xz wireguard-openbsd-98f9fff445510b4c045444cdfb35c2323f782ad0.zip |
NaN -> \*(Na
{infinity, inf} -> \*(If
OK jmc@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libm/man/acosh.3 | 6 | ||||
-rw-r--r-- | lib/libm/man/asin.3 | 6 | ||||
-rw-r--r-- | lib/libm/man/atanh.3 | 6 | ||||
-rw-r--r-- | lib/libm/man/cosh.3 | 6 | ||||
-rw-r--r-- | lib/libm/man/cproj.3 | 6 | ||||
-rw-r--r-- | lib/libm/man/exp.3 | 10 | ||||
-rw-r--r-- | lib/libm/man/infnan.3 | 6 |
7 files changed, 23 insertions, 23 deletions
diff --git a/lib/libm/man/acosh.3 b/lib/libm/man/acosh.3 index b47bdb7165b..d783bb9eb28 100644 --- a/lib/libm/man/acosh.3 +++ b/lib/libm/man/acosh.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acosh.3,v 1.14 2013/06/05 03:40:26 tedu Exp $ +.\" $OpenBSD: acosh.3,v 1.15 2013/11/03 18:28:27 martynas Exp $ .\" Copyright (c) 1991 Regents of the University of California. .\" All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt ACOSH 3 .Os .Sh NAME @@ -65,7 +65,7 @@ If x is less than one, .Fn acoshf "x" and .Fn acoshl "x" -return NaN and set the global variable +return \*(Na and set the global variable .Va errno to EDOM. .Sh SEE ALSO diff --git a/lib/libm/man/asin.3 b/lib/libm/man/asin.3 index 05110578a09..8d1a2f7cff5 100644 --- a/lib/libm/man/asin.3 +++ b/lib/libm/man/asin.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: asin.3,v 1.14 2013/06/05 03:40:26 tedu Exp $ +.\" $OpenBSD: asin.3,v 1.15 2013/11/03 18:28:27 martynas Exp $ .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt ASIN 3 .Os .Sh NAME @@ -67,7 +67,7 @@ If |x|>1, .Fn asinf "x" and .Fn asinl "x" -return NaN and set the global variable +return \*(Na and set the global variable .Va errno to EDOM. .Sh SEE ALSO diff --git a/lib/libm/man/atanh.3 b/lib/libm/man/atanh.3 index ca32be0d1f1..d07efe2d439 100644 --- a/lib/libm/man/atanh.3 +++ b/lib/libm/man/atanh.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atanh.3,v 1.14 2013/06/05 03:40:26 tedu Exp $ +.\" $OpenBSD: atanh.3,v 1.15 2013/11/03 18:28:27 martynas Exp $ .\" Copyright (c) 1985, 1991 Regents of the University of California. .\" All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" from: @(#)atanh.3 5.2 (Berkeley) 5/6/91 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt ATANH 3 .Os .Sh NAME @@ -65,7 +65,7 @@ If |x|>=1, .Fn atanhf "x" and .Fn atanhl "x" -return +inf, -inf or NaN, and set the global variable +return +\*(If, -\*(If or \*(Na, and set the global variable .Va errno to EDOM. .Sh SEE ALSO diff --git a/lib/libm/man/cosh.3 b/lib/libm/man/cosh.3 index cfa88908319..907f5b341fd 100644 --- a/lib/libm/man/cosh.3 +++ b/lib/libm/man/cosh.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cosh.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: cosh.3,v 1.15 2013/11/03 18:28:27 martynas Exp $ .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt COSH 3 .Os .Sh NAME @@ -63,7 +63,7 @@ If the magnitude of x is too large, .Fn coshf "x" and .Fn coshl "x" -return Inf and set the global variable +return \*(If and set the global variable .Va errno to ERANGE. .Sh SEE ALSO diff --git a/lib/libm/man/cproj.3 b/lib/libm/man/cproj.3 index ab9855197c6..a61744d1b78 100644 --- a/lib/libm/man/cproj.3 +++ b/lib/libm/man/cproj.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cproj.3,v 1.3 2013/06/05 03:40:26 tedu Exp $ +.\" $OpenBSD: cproj.3,v 1.4 2013/11/03 18:28:27 martynas Exp $ .\" .\" Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt CPROJ 3 .Os .Sh NAME @@ -50,7 +50,7 @@ functions return for all finite complex numbers. If .Fa z -has an infinite part (even if the other part is NaN), +has an infinite part (even if the other part is \*(Na), they return the equivalent of: .Bd -literal -offset indent INFINITY + I * copysign(0.0, cimag(z)) diff --git a/lib/libm/man/exp.3 b/lib/libm/man/exp.3 index 92a9c155682..a9054f648f5 100644 --- a/lib/libm/man/exp.3 +++ b/lib/libm/man/exp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: exp.3,v 1.27 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: exp.3,v 1.28 2013/11/03 18:28:27 martynas Exp $ .\" .\" Copyright (c) 1985, 1991 Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91 .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt EXP 3 .Os .Sh NAME @@ -336,13 +336,13 @@ The function .Fn pow x 0 returns x**0 = 1 for all x including x = 0, .if n \ -Infinity +\*(If .if t \ \(if (not found on a .Tn VAX ) , and -.Em NaN +.Em \*(Na (the reserved operand on a .Tn VAX ) . @@ -382,7 +382,7 @@ x(0) = y(0) = 0, then x(z)**y(z) \(-> 1 as z \(-> 0. .It If 0**0 = 1, then .if n \ -infinity**0 = 1/0**0 = 1 too; and +\*(If**0 = 1/0**0 = 1 too; and .if t \ \(if**0 = 1/0**0 = 1 too; and then \*(Na**0 = 1 too because x**0 = 1 for all finite diff --git a/lib/libm/man/infnan.3 b/lib/libm/man/infnan.3 index 22776973f15..600d22f3587 100644 --- a/lib/libm/man/infnan.3 +++ b/lib/libm/man/infnan.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: infnan.3,v 1.15 2013/06/05 03:40:26 tedu Exp $ +.\" $OpenBSD: infnan.3,v 1.16 2013/11/03 18:28:27 martynas Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)infnan.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: November 3 2013 $ .Dt INFNAN 3 vax .Os .Sh NAME @@ -128,7 +128,7 @@ And a C program to implement that suggestion follows. .It Sy "IEEE Signal" Ta Sy "IEEE Default" Ta Fa iarg Ta Va errno Ta Fn infnan .It Invalid Ta \*(Na Ta Dv EDOM Ta Dv EDOM Ta 0 .It Overflow Ta \(+-\*(If Ta Dv ERANGE Ta Dv ERANGE Ta Dv HUGE -.It Div\-by\-0 Ta \(+-Infinity Ta Dv +-ERANGE Ta Dv ERANGE/EDOM Ta Dv +-HUGE +.It Div\-by\-0 Ta \(+-\*(If Ta Dv +-ERANGE Ta Dv ERANGE/EDOM Ta Dv +-HUGE .El .Pp .Dl ( Ns Dv HUGE No = 1.7e38 ... nearly 2.0**127) |