Flaoting point operations : unexpected results

seany seany at uni-bonn.de
Thu Jun 10 20:18:03 UTC 2021


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 double [][] (0,0);`

and

  `double [][] tempArr;`

and

     class myclass {

      int a ;
      this(){}
      ~this(){}
     }

followed by :

     myclass mc = new myclass;


I dont think these are "uninitialized"?



More information about the Digitalmars-d-learn mailing list