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

Definition at line 172 of file lwgeom_api.c.

References nextafterf_custom().

Referenced by box2df_from_gbox_p(), gbox_float_round(), gbox_same_2d_float(), gserialized_from_gbox(), and test_f2d().

173 {
174  float result = d;
175 
176  if ( ((double) result) >=d)
177  return result;
178 
179  return nextafterf_custom(result, result + 1000000);
180 }
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:89

Here is the call graph for this function:

Here is the caller graph for this function: