Re: Flaoting point operations : unexpected results

2021-06-11 Thread frame via Digitalmars-d-learn
On Thursday, 10 June 2021 at 20:18:03 UTC, seany wrote: On Thursday, 10 June 2021 at 19:51:51 UTC, Dennis wrote: On Thursday, 10 June 2021 at 19:37:36 UTC, seany wrote: However, i sometimes see, that the results are _radically_ different. Are you using uninitialized memory or

Re: Flaoting point operations : unexpected results

2021-06-10 Thread Alain De Vos via Digitalmars-d-learn
Normally computers are deterministic and same input produces same output. There is however theory on neural network stability and it can be tuned.

Re: Flaoting point operations : unexpected results

2021-06-10 Thread seany via Digitalmars-d-learn
On Thursday, 10 June 2021 at 19:51:51 UTC, Dennis wrote: On Thursday, 10 June 2021 at 19:37:36 UTC, seany wrote: However, i sometimes see, that the results are _radically_ different. Are you using uninitialized memory or multi-threading? I am using things like : `double [][] myArr = new

Re: Flaoting point operations : unexpected results

2021-06-10 Thread Dennis via Digitalmars-d-learn
On Thursday, 10 June 2021 at 19:37:36 UTC, seany wrote: However, i sometimes see, that the results are _radically_ different. Are you using uninitialized memory or multi-threading?

Flaoting point operations : unexpected results

2021-06-10 Thread seany via Digitalmars-d-learn
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