diff options
Diffstat (limited to 'usr/src/man/man3m/modf.3m')
-rw-r--r-- | usr/src/man/man3m/modf.3m | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/usr/src/man/man3m/modf.3m b/usr/src/man/man3m/modf.3m index 6cf1b7a46e..3a830d64e6 100644 --- a/usr/src/man/man3m/modf.3m +++ b/usr/src/man/man3m/modf.3m @@ -44,11 +44,10 @@ .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" -.TH MODF 3M "Jul 12, 2006" "SunOS 5.11" "Mathematical Library Functions" +.TH MODF 3M "June 20, 2021" "SunOS 5.11" "Mathematical Library Functions" .SH NAME modf, modff, modfl \- decompose floating-point number .SH SYNOPSIS -.LP .nf c99 [ \fIflag\fR... ] \fIfile\fR... \fB-lm\fR [ \fIlibrary\fR... ] #include <math.h> @@ -67,16 +66,12 @@ c99 [ \fIflag\fR... ] \fIfile\fR... \fB-lm\fR [ \fIlibrary\fR... ] .fi .SH DESCRIPTION -.sp -.LP These functions break the argument \fIx\fR into integral and fractional parts, each of which has the same sign as the argument. It stores the integral part as a \fBdouble\fR for the \fBmodf()\fR function, a float for the \fBmodff()\fR -function, or a long double for the\fBmodfl()\fR function in the object pointed +function, or a long double for the \fBmodfl()\fR function in the object pointed to by \fIiptr\fR. .SH RETURN VALUES -.sp -.LP Upon successful completion, these functions return the signed fractional part of \fIx\fR. .sp @@ -86,12 +81,8 @@ If \fIx\fR is NaN, a NaN is returned and *\fIiptr\fR is set to NaN. .LP If \fIx\fR is \(+-Inf, \(+-0 is returned and *\fIiptr\fR is set to \(+-Inf. .SH ERRORS -.sp -.LP No errors are defined. .SH USAGE -.sp -.LP These functions compute the function result and *\fIiptr\fR such that: .sp .in +2 @@ -102,8 +93,6 @@ x == a+*iptr ; .in -2 .SH ATTRIBUTES -.sp -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -121,7 +110,5 @@ MT-Level MT-Safe .TE .SH SEE ALSO -.sp -.LP \fBfrexp\fR(3M), \fBisnan\fR(3M), \fBldexp\fR(3M), \fBattributes\fR(5), \fBstandards\fR(5) |