17 #ifndef ROOT_Math_GenVector_BitReproducible 18 #define ROOT_Math_GenVector_BitReproducible 1 28 namespace GenVector_detail {
35 const char*
what()
const throw() {
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 This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
static void Output(std::ostream &os, double d)
static void Input(std::istream &is, float &f)
const char * what() const
~BitReproducibleException()
BitReproducibleException(const std::string &w)
static void Output(std::ostream &os, float f)
Namespace for new Math classes and functions.
static void Input(std::istream &is, double &d)
static bool fgByte_order_known