Ruby  2.4.2p198(2017-09-14revision59899)
Functions
nextafter.c File Reference
#include "ruby/missing.h"
#include <math.h>
#include <float.h>
Include dependency graph for nextafter.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double nextafter (double x, double y)
 

Function Documentation

◆ nextafter()

double nextafter ( double  x,
double  y 
)

Definition at line 9 of file nextafter.c.

References DBL_EPSILON, DBL_MANT_DIG, DBL_MAX, DBL_MIN, DBL_MIN_EXP, isinf(), and isnan.

Referenced by flo_next_float(), and flo_prev_float().