]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/lrint.3
dlopen.3: Clarify that constructors are called only when library is first loaded
[thirdparty/man-pages.git] / man3 / lrint.3
index 84c648306613b36b6b3c8a74c6eeaf05a59d4b7c..cee7d73b7f62e4e93d041dba1defb27b69b74c9d 100644 (file)
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH LRINT 3  2015-04-19 "" "Linux Programmer's Manual"
+.TH LRINT 3  2017-09-15 "" "Linux Programmer's Manual"
 .SH NAME
 lrint, lrintf, lrintl, llrint, llrintf, llrintl \- round to nearest integer
 .SH SYNOPSIS
 .nf
 .B #include <math.h>
-.sp
+.PP
 .BI "long int lrint(double " x );
-.br
 .BI "long int lrintf(float " x );
-.br
 .BI "long int lrintl(long double " x );
-.sp
+.PP
 .BI "long long int llrint(double " x );
-.br
 .BI "long long int llrintf(float " x );
-.br
 .BI "long long int llrintl(long double " x );
 .fi
-.sp
+.PP
 Link with \fI\-lm\fP.
-.sp
+.PP
 .in -4n
 Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):
 .in
-.sp
+.PP
 .ad l
 All functions shown above:
 .RS 4
 _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
-.br
-or
-.I cc\ -std=c99
 .RE
 .ad
 .SH DESCRIPTION
 These functions round their argument to the nearest integer value,
 using the current rounding direction (see
 .BR fesetround (3)).
-
+.PP
 Note that unlike the
 .BR rint (3)
 family of functions,
@@ -72,7 +65,7 @@ the return type of these functions differs from
 that of their arguments.
 .SH RETURN VALUE
 These functions return the rounded integer value.
-
+.PP
 If
 .I x
 is a NaN or an infinity,