Package it.unibo.alchemist.util
Object Doubles
-
-
Method Summary
Modifier and Type Method Description final Boolean
fuzzyEquals(Double $self, Double other)
Checks if two double values are fuzzy equal. final Boolean
fuzzyIn(Double $self, ClosedRange<Double> range)
Checks if a double value is fuzzy contained in a range. -
-
Method Detail
-
fuzzyEquals
final Boolean fuzzyEquals(Double $self, Double other)
Checks if two double values are fuzzy equal.
-
fuzzyIn
final Boolean fuzzyIn(Double $self, ClosedRange<Double> range)
Checks if a double value is fuzzy contained in a range.
- Parameters:
range
- the range
-
-
-
-