diff options
author | jkh <jkh@FreeBSD.org> | 1995-03-01 05:06:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-03-01 05:06:48 +0000 |
commit | 4d71750d42027edbc0501a36f71265917f601d76 (patch) | |
tree | 68d1372161050b27e72d171803683f7f1bc388eb /lib/msun/man/rint.3 | |
parent | bfcb419e68efbbb96953c29a9b4c15c948b1e11c (diff) | |
download | FreeBSD-src-4d71750d42027edbc0501a36f71265917f601d76.zip FreeBSD-src-4d71750d42027edbc0501a36f71265917f601d76.tar.gz |
Additions from Thomas Graichen to mention each functions' floating point
counterpart.
Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
Diffstat (limited to 'lib/msun/man/rint.3')
-rw-r--r-- | lib/msun/man/rint.3 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/msun/man/rint.3 b/lib/msun/man/rint.3 index 13132e6..6b29d74 100644 --- a/lib/msun/man/rint.3 +++ b/lib/msun/man/rint.3 @@ -30,23 +30,28 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)rint.3 5.1 (Berkeley) 5/2/91 -.\" $Id: rint.3,v 1.4 1994/03/11 01:32:11 jtc Exp $ +.\" $Id: rint.3,v 1.1.1.1 1994/08/19 09:39:42 jkh Exp $ .\" .Dd March 10, 1994 .Dt RINT 3 .Os .Sh NAME -.Nm rint +.Nm rint , +.Nm rintf .Nd round to integral value in floating-point format .Sh SYNOPSIS .Fd #include <math.h> .Ft double .Fn rint "double x" +.Ft float +.Fn rintf "float x" .Sh DESCRIPTION The .Fn rint -function returns the integral value (represented as a double precision number) -nearest to +and the +.Fn rintf +functions return the integral value (represented as a double or float +precision number) nearest to .Fa x according to the prevailing rounding mode. .Sh SEE ALSO |