mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
13d3bb13c9
commit
646b297717
|
@ -49,7 +49,7 @@ The
|
|||
function calculates the arc tangent of the two
|
||||
variables \fIx\fP and \fIy\fP.
|
||||
It is similar to calculating the
|
||||
arc tangent of \fIy\fP / \fIx\fP, except that the signs of both
|
||||
arc tangent of \fIy\ /\ x\fP, except that the signs of both
|
||||
arguments are used to determine the quadrant of the result.
|
||||
.SH "RETURN VALUE"
|
||||
The
|
||||
|
|
|
@ -76,11 +76,11 @@ function computes the remainder of dividing
|
|||
by
|
||||
.IR y .
|
||||
The return value is
|
||||
.IR x " \- " n " * " y ,
|
||||
.IR "x\ \-\ n\ *\ y" ,
|
||||
where
|
||||
.I n
|
||||
is the value
|
||||
.IR x " / " y ,
|
||||
.IR "x\ /\ y" ,
|
||||
rounded to the nearest integer.
|
||||
If this quotient is 1/2 (mod 1), it is rounded to the nearest even number
|
||||
(independent of the current rounding mode).
|
||||
|
|
|
@ -48,10 +48,10 @@ function.
|
|||
The value stored via the
|
||||
.I quo
|
||||
pointer has the sign of
|
||||
.IR x / y
|
||||
.IR "x\ /\ y"
|
||||
and agrees with the quotient in at least the low order 3 bits.
|
||||
|
||||
For example, remquo(29.0,3.0) returns \-1.0 and might store 2.
|
||||
For example, \fIremquo(29.0,\ 3.0)\fP returns \-1.0 and might store 2.
|
||||
Note that the actual quotient might not fit in an integer.
|
||||
.\" A possible application of this function might be the computation
|
||||
.\" of sin(x). Compute remquo(x, pi/2, &quo) or so.
|
||||
|
|
Loading…
Reference in New Issue