TorchLean API

NN.IR.BinaryProofs

Binary IR conversion semantics #

The interpreter's conversion returns FloatLib's specified directed rounding of the exact source encoding. This statement includes exceptional encodings; it does not assign a real value to NaN or infinity. FloatLib supplies the finite rounding and error theorems applicable when their additional hypotheses hold.

A successful interpreter cast delivers exactly FloatLib's directed binary conversion.