Manual Page Result
0
Command: nextafter | Section: 3 | Source: OpenBSD | File: nextafter.3
NEXTAFTER(3) FreeBSD Library Functions Manual NEXTAFTER(3)
NAME
nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl -
next representable value
SYNOPSIS
#include <math.h>
double
nextafter(double x, double y);
float
nextafterf(float x, float y);
long double
nextafterl(long double x, long double y);
double
nexttoward(double x, long double y);
float
nexttowardf(float x, long double y);
long double
nexttowardl(long double x, long double y);
DESCRIPTION
These functions return the next machine representable number from x in
direction y. If x equals y, these functions return y.
SEE ALSO
nearbyint(3)
STANDARDS
IEEE Std 754-1985
HISTORY
The nextafter and nextafterf functions appeared in 4.3BSD and NetBSD 1.1,
respectively.
FreeBSD 14.1-RELEASE-p8 June 5, 2013 FreeBSD 14.1-RELEASE-p8