Commits

asc...@andrewschein.com  committed 0a61eaa

removed redundancy.

  • Participants
  • Parent commits 26e3658

Comments (0)

Files changed (10)

File qsort/ctype/f4_sort.c

-/* the <= and == tests for floats are extremely slow for certain distributions of numbers
-exhibited in the test harness.  So we turn off sections of the sorting alg that use this
-with QSORT_SKIP_EQUALITY */
-
-#ifndef F4_SORT
-#define F4_SORT
-#define QSORT_TY float
-#define QS_(name) f4_## name
-
-#include "qsort.c"
-#endif

File qsort/ctype/f8_sort.c

-#ifndef F8_SORT
-#define F8_SORT
-#define QSORT_TY double
-#define QS_(name) f8_## name
-#include "qsort.c"
-#endif

File qsort/ctype/s1_sort.c

-#ifndef S1_SORT
-#define S1_SORT
-#define QSORT_TY signed char
-#define QS_(name) s1_## name
-#include "qsort.c"
-#endif

File qsort/ctype/s2_sort.c

-#ifndef S2_SORT
-#define S2_SORT
-#define QSORT_TY signed short
-#define QS_(name) s2_## name
-#include "qsort.c"
-#endif

File qsort/ctype/s4_sort.c

-#ifndef S4_SORT
-#define S4_SORT
-#define QSORT_TY long
-#define QS_(name) s4_## name
-#include "qsort.c"
-#endif

File qsort/ctype/s8_sort.c

-#ifndef S8_SORT
-#define S8_SORT
-#define QSORT_TY long long
-#define QS_(name) s8_## name
-#include "qsort.c"
-#endif

File qsort/ctype/u1_sort.c

-#ifndef U1_SORT
-#define U1_SORT
-#define QS_(name) u1_## name
-#define QSORT_TY unsigned char
-
-#include "qsort.c"
-#endif

File qsort/ctype/u2_sort.c

-#ifndef U2_SORT
-#define U2_SORT
-#define QSORT_TY unsigned short
-#define QS_(name) u2_## name
-#include "qsort.c"
-#endif

File qsort/ctype/u4_sort.c

-#ifndef U4_SORT
-#define U4_SORT
-#define QSORT_TY unsigned long
-#define QS_(name) u4_## name
-#include "qsort.c"
-#endif

File qsort/ctype/u8_sort.c

-#ifndef U8_SORT
-#define U8_SORT
-#define QSORT_TY unsigned long long
-#define QS_(name) u8_## name
-#include "qsort.c"
-#endif