Go to the source code of this file.
◆ compar_lf()
| int compar_lf |
( |
const void * |
a, |
|
|
const void * |
b |
|
) |
| |
Definition at line 1 of file compar.c.
1 {
2 const double *da = (
const double *)
a;
3 const double *db = (
const double *)
b;
4 if( *da < *db) return -1;
5 if( *da > *db) return 1;
6 return 0;
7}
static double a[MATRIX_SIZE][MATRIX_SIZE]
static double b[MATRIX_SIZE][MATRIX_SIZE]
◆ compar_lld()
| int compar_lld |
( |
const void * |
a, |
|
|
const void * |
b |
|
) |
| |
Definition at line 9 of file compar.c.
9 {
10 const long long int *da = (
const long long int *)
a;
11 const long long int *db = (
const long long int *)
b;
12 if( *da < *db) return -1;
13 if( *da > *db) return 1;
14 return 0;
15}