GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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
}
dcmp
int dcmp(const void *i, const void *j)
Definition:
dcmp.c:1
y
int y
Definition:
plot.c:34
lib
cdhc
dcmp.c
Generated on Mon Dec 16 2013 12:19:55 for GRASS Programmer's Manual by
1.8.5