Manpage of NEXTAFTER
NEXTAFTER
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.39 `nextafter', `nextafterf'--get next number
SYNOPSIS
#include <math.h>
double nextafter(double VAL, double DIR);
float nextafterf(float VAL, float DIR);
DESCRIPTION
`nextafter' returns the double-precision floating-point number closest
to VAL in the direction toward DIR. `nextafterf' performs the same
operation in single precision. For example, `nextafter(0.0,1.0)'
returns the smallest positive number which is representable in double
precision.
RETURNS
Returns the next closest number to VAL in the direction toward DIR.
PORTABILITY
Neither `nextafter' nor `nextafterf' is required by ANSI C or by the
System V Interface Definition (Issue 2).
SEE ALSO
nextafter
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:28 GMT, May 16, 2005
www.fiveanddime.net