Method: PropCheck::Generators.nonpositive_float

Defined in:
lib/prop_check/generators.rb

.nonpositive_floatObject

Generates nonpositive floating point numbers Will generate special floats (except NaN) from time to time. c.f. #float



256
257
258
# File 'lib/prop_check/generators.rb', line 256

def nonpositive_float
  nonnegative_float.map(&:-@)
end