pub fn rabin_miller(n: i64) -> boolExpand description
Whether a number is prime: music21’s rabinMiller, answered for the
number’s magnitude, so a negative number is as prime as its opposite.
music21 tests random witnesses and answers “probably”; the witnesses here are the ones that decide every 64-bit number exactly.