multiply method

FloatingPoint multiply(
  1. dynamic other, {
  2. FloatingPointRoundingMode roundingMode = FloatingPointRoundingMode.roundNearestEven,
})

Multiplies by other using a simple floating-point multiplier.

Implementation

FloatingPoint multiply(dynamic other,
    {FloatingPointRoundingMode roundingMode =
        FloatingPointRoundingMode.roundNearestEven}) {
  final comparable = _validateComparable(other);
  return FloatingPointMultiplierSimple<FloatingPoint, FloatingPoint>(
          this, comparable,
          roundingMode: roundingMode)
      .product;
}