FloatingPointRounder class
Determines whether discarded floating-point bits require an increment.
- Implementers
Constructors
- FloatingPointRounder(Logic inp, int lsb, {required FloatingPointRoundingMode roundingMode, Logic? sign, Logic? extraSticky})
-
Determines rounding for
inp, retaining bits fromlsbupward. - FloatingPointRounder.fromGRS({required Logic retainedLsb, required Logic guard, required FloatingPointRoundingMode roundingMode, Logic? roundBit, Logic? sticky, Logic? extraSticky, Logic? sign})
- Determines rounding from explicit retained and discarded-bit fields.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited