From: Alex Young Date: 2007-06-26T16:12:03+09:00 Subject: Re: Ruby doesn't know how to multiply Nobuyoshi Nakada wrote: > Hi, > > At Mon, 25 Jun 2007 01:52:07 +0900, > Stefan Rusterholz wrote in [ruby-talk:256798]: >> I think Float#== as it is is fine. Arguably it could use delta >> comparison with Float::EPSILON and leave the exact comparison to eql? >> But I'd like it if Float#in_delta(other, delta=Float::EPSILON) was in >> core (personally I add it in my libs as Numeric#in_delta). > > What about Float#neary= ? :) > Float#=~ isn't being used for anything... -- Alex