proptest::num::f64

Constant ZERO

source
pub const ZERO: Any;
Expand description

Generates zero-valued floats.

Note that IEEE floats support both positive and negative zero, so this class does interact with the sign flags.

If neither POSITIVE nor NEGATIVE is OR’ed with this constant, POSITIVE is implied.