]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Add reference to fenv(3) for discussion of current rounding mode.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 7 Aug 2008 11:46:19 +0000 (11:46 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 7 Aug 2008 11:46:19 +0000 (11:46 +0000)
man3/lround.3
man3/remainder.3
man3/round.3

index 74688992e9617423ca98e98717e9439b62ba5f7f..a9ede95fb20a07c0c26540ac3092d96094c93587 100644 (file)
@@ -57,7 +57,9 @@ _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
 .ad b
 .SH DESCRIPTION
 These functions round their argument to the nearest integer value,
-rounding away from zero, regardless of the current rounding direction.
+rounding away from zero,
+regardless of the current rounding direction (see
+.BR fenv (3)).
 
 Note that unlike
 .BR round (3),
index a20fd844d07d3d37556801c1a0fd7fd93c747ac8..0cb0e8f9b56a970230e4728bda10e46ff0b5bb67 100644 (file)
@@ -93,7 +93,8 @@ is 0.5,
 .I n
 is chosen to be even.
 
-These functions are unaffected by the current rounding mode.
+These functions are unaffected by the current rounding mode (see
+.BR fenv (3)).
 .LP
 The
 .BR drem ()
index 310887977e66257676635db1953ce034b80ac550..28401b3c5cdbc60ba98d3b8134fa3463ee84ed7d 100644 (file)
@@ -53,7 +53,9 @@ _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
 .SH DESCRIPTION
 These functions round \fIx\fP to the nearest integer, but
 round halfway cases away from zero (regardless of the current rounding
-direction), instead of to the nearest even integer like
+direction, see
+.BR fenv (3)),
+instead of to the nearest even integer like
 .BR rint (3).
 
 For example,