Penguin
Annotated edit history of llrintl(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 LRINT
2 !!!LRINT
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 CONFORMING TO
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 lrint, lrintf, lrintl, llrint, llrintf, llrintl - round to nearest integer
15 !!SYNOPSIS
16
17
18 __#include
19 __ ''x''__);
20 long int lrintf(float__ ''x''__);
21 long int lrintl(long double__ ''x''__);
22 long long int llrint(double__ ''x''__);
23 long long int llrintf(float__ ''x''__);
24 long long int llrintl(long double__ ''x''__);
25 __
26 !!DESCRIPTION
27
28
29 These functions round their argument to the nearest integer
30 value, using the current rounding direction. If ''x'' is
31 infinite or NaN, or if the rounded value is outside the
32 range of the return type, the numeric result is unspecified.
33 A domain error may occur if the magnitude of ''x'' is too
34 large.
35 !!RETURN VALUE
36
37
38 The rounded integer value.
39 !!ERRORS
40
41
42 __EDOM__
43
44
45 The magnitude of ''x'' is too large and
46 ''(math_errhandling '' is
47 non-zero.
48 !!CONFORMING TO
49
50
51 C99.
52 !!SEE ALSO
53
54
55 ceil(3), floor(3), lround(3),
56 nearbyint(3), rint(3),
57 round(3)
58 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.