*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: trunc | Section: 3 | Source: OpenBSD | File: trunc.3
TRUNC(3) FreeBSD Library Functions Manual TRUNC(3) NAME trunc, truncf, truncl - nearest integral value with magnitude less than or equal to |x| SYNOPSIS #include <math.h> double trunc(double x); float truncf(float x); long double truncl(long double x); DESCRIPTION The trunc(), truncf() and truncl() functions return the nearest integral value with magnitude less than or equal to |x|. They are equivalent to rint(), rintf() and rintl() respectively, in the rounding towards zero mode. SEE ALSO ceil(3), fesetround(3), floor(3), nextafter(3), rint(3), round(3) STANDARDS The trunc(), truncf() and truncl() functions conform to ISO/IEC 9899:1999 ("ISO C99"). FreeBSD 14.1-RELEASE-p8 August 14, 2013 FreeBSD 14.1-RELEASE-p8

Navigation Options