Home | History | Annotate | Download | only in i18n

Lines Matching defs:DiyFp

50 // with a uint64 significand and an int exponent. Normalized DiyFp numbers will
53 // DiyFp are not designed to contain special doubles (NaN and Infinity).
54 class DiyFp {
58 DiyFp() : f_(0), e_(0) {}
59 DiyFp(uint64_t significand, int exponent) : f_(significand), e_(exponent) {}
65 void Subtract(const DiyFp& other) {
74 static DiyFp Minus(const DiyFp& a, const DiyFp& b) {
75 DiyFp result = a;
82 void Multiply(const DiyFp& other);
85 static DiyFp Times(const DiyFp& a, const DiyFp& b) {
86 DiyFp result = a;
111 static DiyFp Normalize(const DiyFp& a) {
112 DiyFp result = a;