aboutsummaryrefslogtreecommitdiffstats
path: root/man3/fenv.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-07-23 02:57:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-07-23 02:57:20 +0000
commitc45bd688fd44d36732edbafe2f73f68c3a1566bc (patch)
tree3193595ecec38b6a54f6edd1d084eed2b67b6a58 /man3/fenv.3
parent6457ee5a49b2d9e6b9c2cf0977a8d480ca2c7bd2 (diff)
downloadman-pages-c45bd688fd44d36732edbafe2f73f68c3a1566bc.tar.gz
s/floating point/floating-point/ when used attributively.
Diffstat (limited to 'man3/fenv.3')
-rw-r--r--man3/fenv.322
1 files changed, 11 insertions, 11 deletions
diff --git a/man3/fenv.3 b/man3/fenv.3
index 843bea9a03..96c439042a 100644
--- a/man3/fenv.3
+++ b/man3/fenv.3
@@ -28,7 +28,7 @@
feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag,
fetestexcept, fegetenv, fegetround, feholdexcept, fesetround,
fesetenv, feupdateenv, feenableexcept, fedisableexcept,
-fegetexcept \- floating point rounding and exception handling
+fegetexcept \- floating-point rounding and exception handling
.SH SYNOPSIS
.nf
.B #include <fenv.h>
@@ -59,18 +59,18 @@ fegetexcept \- floating point rounding and exception handling
Link with \fI\-lm\fP.
.SH DESCRIPTION
These eleven functions were defined in C99, and describe the handling
-of floating point rounding and exceptions (overflow, zero-divide etc.).
+of floating-point rounding and exceptions (overflow, zero-divide etc.).
.SS Exceptions
The DivideByZero exception occurs when an operation on finite numbers
produces infinity as exact answer.
.LP
The Overflow exception occurs when a result has to be represented as a
-floating point number, but has (much) larger absolute value than the
-largest (finite) floating point number that is representable.
+floating-point number, but has (much) larger absolute value than the
+largest (finite) floating-point number that is representable.
.LP
The Underflow exception occurs when a result has to be represented as a
-floating point number, but has smaller absolute value than the smallest
-positive normalized floating point number (and would lose much accuracy
+floating-point number, but has smaller absolute value than the smallest
+positive normalized floating-point number (and would lose much accuracy
when represented as a denormalized number).
.LP
The Inexact exception occurs when the rounded result of an operation
@@ -156,7 +156,7 @@ The
function sets the rounding mode as specified by its argument
and returns zero when it was successful.
.SS "Floating point environment"
-The entire floating point environment, including
+The entire floating-point environment, including
control modes and status flags, can be handled
as one opaque object, of type
.IR fenv_t .
@@ -170,7 +170,7 @@ ISO C to have round to nearest, all exceptions cleared and a non-stop
.LP
The
.BR fegetenv ()
-function saves the current floating point environment in the object
+function saves the current floating-point environment in the object
.IR *envp .
.LP
The
@@ -182,7 +182,7 @@ It returns zero when successful.
.LP
The
.BR fesetenv ()
-function restores the floating point environment from
+function restores the floating-point environment from
the object
.IR *envp .
This object must be known to be valid, for example, the result of a call to
@@ -224,12 +224,12 @@ It is only defined if
.B _GNU_SOURCE
is defined.
The C99 standard does not define a way to set individual bits in the
-floating point mask, for example, to trap on specific flags.
+floating-point mask, for example, to trap on specific flags.
glibc 2.2 supports the functions
.BR feenableexcept ()
and
.BR fedisableexcept ()
-to set individual floating point traps, and
+to set individual floating-point traps, and
.BR fegetexcept ()
to query the state.
.sp