users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More floating point digits?


From: Dave Sworin
Subject: More floating point digits?
Date: Thu, 30 Oct 2008 02:01:02 -0700 (PDT)

I checked a 64-bit and 32-bit system for max_integer with the following results:
AMD Athlon 64 max_integer is 1152921504606846975 :)
Intel Pentium 3 max_integer is 268435455
 
However when I check the floating point representation I always get the same
16 meaningfull digits.  The maximum exponent was 307.
AMD Athlon 64: X is (1/3).  X = 0.33333333333333331 ;)
Intel Pentium 3: X is (1/3).  X = 0.33333333333333331
 
Is there a build option when increases the floating point precision or is this
representation part of gprolog 1.3.0.
 
Dave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]