Exact

com.phasmidsoftware.number.algebra.eager.Exact
See theExact companion trait
object Exact

Companion object for the Exact type, providing utility methods and typeclass instances.

The Exact object contains a strictly defined FuzzyEq instance that enforces exact equality. This implementation does not consider any probability thresholds or fuzziness levels, ensuring comparisons are deterministic and precise.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Exact.type

Members list

Givens

Givens

Defines a FuzzyEq instance for the Exact type.

Defines a FuzzyEq instance for the Exact type.

This implementation of fuzzy equality is strictly based on exact equality, meaning that two values of type Exact are considered equal if and only if they are precisely the same, regardless of the provided probability threshold.

Attributes

Returns

A FuzzyEq[Exact] instance where equality is determined by the default equality operator.