PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ compareDoubles()

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

Definition at line 105 of file gserialized_spgist_2d.c.

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

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

Referenced by gserialized_spgist_picksplit_2d().

Here is the caller graph for this function: