From: Ryan Davis Date: 2012-01-24T08:19:06+09:00 Subject: Re: Microrant on Ruy's Math Skills On Jan 23, 2012, at 15:13 , Chad Perrin wrote: > On Tue, Jan 24, 2012 at 05:45:18AM +0900, Steve Klabnik wrote: >> No, it's not a terminology difference. That's why it won't work. You >> can't have some code execute to change how the parser works. Parse >> time happens before execution time. > > Ruby is pretty dynamic. It seems entirely reasonable to consider whether > Float could be redefined to dispatch to BigDecimal except when called > explicitly, for instance. Except for that whole "parse time is different from run time" part you seem to be blithely ignoring. If you've already parsed float literals, then they're floats and are already lossy.