N
Nobuyoshi Nakada
Hi,
At Mon, 25 Jun 2007 01:52:07 +0900,
Stefan Rusterholz wrote in [ruby-talk:256798]:
What about Float#neary= ?
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= ?