From: "being_ _." Date: 2012-02-09T15:50:26+09:00 Subject: Re: Microrant on Ruy's Math Skills 1.1 + -1.to_f = 1.0, with a radix of |Q| binary isn't required if you use excess-127 Gary Wright wrote in post #1041917: > On Jan 21, 2012, at 9:06 AM, Intransition wrote: > >> So simple... >> >> 1.1 - 1.to_f == 0.1 >> >> false >> >> (*rumble*) (*rumble*) Pathetic! > > > Decimal literals (e.g. 1.1) can't always be represented exactly as > binary floats: -- Posted via http://www.ruby-forum.com/.