aboutsummaryrefslogtreecommitdiffstats
path: root/man3/lrint.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/lrint.3')
-rw-r--r--man3/lrint.315
1 files changed, 13 insertions, 2 deletions
diff --git a/man3/lrint.3 b/man3/lrint.3
index eb8d8e4569..3de530c222 100644
--- a/man3/lrint.3
+++ b/man3/lrint.3
@@ -20,7 +20,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
-.TH LRINT 3 2001-05-31 "" "Linux Programmer's Manual"
+.TH LRINT 3 2007-07-26 "" "Linux Programmer's Manual"
.SH NAME
lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
.SH SYNOPSIS
@@ -40,7 +40,18 @@ lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
.BI "long long int llrintl(long double " x );
.fi
.sp
-Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
+Link with \fI\-lm\fP.
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+All functions shown above:
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.I cc\ -std=c99
+.ad b
.SH DESCRIPTION
These functions round their argument to the nearest integer value,
using the current rounding direction.