www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11901] New: real win64

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11901

           Summary: real win64
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: run3 myopera.com



import std.stdio;

void main()
{
    real x[2] = [1L, 2L];
    real *y = &x[0];

    writefln("%08X %f", y, *y);
    writefln("%08X %f", y + 1, *(y + 1));
    writeln(x);
}

Compile:
dmd -m64 pointer.d

Output:
0012FB20 0.000000
0012FB2A 0.000000
[6.13064e-318, 6.13064e-318]

Compile:
dmd pointer.d

Output:
0018FE18 1.000000
0018FE22 2.000000
[1, 2]

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 10 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11901


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de



PST ---
I guess this will be fixed by the changes to formatValue included in
https://github.com/D-Programming-Language/phobos/pull/1411

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11901


run3 myopera.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



Fixed in git.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 05 2014