On Jun 30, 2008, at 1:02 PM, Markus Winter wrote:
I think a double should easily hold a 20 digit number. Otherwise it
would be
the worst implementation in any programming language ever.
RealBasic, like most languages in recent memory and the floating point
hardware in most CPUs, uses IEEE 754 floating point numbers. The
Double precision (64-bit) floating point numbers are limited to about
16 or 17 decimal places of accuracy. Other language may appear to
give you more digits, but in most cases these digits aren't accurate
to any degree (unless you're using a language or data type
specifically designed to give greater accuracy, such as the Decimal
type from Bob Delaney).
————————————————
Kirk Gray
REALbasic Professional 2008r2
MacBook Core 2 Duo, OS X 10.5.3
Power Mac dual G4, OS X 10.4.11
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|