Annotated edit history of
truncl(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
TRUNC |
|
|
2 |
!!!TRUNC |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
trunc, truncf, truncl - round to interger, towards zero |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include |
|
|
19 |
__ ''x''__); |
|
|
20 |
float truncf(float__ ''x''__); |
|
|
21 |
long double truncl(long double__ ''x''__); |
|
|
22 |
__ |
|
|
23 |
!!DESCRIPTION |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
These functions round ''x'' to the nearest integer not |
|
|
27 |
larger in absolute value. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The rounded integer value. If ''x'' is integral, infinite |
|
|
32 |
or NaN, ''x'' itself is returned. |
|
|
33 |
!!ERRORS |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
None. |
|
|
37 |
!!CONFORMING TO |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
C99. |
|
|
41 |
!!SEE ALSO |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
ceil(3), floor(3), lrint(3), |
|
|
45 |
nearbyint(3), rint(3), |
|
|
46 |
round(3) |
|
|
47 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.