← Back to index
|
Original Bugzilla link
Bug 11901 – real win64
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-01-10T23:23:00Z
Last change time
2015-06-09T01:31:20Z
Assigned to
nobody
Creator
brocolis
Comments
Comment #0
by brocolis — 2014-01-10T23:23:46Z
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]
Comment #1
by r.sagitario — 2014-01-11T00:48:22Z
I guess this will be fixed by the changes to formatValue included in
https://github.com/D-Programming-Language/phobos/pull/1411
Comment #2
by brocolis — 2014-03-05T14:54:57Z
Fixed in git.