diff options
author | ru <ru@FreeBSD.org> | 2000-11-22 16:02:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-22 16:02:00 +0000 |
commit | bdc5340b39fbc40a64feadf0d2fd65beca35a320 (patch) | |
tree | 4a0b074ae28c1e44296bda8760d05dd25bd2ddfa /lib/libm/common_source | |
parent | c3abc432d868b9b1370e4d575ff6839e27d887ef (diff) | |
download | FreeBSD-src-bdc5340b39fbc40a64feadf0d2fd65beca35a320.zip FreeBSD-src-bdc5340b39fbc40a64feadf0d2fd65beca35a320.tar.gz |
mdoc(7) police: Er macro usage cleanup.
Diffstat (limited to 'lib/libm/common_source')
-rw-r--r-- | lib/libm/common_source/acos.3 | 2 | ||||
-rw-r--r-- | lib/libm/common_source/ieee.3 | 4 | ||||
-rw-r--r-- | lib/libm/common_source/infnan.3 | 17 | ||||
-rw-r--r-- | lib/libm/common_source/lgamma.3 | 2 | ||||
-rw-r--r-- | lib/libm/common_source/sqrt.3 | 2 |
5 files changed, 14 insertions, 13 deletions
diff --git a/lib/libm/common_source/acos.3 b/lib/libm/common_source/acos.3 index 75f2936..d6d5d7b 100644 --- a/lib/libm/common_source/acos.3 +++ b/lib/libm/common_source/acos.3 @@ -71,7 +71,7 @@ if: sets the global variable .Va errno to -.Dv EDOM +.Er EDOM and a reserved operand fault is generated. .Sh SEE ALSO .Xr asin 3 , diff --git a/lib/libm/common_source/ieee.3 b/lib/libm/common_source/ieee.3 index c47334c..466a9a6 100644 --- a/lib/libm/common_source/ieee.3 +++ b/lib/libm/common_source/ieee.3 @@ -192,7 +192,7 @@ would overflow on a it generates a reserved operand fault and sets the global variable .Va errno to -.Dv ERANGE . +.Er ERANGE . .Sh SEE ALSO .Xr floor 3 , .Xr infnan 3 , @@ -211,7 +211,7 @@ on a .Tn VAX signal invalidity by setting -.Va errno No = Dv EDOM ? +.Va errno No = Er EDOM ? Should .Fn logb 0 return \-1.7e38? diff --git a/lib/libm/common_source/infnan.3 b/lib/libm/common_source/infnan.3 index 274ba31..7a2d6d3 100644 --- a/lib/libm/common_source/infnan.3 +++ b/lib/libm/common_source/infnan.3 @@ -129,17 +129,18 @@ to return. And a C program to implement that suggestion follows. .sp 0.5 .Bd -filled -offset indent -.Bl -column "IEEE Signal" "IEEE Default" XXERANGE ERANGEXXorXXEDOM +.Bl -column "IEEE Signal" "IEEE Default" XXERANGE ERANGEXXorXXEDOM XXXXXX .It IEEE Signal IEEE Default Ta .Fa iarg Ta .Va errno Ta .Fn infnan .It Invalid \*(Na Ta -.Dv EDOM EDOM 0 +.Er EDOM EDOM 0 .It Overflow \(+-\*(If Ta -.Dv ERANGE ERANGE HUGE +.Er ERANGE ERANGE Ta +.Dv HUGE .It Div\-by\-0 \(+-Infinity Ta -.Dv \(+-ERANGE ERANGE or EDOM \(+-HUGE +.Er \(+-ERANGE ERANGE or EDOM \(+-HUGE .It ( Ns Dv HUGE No "= 1.7e38 ... nearly 2.0**127)" .El .Ed @@ -165,17 +166,17 @@ int iarg ; .Xr math 3 , .Xr signal 3 . .Pp -.Dv ERANGE +.Er ERANGE and -.Dv EDOM +.Er EDOM are defined in .Aq Pa errno.h . (See .Xr intro 2 for explanation of -.Dv EDOM +.Er EDOM and -.Dv ERANGE . ) +.Er ERANGE . ) .Sh HISTORY The .Fn infnan diff --git a/lib/libm/common_source/lgamma.3 b/lib/libm/common_source/lgamma.3 index 936ca46..cd55003 100644 --- a/lib/libm/common_source/lgamma.3 +++ b/lib/libm/common_source/lgamma.3 @@ -103,7 +103,7 @@ the reserved operator is returned, and .Va errno is set to -.Er ERANGE +.Er ERANGE . For large non-integer negative values, .Fn gamma will underflow. diff --git a/lib/libm/common_source/sqrt.3 b/lib/libm/common_source/sqrt.3 index 2c4e893..0a2d74b 100644 --- a/lib/libm/common_source/sqrt.3 +++ b/lib/libm/common_source/sqrt.3 @@ -78,7 +78,7 @@ causes an error; in this event, the global variable .Va errno is set to -.Dv EDOM +.Er EDOM and a reserved operand fault is generated. .Sh ERROR (due to Roundoff etc.) The |