aboutsummaryrefslogtreecommitdiffstats
path: root/sorting.c
blob: e4bfdaf7fa76305ca3203350f3c1f7733a05021e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


int
doublepcmp(const void *avp, const void *bvp)
{
	const double *ap = avp;
	const double *bp = bvp;
	return (*ap > *bp) - (*ap < *bp);
}


#else


int
main(void)
{
	return 0; /* TODO add test */
}


#endif