diff options
author | das <das@FreeBSD.org> | 2005-04-08 01:24:08 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-04-08 01:24:08 +0000 |
commit | 15bd306d7ac7202143a052f70402305a2c04968d (patch) | |
tree | 061e2bb48941ddfb39b8e3fd0b0c7710556777cf /lib/msun/man/lround.3 | |
parent | 4df744a4717c111c1ef2d75a7215e2a785dfc73c (diff) | |
download | FreeBSD-src-15bd306d7ac7202143a052f70402305a2c04968d.zip FreeBSD-src-15bd306d7ac7202143a052f70402305a2c04968d.tar.gz |
Add roundl(), lroundl(), and llroundl().
Diffstat (limited to 'lib/msun/man/lround.3')
-rw-r--r-- | lib/msun/man/lround.3 | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/lib/msun/man/lround.3 b/lib/msun/man/lround.3 index d45bb27..f2c4a3f 100644 --- a/lib/msun/man/lround.3 +++ b/lib/msun/man/lround.3 @@ -24,14 +24,16 @@ .\" .\" $FreeBSD$ .\" -.Dd January 11, 2005 +.Dd April 7, 2005 .Dt LROUND 3 .Os .Sh NAME .Nm llround , .Nm llroundf , +.Nm llroundl , .Nm lround , -.Nm lroundf +.Nm lroundf , +.Nm lroundl .Nd "convert to nearest integral value" .Sh LIBRARY .Lb libm @@ -41,10 +43,14 @@ .Fn llround "double x" .Ft "long long" .Fn llroundf "float x" +.Ft "long long" +.Fn llroundl "long double x" .Ft long .Fn lround "double x" .Ft long .Fn lroundf "float x" +.Ft long +.Fn lroundl "long double x" .Sh DESCRIPTION The .Fn lround @@ -70,8 +76,10 @@ is equivalent to The .Fn llround , .Fn llroundf , -and +.Fn llroundl , .Fn lroundf +and +.Fn lroundl functions differ from .Fn lround only in their input and output types. @@ -84,11 +92,21 @@ only in their input and output types. The .Fn llround , .Fn llroundf , +.Fn llroundl , .Fn lround , +.Fn lroundf , and -.Fn lroundf +.Fn lroundl functions conform to .St -isoC-99 . .Sh HISTORY -These routines first appeared in +The +.Ft float +and +.Ft double +versions of these routines first appeared in .Fx 5.4 . +The +.Ft long double +versions appeared in +.Fx 6.0 . |