Binary-format quantization as an Ops arithmetic model
Library · Source module
Binary-format quantization as an Ops arithmetic model
The mathematical real carrier stores the quantized values. A certified nearest-integer selector fixes the tie policy. Mixed accuracy includes gradual underflow; a separate representability theorem requires the finite-range condition. This model does not claim a physical finite word encoding or a native arithmetic implementation.
Main results
* NLAlib.Ops.BinaryQuantized.mixedModel_machine: the scalar arithmetic accuracy law. * NLAlib.Ops.BinaryQuantized.decode_lit_zero: exact literal zero.