From: Stefan Rusterholz Date: 2007-07-20T06:36:14+09:00 Subject: Re: Float.to_int not working ?? Kyle Schmitt wrote: > On 7/19/07, Stefan Rusterholz wrote: >> Not sure but it seems that you think 64bitness of a System influences >> the float accuracy. It does not. > It can increase the accuracy of the estimation. > 0.3333333333333333333333333333333333333 > is a better estimation of 1/3 than > 0.33 > etc.. > In more complex cases it makes more of a difference, but it's still > just an estimation. > > --Kyle Ya, but that's nothing to do with a system being 32 or 64bit, you can have 64bit floats on both, on some even 80bit. That 128bit coprocessor he talked about, I guess is Altivec, which only does single precision float (32bit) operations. Not every X bit means the same. The context has a big part in that. Regards Stefan -- Posted via http://www.ruby-forum.com/.