Skip to main content

generate_antilog_table

Function generate_antilog_table 

Source
pub fn generate_antilog_table() -> [[u16; 10]; 100]
Expand description

Generate the antilog table: uint16[10][100].

The full antilog index range is 0-9999 (ANTILOG_IDX_CARDINALITY). The main table has 1000 entries (100 rows × 10 cols), one per group of 10 consecutive indices. Flattened entry k corresponds to indices k10 through k10+9. Value = round(10^(k*10/10000) * 1000).