PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ next_double_down()

double next_double_down ( float  d)

Definition at line 175 of file lwgeom_api.c.

References nextafterf_custom().

176 {
177  double result = d;
178 
179  if ( result < d)
180  return result;
181 
182  return nextafterf_custom(result, result - 1000000);
183 }
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:76
Here is the call graph for this function: