Skip to main content

Module rom

Module rom 

Source
Expand description

The VRCP / VRSQ reciprocal ROMs.

512 entries each, generated by exact integer arithmetic rather than stored as literals — a deliberate departure from docs/rsp.md’s “data, not a formula” rule, argued and bounded in accuracy ledger C-31. The short version: the rule guards against approximation, and these constructions have no rounding freedom, so they reproduce the ROM rather than estimating it. The construction is ares’s (ISC).

Statics§

INVERSE_SQUARE_ROOT
The inverse-square-root ROM, likewise built at compile time.
RECIPROCAL
The reciprocal ROM, built at compile time.

Functions§

inverse_square_root
The inverse-square-root ROM entry for index.
reciprocal
The reciprocal ROM entry for index.