Documentation

Init.Data.Float.Model.Unpacked.Sign

Inductive with two constructors negative and positive for representing sign bits in floating-point models. This is not a general-purpose sign type like mathlib's SignType, which also includes a zero case.

  • negative : Sign

    Negative (-) sign.

  • positive : Sign

    Positive (+) sign.

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

      Apply the given sign to the given integer.

      Equations
      Instances For

        Converts the sign to a bitvector, with positive sign denoted by 0.

        Equations
        Instances For