PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ compareDoubles()

static int compareDoubles ( const void *  a,
const void *  b 
)
static

Definition at line 104 of file gserialized_spgist_2d.c.

105 {
106  double x = *(double *)a;
107  double y = *(double *)b;
108 
109  if (x == y)
110  return 0;
111  return (x > y) ? 1 : -1;
112 }

References pixval::x, and pixval::y.

Referenced by gserialized_spgist_picksplit_2d().

Here is the caller graph for this function: