Go to the documentation of this file.00001 int dcmp(const void *i, const void *j)
00002 {
00003 double x = *(double *)i;
00004 double y = *(double *)j;
00005
00006 if (x < y)
00007 return -1;
00008
00009 if (x > y)
00010 return 1;
00011
00012 return 0;
00013 }