12namespace GenVector_detail {
27 for (
int k=0; k<6; k++) {
36 static const int kUNSET = -1;
69 "Cannot determine byte-ordering of doubles on this system");
73 "Confusion in byte-ordering of doubles on this system");
86 std::ostringstream ss;
87 for (
int i=0; i<8; ++i) {
89 ss << std::hex << std::setw(2) << std::setfill(
'0') << (int)db.
fB[k];
112 unsigned char bytes[8];
114 bytes[0] =
static_cast<unsigned char>((i >> 24) & 0xFF);
115 bytes[1] =
static_cast<unsigned char>((i >> 16) & 0xFF);
116 bytes[2] =
static_cast<unsigned char>((i >> 8) & 0xFF);
117 bytes[3] =
static_cast<unsigned char>((i ) & 0xFF);
118 bytes[4] =
static_cast<unsigned char>((j >> 24) & 0xFF);
119 bytes[5] =
static_cast<unsigned char>((j >> 16) & 0xFF);
120 bytes[6] =
static_cast<unsigned char>((j >> 8) & 0xFF);
121 bytes[7] =
static_cast<unsigned char>((j ) & 0xFF);
122 for (
int k=0; k<8; ++k) {
static double Longs2double(unsigned int i1, unsigned int i2)
static bool fgByte_order_known
static void Dto2longs(double d, unsigned int &i1, unsigned int &i2)
static int fgByte_order[8]
static std::string D2x(double d)
static void Fill_byte_order()
Namespace for new Math classes and functions.
Namespace for new ROOT classes and functions.