Skip to main content

PRODUCT_CAP

Constant PRODUCT_CAP 

Source
pub const PRODUCT_CAP: usize = 20;
Expand description

Largest |m| taken by the exact product path.

The product costs one multiply per step and buys two orders of magnitude of accuracy over the logarithmic route, so the cap is about where the multiplications stop being free rather than about where they stop being better. Integer m past this falls to the Stirling difference, which is continuous with it.

Last built: 2026-09-08 21:35:55 UTC