PostGIS  2.3.7dev-r@@SVN_REVISION@@
double next_double_down ( float  d)

Definition at line 188 of file lwgeom_api.c.

References nextafterf_custom().

189 {
190  double result = d;
191 
192  if ( result < d)
193  return result;
194 
195  return nextafterf_custom(result, result - 1000000);
196 }
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:89

Here is the call graph for this function: