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
    @[instance_reducible]
    @[instance_reducible]
    @[instance_reducible]
    @[instance_reducible]

    Apply the given sign to the given integer.

    Instances For

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

      Instances For

        Constructs a sign from a bitvector, with positive sign denoted by 0.

        Instances For