pub(crate) fn parity(n: i32) -> f64
(-1)^n as a float, for the sign factors of degrees and orders.
(-1)^n