PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ next_double_up()

double next_double_up ( float  d)

Definition at line 190 of file lwgeom_api.c.

References nextafterf_custom().

191 {
192  double result = d;
193 
194  if ( result > d)
195  return result;
196 
197  return nextafterf_custom(result, result + 1000000);
198 }
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:76
Here is the call graph for this function: