|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
NEXTAFTER(3) BSD Library Functions Manual NEXTAFTER(3)
NAME
nextafter
SYNOPSIS
#include <math.h>
double
nextafter(double x, double y);
long double
nextafterl(long double x, long double y);
float
nextafterf(float x, float y);
DESCRIPTION
The nextafter() functions return the next machine representable number
from x in direction y.
SPECIAL VALUES
nextafter(x, y) raises the "overflow" and "inexact" floating-point excep-tions exceptions
tions for x finite and the function value infinite.
nextafter(x, y) raises the "underflow" and "inexact" floating-point
exceptions for the function value subnormal or zero and x not equal to y.
SEE ALSO
math(3)
STANDARDS
The nextafter() functions conform to ISO/IEC 9899:1999(E).
BSD January 28, 2003 BSD
|