Replace f32 and f64 with OrderedFloat
cl-kim opened this issue · comments
cl-kim commented
In glueSQL, it is used f32 and f64 for float value. However, f32 and f64 do not implement the Eq traits.
therefore, I intend to replace f32 and f64 with OrderedFloat.
OrderedFloat is a wrapper that introduces a total ordering for floating-point numbers, and it provides implementations for Eq, Ord, and Hash.
If this replacement is implemented, Value will become compatible with the Eq trait.