[Issue 7508] New: float4 values aren't stored on initialisation
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Feb 15 08:11:47 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7508
           Summary: float4 values aren't stored on initialisation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: junk.Nebster at gmail.com
--- Comment #0 from junk.Nebster at gmail.com 2012-02-15 08:11:46 PST ---
When running the code below, the float 2 should be stored yet it isn't. On
Linux, the output is 4 lines of -nan, on Mac, the output is 4 lines of 0.0:
import core.simd;
import std.conv;
import std.stdio;
void main() {
  float4 fl = 2;
  foreach(f; fl.array)
    writefln("%f", f);
}
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list