kotest-property / io.kotest.property.arbitrary / numericFloats

numericFloats

fun Arb.Companion.numericFloats(from: Float = -Float.MAX_VALUE, to: Float = Float.MAX_VALUE): Arb<Float>

Returns an Arb which is the same as float but does not include +INFINITY, -INFINITY or NaN.

This will only generate numbers ranging from from (inclusive) to to (inclusive)