Searched refs:CheckedNeg (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/num-traits/src/ops/ |
D | checked.rs | 162 pub trait CheckedNeg: Sized { trait 182 checked_impl_unary!(CheckedNeg, checked_neg, u8); 183 checked_impl_unary!(CheckedNeg, checked_neg, u16); 184 checked_impl_unary!(CheckedNeg, checked_neg, u32); 185 checked_impl_unary!(CheckedNeg, checked_neg, u64); 186 checked_impl_unary!(CheckedNeg, checked_neg, usize); 188 checked_impl_unary!(CheckedNeg, checked_neg, u128); 190 checked_impl_unary!(CheckedNeg, checked_neg, i8); 191 checked_impl_unary!(CheckedNeg, checked_neg, i16); 192 checked_impl_unary!(CheckedNeg, checked_neg, i32); [all …]
|
/external/angle/src/common/third_party/base/anglebase/numerics/ |
D | safe_math_impl.h | 309 CheckedNeg(T value, RangeConstraint *validity) 319 CheckedNeg(T value, RangeConstraint *validity) 385 typename std::enable_if<std::numeric_limits<T>::is_iec559, T>::type CheckedNeg(T value,
|
D | safe_math.h | 155 T value = CheckedNeg(state_.value(), &validity);
|
/external/rust/crates/num-traits/src/ |
D | lib.rs | 41 CheckedAdd, CheckedDiv, CheckedMul, CheckedNeg, CheckedRem, CheckedShl, CheckedShr, CheckedSub,
|
/external/rust/crates/num-traits/ |
D | RELEASES.md | 134 - [The new `CheckedNeg` and `CheckedRem` traits][63] perform checked `Neg` and
|