TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Model.SignedERealSemantics

Signed extended-real interpretation of binary models #

Executable, policy-aware negation reverses the extended-real interpretation of every non-NaN value. The result applies uniformly to finite values and infinities; only NaNs are excluded.

Executable float negation distributes over a conditional choice.

Negating any non-NaN executable float negates its extended-real interpretation.