SYNOPSIS
#include <math.h>
double nextafter(double x, double y)
float nextafterf(float x, float y)
double nexttoward(double x, long double y)
float nexttowardf(float x, long double y)
DESCRIPTION
The
The
PARAMETERS
- x
-
Is the base number for calculation.
- y
-
Is the number indicating relative direction for calculation.
RETURN VALUES
The
If x or y is NaN,
If x is finite and the correct function value would overflow, HUGE_VAL is returned and errno is set to ERANGE.
CONFORMANCE
ANSI/ISO 9899:1999 'ISO C99' with the extension that
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
math()
PTC MKS Toolkit 10.5 Documentation Build 40.