Skip to main content

double*

function

clojure.test.check.generators/double*

(double* [{:keys [infinite? NaN? min max], :or {infinite? true, NaN? true}}])
Generates a 64-bit floating point number. Options: :infinite? - whether +/- infinity can be generated (default true) :NaN? - whether NaN can be generated (default true) :min - minimum value (inclusive, default none) :max - maximum value (inclusive, default none) Note that the min/max options must be finite numbers. Supplying a min precludes -Infinity, and supplying a max precludes +Infinity.

No examples yet. Be the first to add one!