GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
dcmp.c
Go to the documentation of this file.
1
int
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
}
lib
cdhc
dcmp.c
Generated on Wed Jun 6 2012 14:04:21 for GRASS Programmer's Manual by
1.8.1