Returns the next representable value.
#include <math.h> double nexttoward(double x, long double y); float nexttowardf(float x, long double y); long double nexttowardl(long double x, long double y);
x
Current representable value.
y
Direction to compute the next representable value.
These functions perform identically to their nextafter counterparts but has these differences:
This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.