GRASS 8 Programmer's Manual
8.6.0dev(2026)-f6f2c534ea
Loading...
Searching...
No Matches
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
}
AMI_STREAM
Definition
ami_stream.h:153
Cdhc_dcmp
int Cdhc_dcmp(const void *i, const void *j)
Definition
dcmp.c:1
x
#define x
lib
cdhc
dcmp.c
Generated on Sun Apr 12 2026 06:59:14 for GRASS 8 Programmer's Manual by
1.9.8