Documentation

Fp.Multiplication

def f_mul {v e w f : Nat} (a : FixedPoint v e) (b : FixedPoint w f) :
FixedPoint (v + w) (e + f)

Multiplication of two fixed-point numbers.

Equations
Instances For
    def e_mul {v e w f : Nat} (a : EFixedPoint v e) (b : EFixedPoint w f) :
    EFixedPoint (v + w) (e + f)

    Multiplication of two extended fixed-point numbers.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def mulfixed {e s : Nat} (a b : PackedFloat e s) (m : RoundingMode) :

      Multiplication of two floating point numbers, rounded to a floating point number using the provided rounding mode.

      Implemented using e_mul, by conversion to extended fixed-point numbers.

      Equations
      Instances For
        def mul {e s : Nat} (a b : PackedFloat e s) (m : RoundingMode) :

        Multiplication of two floating point numbers, rounded to a floating point number using the provided rounding mode.

        A bit-blastable version of multiplication, without using e_mul.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def doubleRNE {e s : Nat} (a : PackedFloat e s) :

          Doubles the given floating point number, rounding to infinity if applicable.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For