mirror of https://github.com/mkerrisk/man-pages
s/floating point/floating-point/ when used attributively.
This commit is contained in:
parent
6457ee5a49
commit
c45bd688fd
10
man2/prctl.2
10
man2/prctl.2
|
@ -153,11 +153,11 @@ in the location pointed to by
|
||||||
.BR PR_SET_FPEXC " (since Linux 2.4.21, 2.5.32, only on PowerPC)"
|
.BR PR_SET_FPEXC " (since Linux 2.4.21, 2.5.32, only on PowerPC)"
|
||||||
Set floating-point exception mode to \fIarg2\fP.
|
Set floating-point exception mode to \fIarg2\fP.
|
||||||
Pass \fBPR_FP_EXC_SW_ENABLE\fP to use FPEXC for FP exception enables,
|
Pass \fBPR_FP_EXC_SW_ENABLE\fP to use FPEXC for FP exception enables,
|
||||||
\fBPR_FP_EXC_DIV\fP for floating point divide by zero,
|
\fBPR_FP_EXC_DIV\fP for floating-point divide by zero,
|
||||||
\fBPR_FP_EXC_OVF\fP for floating point overflow,
|
\fBPR_FP_EXC_OVF\fP for floating-point overflow,
|
||||||
\fBPR_FP_EXC_UND\fP for floating point underflow,
|
\fBPR_FP_EXC_UND\fP for floating-point underflow,
|
||||||
\fBPR_FP_EXC_RES\fP for floating point inexact result,
|
\fBPR_FP_EXC_RES\fP for floating-point inexact result,
|
||||||
\fBPR_FP_EXC_INV\fP for floating point invalid operation,
|
\fBPR_FP_EXC_INV\fP for floating-point invalid operation,
|
||||||
\fBPR_FP_EXC_DISABLED\fP for FP exceptions disabled,
|
\fBPR_FP_EXC_DISABLED\fP for FP exceptions disabled,
|
||||||
\fBPR_FP_EXC_NONRECOV\fP for async non-recoverable exception mode,
|
\fBPR_FP_EXC_NONRECOV\fP for async non-recoverable exception mode,
|
||||||
\fBPR_FP_EXC_ASYNC\fP for async recoverable exception mode,
|
\fBPR_FP_EXC_ASYNC\fP for async recoverable exception mode,
|
||||||
|
|
|
@ -406,19 +406,19 @@ integer divide by zero
|
||||||
integer overflow
|
integer overflow
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTDIV
|
.B FPE_FLTDIV
|
||||||
floating point divide by zero
|
floating-point divide by zero
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTOVF
|
.B FPE_FLTOVF
|
||||||
floating point overflow
|
floating-point overflow
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTUND
|
.B FPE_FLTUND
|
||||||
floating point underflow
|
floating-point underflow
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTRES
|
.B FPE_FLTRES
|
||||||
floating point inexact result
|
floating-point inexact result
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTINV
|
.B FPE_FLTINV
|
||||||
floating point invalid operation
|
floating-point invalid operation
|
||||||
.TP
|
.TP
|
||||||
.B FPE_FLTSUB
|
.B FPE_FLTSUB
|
||||||
subscript out of range
|
subscript out of range
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
.\"
|
.\"
|
||||||
.TH INFINITY 3 2007-07-26 "" "Linux Programmer's Manual"
|
.TH INFINITY 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating point constants
|
INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating-point constants
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #define _ISOC99_SOURCE
|
.B #define _ISOC99_SOURCE
|
||||||
|
|
|
@ -13,9 +13,9 @@ __setfpucw \- set FPU control word on i386 architecture (obsolete)
|
||||||
.BR __setfpucw ()
|
.BR __setfpucw ()
|
||||||
transfers
|
transfers
|
||||||
.I control_word
|
.I control_word
|
||||||
to the registers of the FPU (floating point unit) on the i386 architecture.
|
to the registers of the FPU (floating-point unit) on the i386 architecture.
|
||||||
This was used to control floating point precision,
|
This was used to control floating-point precision,
|
||||||
rounding and floating point exceptions.
|
rounding and floating-point exceptions.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
This function was a non-standard GNU extension.
|
This function was a non-standard GNU extension.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
@ -25,7 +25,7 @@ There are new functions from C99, with prototypes in
|
||||||
to control FPU rounding modes, like
|
to control FPU rounding modes, like
|
||||||
.IR fegetround ,
|
.IR fegetround ,
|
||||||
.IR fesetround ,
|
.IR fesetround ,
|
||||||
and the floating point environment, like
|
and the floating-point environment, like
|
||||||
.IR fegetenv ,
|
.IR fegetenv ,
|
||||||
.IR feholdexcept ,
|
.IR feholdexcept ,
|
||||||
.IR fesetenv ,
|
.IR fesetenv ,
|
||||||
|
|
22
man3/fenv.3
22
man3/fenv.3
|
@ -28,7 +28,7 @@
|
||||||
feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag,
|
feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag,
|
||||||
fetestexcept, fegetenv, fegetround, feholdexcept, fesetround,
|
fetestexcept, fegetenv, fegetround, feholdexcept, fesetround,
|
||||||
fesetenv, feupdateenv, feenableexcept, fedisableexcept,
|
fesetenv, feupdateenv, feenableexcept, fedisableexcept,
|
||||||
fegetexcept \- floating point rounding and exception handling
|
fegetexcept \- floating-point rounding and exception handling
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <fenv.h>
|
.B #include <fenv.h>
|
||||||
|
@ -59,18 +59,18 @@ fegetexcept \- floating point rounding and exception handling
|
||||||
Link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These eleven functions were defined in C99, and describe the handling
|
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
|
.SS Exceptions
|
||||||
The DivideByZero exception occurs when an operation on finite numbers
|
The DivideByZero exception occurs when an operation on finite numbers
|
||||||
produces infinity as exact answer.
|
produces infinity as exact answer.
|
||||||
.LP
|
.LP
|
||||||
The Overflow exception occurs when a result has to be represented as a
|
The Overflow exception occurs when a result has to be represented as a
|
||||||
floating point number, but has (much) larger absolute value than the
|
floating-point number, but has (much) larger absolute value than the
|
||||||
largest (finite) floating point number that is representable.
|
largest (finite) floating-point number that is representable.
|
||||||
.LP
|
.LP
|
||||||
The Underflow exception occurs when a result has to be represented as a
|
The Underflow exception occurs when a result has to be represented as a
|
||||||
floating point number, but has smaller absolute value than the smallest
|
floating-point number, but has smaller absolute value than the smallest
|
||||||
positive normalized floating point number (and would lose much accuracy
|
positive normalized floating-point number (and would lose much accuracy
|
||||||
when represented as a denormalized number).
|
when represented as a denormalized number).
|
||||||
.LP
|
.LP
|
||||||
The Inexact exception occurs when the rounded result of an operation
|
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
|
function sets the rounding mode as specified by its argument
|
||||||
and returns zero when it was successful.
|
and returns zero when it was successful.
|
||||||
.SS "Floating point environment"
|
.SS "Floating point environment"
|
||||||
The entire floating point environment, including
|
The entire floating-point environment, including
|
||||||
control modes and status flags, can be handled
|
control modes and status flags, can be handled
|
||||||
as one opaque object, of type
|
as one opaque object, of type
|
||||||
.IR fenv_t .
|
.IR fenv_t .
|
||||||
|
@ -170,7 +170,7 @@ ISO C to have round to nearest, all exceptions cleared and a non-stop
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.BR fegetenv ()
|
.BR fegetenv ()
|
||||||
function saves the current floating point environment in the object
|
function saves the current floating-point environment in the object
|
||||||
.IR *envp .
|
.IR *envp .
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
|
@ -182,7 +182,7 @@ It returns zero when successful.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.BR fesetenv ()
|
.BR fesetenv ()
|
||||||
function restores the floating point environment from
|
function restores the floating-point environment from
|
||||||
the object
|
the object
|
||||||
.IR *envp .
|
.IR *envp .
|
||||||
This object must be known to be valid, for example, the result of a call to
|
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
|
.B _GNU_SOURCE
|
||||||
is defined.
|
is defined.
|
||||||
The C99 standard does not define a way to set individual bits in the
|
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
|
glibc 2.2 supports the functions
|
||||||
.BR feenableexcept ()
|
.BR feenableexcept ()
|
||||||
and
|
and
|
||||||
.BR fedisableexcept ()
|
.BR fedisableexcept ()
|
||||||
to set individual floating point traps, and
|
to set individual floating-point traps, and
|
||||||
.BR fegetexcept ()
|
.BR fegetexcept ()
|
||||||
to query the state.
|
to query the state.
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
.TH FINITE 3 2007-07-26 "" "Linux Programmer's Manual"
|
.TH FINITE 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
||||||
BSD floating point classification functions
|
BSD floating-point classification functions
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
|
|
|
@ -934,7 +934,7 @@ comes from untrusted user input, it may contain \fB%n\fP, causing the
|
||||||
.BR printf ()
|
.BR printf ()
|
||||||
call to write to memory and creating a security hole.
|
call to write to memory and creating a security hole.
|
||||||
.\" .PP
|
.\" .PP
|
||||||
.\" Some floating point conversions under early libc4
|
.\" Some floating-point conversions under early libc4
|
||||||
.\" caused memory leaks.
|
.\" caused memory leaks.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.if \w'\*(Pi'=0 .ds Pi pi
|
.if \w'\*(Pi'=0 .ds Pi pi
|
||||||
|
|
|
@ -683,7 +683,7 @@ or
|
||||||
.B _GNU_SOURCE
|
.B _GNU_SOURCE
|
||||||
is also specified), in which case the
|
is also specified), in which case the
|
||||||
.B a
|
.B a
|
||||||
is interpreted as a specifier for floating point numbers (see above).
|
is interpreted as a specifier for floating-point numbers (see above).
|
||||||
|
|
||||||
Since version 2.7, glibc also provides the
|
Since version 2.7, glibc also provides the
|
||||||
.B m
|
.B m
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.TH SIGNIFICAND 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
.TH SIGNIFICAND 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
significand, significandf, significandl \-
|
significand, significandf, significandl \-
|
||||||
get mantissa of floating point number
|
get mantissa of floating-point number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.\"
|
.\"
|
||||||
.TH STRTOD 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
.TH STRTOD 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
strtod, strtof, strtold \- convert ASCII string to floating point number
|
strtod, strtof, strtold \- convert ASCII string to floating-point number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <stdlib.h>
|
.B #include <stdlib.h>
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -84,7 +84,7 @@ enum { /* Bits that may be set in ac_flag field */
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I comp_t
|
.I comp_t
|
||||||
data type is a floating point value consisting of a 3-bit, base-8 exponent,
|
data type is a floating-point value consisting of a 3-bit, base-8 exponent,
|
||||||
and a 13-bit mantissa.
|
and a 13-bit mantissa.
|
||||||
A value,
|
A value,
|
||||||
.IR c ,
|
.IR c ,
|
||||||
|
|
|
@ -149,7 +149,7 @@ is defined.)
|
||||||
Some i387 coprocessor chips have bugs that show up when used in 32 bit
|
Some i387 coprocessor chips have bugs that show up when used in 32 bit
|
||||||
protected mode.
|
protected mode.
|
||||||
For example, some of the early ULSI-387 chips would
|
For example, some of the early ULSI-387 chips would
|
||||||
cause solid lockups while performing floating point calculations.
|
cause solid lockups while performing floating-point calculations.
|
||||||
Using the 'no387' boot arg causes Linux to ignore the maths
|
Using the 'no387' boot arg causes Linux to ignore the maths
|
||||||
coprocessor even if you have one.
|
coprocessor even if you have one.
|
||||||
Of course you must then have your
|
Of course you must then have your
|
||||||
|
|
Loading…
Reference in New Issue