Static-byte exact conversion runtime #
Nominal families backed by StaticByte.Family decode through SignedRat and use the shared binary
conversion policy and numerical contract.
The adapter uses the family descriptor and byte codec, independently of its arithmetic kernels.
Typeclass installation lives in Conversion.Instances; correctness equations live in
Conversion.Proof.
Decode a static-byte value into the signed-rational domain, keeping the sign of zero.
Instances For
Pack a rounded binary model into the nominal family's direct byte carrier.
Instances For
Quantize one finite signed rational into the nominal static-byte destination.
Instances For
Apply the explicit infinity policy to a nominal static-byte destination.
Instances For
Apply the explicit exceptional-value policy to a nominal static-byte destination.
Instances For
Reference conversion for every complete exact observation.
Instances For
Shared binary outcome and nearest-value contract, transported through the static-byte codec.
Instances For
Every nominal static-byte binary source decodes exactly through SignedRat.