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


--- Comment #0 from run3 myopera.com 2014-01-10 23:23:46 PST ---
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


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2014-01-11 00:48:22
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


--- Comment #2 from run3 myopera.com 2014-03-05 14:54:57 PST ---
Fixed in git.

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