pub enum IntegerError {
LengthMismatch,
NegativeMultiplier,
ShiftOutOfRange,
InputOutOfRange,
AccumulatorOverflow,
}Expand description
A TOSA integer arithmetic precondition was not satisfied.
Variants§
LengthMismatch
Operands that form one dot product have different lengths.
NegativeMultiplier
TOSA requires a non-negative fixed-point multiplier.
ShiftOutOfRange
TOSA scaling shifts are restricted to the inclusive range 2..=62.
InputOutOfRange
The input violates an operator REQUIRE range.
AccumulatorOverflow
Exact intermediate arithmetic does not fit its TOSA accumulator type.
Trait Implementations§
Source§impl Clone for IntegerError
impl Clone for IntegerError
impl Copy for IntegerError
Source§impl Debug for IntegerError
impl Debug for IntegerError
impl Eq for IntegerError
Source§impl PartialEq for IntegerError
impl PartialEq for IntegerError
impl StructuralPartialEq for IntegerError
Auto Trait Implementations§
impl Freeze for IntegerError
impl RefUnwindSafe for IntegerError
impl Send for IntegerError
impl Sync for IntegerError
impl Unpin for IntegerError
impl UnsafeUnpin for IntegerError
impl UnwindSafe for IntegerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more