PostGIS  2.5.0dev-r@@SVN_REVISION@@
static int gserialized_gist_picksplit_badratio ( int  x,
int  y 
)
static

Definition at line 1610 of file gserialized_gist_nd.c.

References LIMIT_RATIO.

Referenced by gserialized_gist_picksplit_badratios().

1611 {
1612  POSTGIS_DEBUGF(4, "[GIST] checking split ratio (%d, %d)", x, y);
1613  if ( (y == 0) || (((float)x / (float)y) < LIMIT_RATIO) ||
1614  (x == 0) || (((float)y / (float)x) < LIMIT_RATIO) )
1615  return true;
1616 
1617  return false;
1618 }
#define LIMIT_RATIO
tuple x
Definition: pixval.py:53
tuple y
Definition: pixval.py:54

Here is the caller graph for this function: