Remove duplicate definitions of DOUBLEPAIR_MSB & DOUBLEPAIR_LSB for IBM doubledouble

This commit is contained in:
Nathan Sashihara 2018-08-13 12:34:08 -04:00
parent 565a51f8c6
commit 7f1301c3a7

View file

@ -392,11 +392,6 @@ template floatTraits(T)
enum EXPPOS_SHORT = 0; enum EXPPOS_SHORT = 0;
enum SIGNPOS_BYTE = 0; enum SIGNPOS_BYTE = 0;
} }
// For IBM doubledouble the larger magnitude double comes first.
// It's really a double[2] and arrays don't index differently
// between little and big-endian targets.
enum DOUBLEPAIR_MSB = 0;
enum DOUBLEPAIR_LSB = 1;
} }
else else
static assert(false, "No traits support for " ~ T.stringof); static assert(false, "No traits support for " ~ T.stringof);