44 DiyFp(uint64_t
f,
int e) : f_(f), e_(e) {}
83 const uint64_t k10MSBits =
static_cast<uint64_t
>(0x3FF) << 54;
84 while ((f & k10MSBits) == 0) {
88 while ((f & kUint64MSB) == 0) {
102 uint64_t
f()
const {
return f_; }
103 int e()
const {
return e_; }
105 void set_f(uint64_t new_value) { f_ = new_value; }
106 void set_e(
int new_value) { e_ = new_value; }
109 static const uint64_t kUint64MSB =
static_cast<uint64_t
>(1) << 63;
117 #endif // V8_DIY_FP_H_
static DiyFp Minus(const DiyFp &a, const DiyFp &b)
static const int kSignificandSize
void set_f(uint64_t new_value)
static DiyFp Normalize(const DiyFp &a)
#define ASSERT(condition)
void Subtract(const DiyFp &other)
void Multiply(const DiyFp &other)
static DiyFp Times(const DiyFp &a, const DiyFp &b)
void set_e(int new_value)