Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Precision of double



Hi, all. Can't find this anywhere, so...

On a G3/G4, what is the range of values for double? I'm pretty sure I recall an int being 32-bit, so would a double be 64-bit? Or is a float 64-bit, making a double 128-bit?

I'm trying to figure out just exactly how many digits I should specify for pi so it won't round off on the end and so I can have it as precise as possible.

-- Rob

[email appendRandomWittySig];




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.