PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ 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}

Referenced by gserialized_spgist_picksplit_2d().

Here is the caller graph for this function: