[Issue 15956] Incorrect value inside enum using simd vectors, weird tym errors, and weird if(true) {} partial solution.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 1 17:09:51 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=15956
--- Comment #2 from joeks at mail.de ---
As far as I can tell this problem stems from the fact, that some of the types
in core.simd are not working AT ALL.
Consider this simple example:
double4 f;
f[0] = 1.0;
f[1] = 2.0;
f[2] = 3.0;
f[3] = 4.0;
writeln(f);
This outputs: [1, 2, 0, 6.95325e-310]
I wonder has noone ever tried to use this type in any program or did not notice
this obviously completely wrong result?
Edit: Does work correctly with gdc.
--
More information about the Digitalmars-d-bugs
mailing list