name="test"just gets fresh'd to
==method that takes 2 Float64's at the module level? For some reason the compiler thinks I'm trying to define a setter method and yells about syntax...
module MyModule def ==(x : Float64, y : Float64) # setter method '==' cannot have more than one argument ... end end
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.