Skip to main content

WIDE_DIGITS

Constant WIDE_DIGITS 

Source
pub const WIDE_DIGITS: usize = 39;
Expand description

The low WIDE_DIGITS digits are signed radix 32, the rest radix 16.

39 * 5 + 15 * 4 = 255 bits. The split balances the machine’s slots: a radix-32 lookup scans 8 entry pairs and a radix-16 one 4, every digit costs one 7-multiply mixed addition, and with this split scans and multiplies both total about 375 per fixed-base multiplication.