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

Definition at line 129 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().

130 {
131  float result = d;
132 
133  if ( ((double) result) <=d)
134  return result;
135 
136  return nextafterf_custom(result, result - 1000000);
137 
138 }
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: