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

Definition at line 145 of file lwgeom_api.c.

References nextafterf_custom(), and result.

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

146 {
147  float result = d;
148 
149  if ( ((double) result) >=d)
150  return result;
151 
152  return nextafterf_custom(result, result + 1000000);
153 }
char ** result
Definition: liblwgeom.h:218
static float nextafterf_custom(float x, float y)
Definition: lwgeom_api.c:62

Here is the call graph for this function:

Here is the caller graph for this function: