Constant MAX

Source
pub const MAX: usize = _; // 31usize
Expand description

Maximum number of variables supported by gen() functions.

  • 15 variables is supported on 16-bit targets
  • 31 variables is supported on 32-bit targets
  • 63 variables is supported on 64-bit targets
// Assuming `usize` is 64 bits, i.e. `u64`
assert_eq!(truth_values::MAX, 63);

Use count(n) to calculate how many combinations n variables produces.

See warning notice in crate root.