Flaoting point operations : unexpected results

seany seany at uni-bonn.de
Thu Jun 10 19:37:36 UTC 2021


I have (as mentioned before) an AI project in D.
It is doing several million Floating Point operations.

However, i sometimes see, that the results are _radically_ 
different.

The same input, fed to the same system .

I do not have and random values. There are some *foreach* loops.

By radically different, i mean, that the computation whether some 
points are within some bound or not goes completely out of 
control. Sometimes they produce correct result, sometimes all 
results are zero.

Is there a "reproducability" problem?

Thank you.



More information about the Digitalmars-d-learn mailing list