TorchLean API

FloatLib.Floats.ExecFloat.Instances

Ordinary notation for ExecFloat #

Ordinary operators call the selected ExecFloat operations. Each instance requires the corresponding arithmetic or comparison capability. Formats whose values have a lawful total order provide their own LinearOrder.

@[instance_reducible]

+ is ordinary notation for the public format-selected addition capability.

@[instance_reducible]

- is ordinary notation for the public format-selected subtraction capability.

@[instance_reducible]

* is ordinary notation for the public format-selected multiplication capability.

@[instance_reducible]

/ is ordinary notation for the public format-selected division capability.

@[instance_reducible, instance 2000]

== uses the format-defined comparison rather than structural code equality.