Query: nextafterf
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NEXTAFTER(3) BSD Library Functions Manual NEXTAFTER(3)NAMEnextafterSYNOPSIS#include <math.h> double nextafter(double x, double y); long double nextafterl(long double x, long double y); float nextafterf(float x, float y);DESCRIPTIONThe nextafter() functions return the next machine representable number from x in direction y.SPECIAL VALUESnextafter(x, y) raises the "overflow" and "inexact" floating-point exceptions 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.VECTOR OPERATIONSIf you need to apply the nextafter() functions to SIMD vectors or arrays, using the following functions provided by the Accelerate.framework may give significantly better performance: #include <Accelerate/Accelerate.h> vFloat vnextafterf(vFloat x, vFloat y); void vvnextafterf(float *z, const float *y, const float *x, const int *n); void vvnextafter(double *z, const double *y, const double *x, const int *n);SEE ALSOmath(3)STANDARDSThe nextafter() functions conform to ISO/IEC 9899:2011.BSDDecember 11, 2006 BSD