17 #ifndef ROOT_Math_GenVector_BitReproducible 18 #define ROOT_Math_GenVector_BitReproducible 1 28 namespace GenVector_detail {
35 const char *
what() const noexcept
override {
return fMsg.c_str(); }
49 static void Dto2longs(
double d,
unsigned int & i1,
unsigned int & i2);
57 static double Longs2double (
unsigned int i1,
unsigned int i2);
63 static std::string D2x(
double d);
65 static void Output ( std::ostream & os,
double d ) {
68 os <<
" " << i1 <<
" " << i2;
71 static void Input ( std::istream & is,
double & d ) {
74 d = Longs2double(i1, i2);
77 static void Output ( std::ostream & os,
float f ) {
79 Dto2longs(
double(f), i1, i2 );
80 os <<
" " << i1 <<
" " << i2;
83 static void Input ( std::istream & is,
float &
f ) {
86 f = float( Longs2double(i1, i2) );
95 static void Fill_byte_order ();
97 static int fgByte_order[8];
128 #endif // DOUBCONV_HH Namespace for new ROOT classes and functions.
static void Output(std::ostream &os, double d)
static void Input(std::istream &is, float &f)
static void Output(std::ostream &os, float f)
Namespace for new Math classes and functions.
~BitReproducibleException() noexcept
const char * what() const noexcept override
static void Input(std::istream &is, double &d)
static bool fgByte_order_known
BitReproducibleException(const std::string &w) noexcept