PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ compareFloats()

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

Definition at line 107 of file gserialized_spgist_nd.c.

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

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

Referenced by gserialized_spgist_picksplit_nd().

Here is the caller graph for this function: