msrtc-rans-core 0.1.0

Deterministic no_std rANS primitives for msrtc_rans entropy coder
Documentation

msrtc-rans-core

Deterministic, no_std-capable rANS primitives for the msrtc_rans entropy coder.

This crate implements the raw rANS encoding and decoding primitives used by Microsoft MLVC's msrtc_rans package. The arithmetic (reciprocal preparation, Mul64Hi, fast division) is structurally faithful to the C++ implementation.

Status: The encoder and decoder equations, constants, and symbol preparation are implemented and self-consistent. Byte-level parity against the pinned Microsoft C++ oracle has not yet been established by differential court. See the msrtc-rans-court crate for ongoing parity verification.