GRASS Programmer's Manual
6.4.4(2014)-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 Fri Sep 5 2014 08:29:28 for GRASS Programmer's Manual by
1.8.8