Skip to main content

natural_base

Function natural_base 

Source
pub fn natural_base(denominators: &[u64]) -> u64
Expand description

Minimal exact base for a set of denominators: the LCM of their radicals.

natural_base(&[6, 10, 15]) == 30.