aboutsummaryrefslogblamecommitdiffstats
path: root/sorting.c
blob: e4bfdaf7fa76305ca3203350f3c1f7733a05021e (plain) (tree)
























                                                         
/* 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