PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ next_double_up()

double next_double_up ( float  d)

Definition at line 203 of file lwgeom_api.c.

References nextafterf_custom().

204 {
205  double result = d;
206 
207  if ( result > d)
208  return result;
209 
210  return nextafterf_custom(result, result + 1000000);
211 }
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:89
Here is the call graph for this function: