52 const double MOREBITS = 6.123233995736765886130E-17;
55 const float MAXNUMF = 3.4028234663852885981170418348451692544e38f;
109 const uint64_t mask=0x8000000000000000ULL;
148 const uint32_t mask=0x80000000;
160 uint64_t le = (n >> 52);
167 n &=0x800FFFFFFFFFFFFFULL;
170 const uint64_t p05 = 0x3FE0000000000000ULL;
181 int32_t
e = (n >> 23)-127;
185 const uint32_t p05f = 0x3f000000;
219 int32_t ret = int32_t (x);
231 int32_t ret = int32_t (x);
float uint322sp(int x)
Converts an int to a float.
uint32_t sp2uint32(float x)
Converts a float to an int.
float int2fp(uint32_t i)
Converts an int to fp.
float getMantExponentf(const float x, float &fe)
Like frexp but vectorising and the exponent is a float.
double dpXORuint64(const double x, const uint64_t i)
Makes a XOR of a double and a unsigned long long.
double fpfloor(const double x)
A vectorisable floor implementation, not only triggered by fast-math.
uint64_t getSignMask(const double x)
double dpANDuint64(const double x, const uint64_t i)
Makes an AND of a double and a unsigned long long.
uint64_t dp2uint64(double x)
Converts a double to an unsigned long long.
double uint642dp(uint64_t ll)
Converts an unsigned long long to a double.
uint32_t fp2uint(float x)
Converts a fp to an int.
float spANDuint32(const float x, const uint32_t i)
Makes an AND of a float and a unsigned long.
float spXORuint32(const float x, const uint32_t i)
Makes an OR of a float and a unsigned long.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Used to switch between different type of interpretations of the data (64 bits)
float spORuint32(const float x, const uint32_t i)
Makes an OR of a float and a unsigned long.
double dpORuint64(const double x, const uint64_t i)
Makes an OR of a double and a unsigned long long.
double getMantExponent(const double x, double &fe)
Like frexp but vectorising and the exponent is a double.