Function ff_group_tests::prime_field::test_is_odd

source ·
pub fn test_is_odd<F: PrimeField>()
Expand description

Test is_odd/is_even works.

This test assumes an odd modulus with oddness being determined by the least-significant bit. Accordingly, this test doesn’t support fields alternatively defined. TODO: Improve in the future.