nearly_equals?seems to be the desired behavior. I'll have to inspect it to see if it is semantically equivalent with what I need.
=~for the language's Float type. I was hoping to not monkey patch the whole language, if that is what this is doing, and only introduce this overload when used in my specific module.
=~of 2 floats.
struct FloatWrapper @value : Float64 forward_missing_to @value def initialize(@value : Float64); end def special_method end end