gluesql / gluesql

GlueSQL is quite sticky. It attaches to anywhere.

Home Page:https://gluesql.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace f32 and f64 with OrderedFloat

cl-kim opened this issue · comments

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.