[DGD] Float precision loss

Petter Nyström md1pette at mdstud.chalmers.se
Thu Apr 28 09:40:01 CEST 2005


I have run into a behaviour that looks very much like a bug to me.  I am 
running DGD 1.2.96 and just wanted to hear if there is a known fix to this 
in later released versions?

This is what I get:

<> eval 4.3 + 5.0 - 4.3 - 5.0
$6 = 5.8207661e-11

(This is compiled as LPC code, just as for the @code command in the kernel 
library I think.)

It hapens only sometimes, and not for all numbers.

If anyone knows what this is all about, please let me know also.  I will 
try upgrading to the lastest experimental version.

Regards,

Jimorie



More information about the DGD mailing list