Expand description

Equality of Integers and primitive floats.

partial_eq

use malachite_nz::integer::Integer;

assert!(Integer::from(123u32) == 123.0f32);
assert!(Integer::from(123u32) != -5.0f32);

assert!(123.0f32 == Integer::from(123u32));
assert!(-5.0f32 != Integer::from(123u32));