summaryrefslogtreecommitdiffstats
path: root/man3/round.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/round.3')
-rw-r--r--man3/round.322
1 files changed, 11 insertions, 11 deletions
diff --git a/man3/round.3 b/man3/round.3
index 268ec083c..f7a2f6762 100644
--- a/man3/round.3
+++ b/man3/round.3
@@ -22,7 +22,7 @@ Math library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR round (),
@@ -37,9 +37,9 @@ These functions round
to the nearest integer, but
round halfway cases away from zero (regardless of the current rounding
direction, see
-.BR fenv (3)),
+.MR fenv 3 ),
instead of to the nearest even integer like
-.BR rint (3).
+.MR rint 3 .
.P
For example,
.I round(0.5)
@@ -59,7 +59,7 @@ No errors occur.
POSIX.1-2001 documents a range error for overflows, but see NOTES.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -99,12 +99,12 @@ is 24 (respectively, 53).)
.P
If you want to store the rounded value in an integer type,
you probably want to use one of the functions described in
-.BR lround (3)
+.MR lround 3
instead.
.SH SEE ALSO
-.BR ceil (3),
-.BR floor (3),
-.BR lround (3),
-.BR nearbyint (3),
-.BR rint (3),
-.BR trunc (3)
+.MR ceil 3 ,
+.MR floor 3 ,
+.MR lround 3 ,
+.MR nearbyint 3 ,
+.MR rint 3 ,
+.MR trunc 3