Home | History | Annotate | Download | only in numerics

Lines Matching defs:validity

54       : state_(rhs.ValueUnsafe(), rhs.validity()) {}
57 CheckedNumeric(Src value, RangeConstraint validity)
58 : state_(value, validity) {}
70 bool IsValid() const { return validity() == RANGE_VALID; }
86 // ValueFloating() - Since floating point values include their validity state,
94 // validity() - DO NOT USE THIS IN EXTERNAL CODE - It is public right now for
97 // Returns: current validity state (i.e. valid, overflow, underflow, nan).
101 RangeConstraint validity() const { return state_.validity(); }
120 RangeConstraint validity;
121 T value = CheckedNeg(state_.value(), &validity);
126 validity = GetRangeConstraint(state_.validity() | validity);
127 return CheckedNumeric<T>(value, validity);
131 RangeConstraint validity;
132 T value = CheckedAbs(state_.value(), &validity);
137 validity = GetRangeConstraint(state_.validity() | validity);
138 return CheckedNumeric<T>(value, validity);
206 GetRangeConstraint(rhs.validity() | lhs.validity())); \
207 RangeConstraint validity = RANGE_VALID; \
210 &validity); \
213 GetRangeConstraint(validity | lhs.validity() | rhs.validity())); \
230 GetRangeConstraint(rhs.validity() | lhs.validity())); \
241 lhs.validity()); \
252 rhs.validity()); \