diff options
Diffstat (limited to 'lib/libm/common_source')
-rw-r--r-- | lib/libm/common_source/asin.3 | 2 | ||||
-rw-r--r-- | lib/libm/common_source/exp.3 | 3 | ||||
-rw-r--r-- | lib/libm/common_source/hypot.3 | 2 | ||||
-rw-r--r-- | lib/libm/common_source/ieee.3 | 6 | ||||
-rw-r--r-- | lib/libm/common_source/lgamma.3 | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/lib/libm/common_source/asin.3 b/lib/libm/common_source/asin.3 index a712e9c0e5b2..ca8ffda71884 100644 --- a/lib/libm/common_source/asin.3 +++ b/lib/libm/common_source/asin.3 @@ -57,7 +57,7 @@ The .Fn asin function returns the arc sine in the range .Bk -words -.Bq -\*(Pi/2, +\*(Pi/2 +.Bq -\*(Pi/2 , +\*(Pi/2 .Ek radians. On the diff --git a/lib/libm/common_source/exp.3 b/lib/libm/common_source/exp.3 index 71d58a50c376..09fc4fe8405c 100644 --- a/lib/libm/common_source/exp.3 +++ b/lib/libm/common_source/exp.3 @@ -220,7 +220,8 @@ and .Em NaN (the reserved operand on a -.Tn VAX ) . Previous implementations of pow may +.Tn VAX ) . +Previous implementations of pow may have defined x**0 to be undefined in some or all of these cases. Here are reasons for returning x**0 = 1 always: .Bl -enum -width indent diff --git a/lib/libm/common_source/hypot.3 b/lib/libm/common_source/hypot.3 index 281ec0c66708..2f77bb0462a8 100644 --- a/lib/libm/common_source/hypot.3 +++ b/lib/libm/common_source/hypot.3 @@ -45,7 +45,7 @@ .Fd #include <math.h> .Ft double .Fn hypot "double x" "double y" -.Fd struct {double x, y;} z; +.Vt struct {double x, y;} z ; .Ft double .Fn cabs z .Sh DESCRIPTION diff --git a/lib/libm/common_source/ieee.3 b/lib/libm/common_source/ieee.3 index 466a9a68bd0b..a14e7eff0f39 100644 --- a/lib/libm/common_source/ieee.3 +++ b/lib/libm/common_source/ieee.3 @@ -68,7 +68,7 @@ function returns .Fa x with its sign changed to -.Fa y Ns 's. +.Fa y Ns 's . .Pp The .Fn drem @@ -102,7 +102,7 @@ the remainder is computed exactly and .Sm on \*(Le .Sm off -.Pf \\*(Ba Fa y No \\*(Ba/2. +.Pf \\*(Ba Fa y No \\*(Ba/2 . .Sm on But .Fn drem x 0 @@ -218,7 +218,7 @@ return \-1.7e38? .Pp .Tn IEEE 754 currently specifies that -.Fn logb "denormalized no." +.Fn logb "denormalized no.\&" = .Fn logb "tiniest normalized no. > 0" but the consensus has changed to the specification in the new diff --git a/lib/libm/common_source/lgamma.3 b/lib/libm/common_source/lgamma.3 index cd55003ba88a..537b5b795e0e 100644 --- a/lib/libm/common_source/lgamma.3 +++ b/lib/libm/common_source/lgamma.3 @@ -98,7 +98,7 @@ return appropriate values unless an argument is out of range. Overflow will occur for sufficiently large positive values, and non-positive integers. On the -.Tn VAX, +.Tn VAX , the reserved operator is returned, and .Va errno |