From: Anton Hornquist Date: 2012-07-07T16:11:21+09:00 Subject: Re: IEEE extended precision float Brian Candler wrote in post #1067753: > What do you want to read it into? A ruby Float is just a double, you > will lose precision. Is that acceptable, or do you want to read into a > BigDecimal, or something else? See my second post. It's okay to lose precision. In fact, a ruby Integer value is fine. Sample rates of sound files are typically integers. I cant understand why a 80 bit float value is used for AIF. The common WAV file format uses integers for sample rate. I guess this is quite simple. I just cant get my head around the description in the wikipedia page. Yet. http://en.m.wikipedia.org/wiki/Extended_precision /Anton -- Posted via http://www.ruby-forum.com/.