GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
dcmp.c
Go to the documentation of this file.
1 int Cdhc_dcmp(const void *i, const void *j)
2 {
3  double x = *(double *)i;
4  double y = *(double *)j;
5 
6  if (x < y)
7  return -1;
8 
9  if (x > y)
10  return 1;
11 
12  return 0;
13 }
#define x
int Cdhc_dcmp(const void *i, const void *j)
Definition: dcmp.c:1