GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-f8115df121
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 }
int Cdhc_dcmp(const void *i, const void *j)
Definition: dcmp.c:1
#define x