au.id.tmm.utilities.testing
package au.id.tmm.utilities.testing
Type members
Classlikes
A floating-point number with a range of values small enough to make it efficient to test every value.
A floating-point number with a range of values small enough to make it efficient to test every value.
MiniFloat
can have one of the following 14 values:
-
NegativeInfinity
-
-8.0
-
-4.0
-
-2.0
-
-1.0
-
-0.5
-
0.0
-
0.5
-
1.0
-
2.0
-
4.0
-
8.0
-
PositiveInfinity
-
NaN
In almost all respects (overflows, value approximation, floating point errors) it behaves similarly to Float
and
Double
. The main difference is that MiniFloat
does not support the -0.0
value, which is represented as 0.0
.
- Companion:
- object