On Tue, 2003-01-28 at 17:12, Garrett Goebel wrote: > Leopold Toetsch wrote: > > > > - 8/12 byte float issues are still the same - are these > > formats really portable, or should we try to store > > ASCII equivalents? > > No? > > ? Because my knowledge here approaches zero, so I'm just aping information > back at you from google searches and scanning documents. > > There are 3 standard binary IEEE 754 derived formats: > > Single Precision: 4 bytes > Double Precision: 8 bytes > Quadruple Precision: 16 bytes
Actually, Quads aren't standard. 'long doubles' and the ilk are double extended, and require at least 10 bytes. (Which, coincidentally, is the size of the x86 fp registers.) In memory, they're padded to 12 or 16 bytes to preserve word boundaries. -- Bryan C. Warnock bwarnock@(gtemail.net|raba.com)