randomFloatBetween
A random float between min (inclusive) and max (inclusive). If you wish to have an exclusive range, use Math.nextAfter to adjust the range.
The code was inspired by GeoTestUtil from Apache Lucene.
Parameters
min
Left range boundary, inclusive. May be Float.NEGATIVE_INFINITY, but not NaN.
max
Right range boundary, inclusive. May be Float.POSITIVE_INFINITY, but not NaN.