TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Arithmetic.Constants

Correctness of finite constants #

The format-generic encodings of positive and negative one are finite normal values and decode to the corresponding real constants. These facts are useful for powers, reciprocals, and executable interval constructors.

@[simp]

Positive one is finite in every supported format.

@[simp]

Negative one is finite in every supported format.

@[simp]

Positive one denotes the real number 1 in every supported format.

@[simp]

Negative one denotes the real number -1 in every supported format.