GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f241532c70
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
}
Cdhc_dcmp
int Cdhc_dcmp(const void *i, const void *j)
Definition:
dcmp.c:1
x
#define x
lib
cdhc
dcmp.c
Generated on Tue Oct 15 2024 06:57:18 for GRASS GIS 8 Programmer's Manual by
1.9.1