Constraint that relaxes the equivalence threshold for float values (primitive type decimal
).
Similar to fuzzy-string-equality
, this equivalence definition allows you to specify the true-tolerance
and uncertain-tolerance
. The distance calculation is simply the absolute value of the difference between both numbers.
You cannot use non-numeric concepts with fuzzy-numeric-equality
.
true-tolerance required | Specifies the threshold below which the equivalence function will return true |
uncertain-tolerance required | Specifies the threshold of which below uncertain-tolerance but above true-tolerance will return uncertain |
Copyright 2025 Samsung All rights reserved