Float[] * Real is a Float[]?

Jonathan Levi catanscout at gmail.com
Tue Dec 10 19:22:01 UTC 2019


Why does this not work?


     float[3] a = [10,2,4];
     real b = 5.5;
     real[3] c;
     c[] = a[]*b;

Is this intentional or a but?  Why is a[]*b a float array and not 
a real array?


More information about the Digitalmars-d mailing list