digitalmars.D.bugs - [Issue 1798] New: Wrong constant folding in static array types.
- d-bugmail puremagic.com (21/21) Jan 22 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1798
- d-bugmail puremagic.com (4/5) Jan 22 2008 Ah, it's the other way around. The imaginary part is cut off.
- d-bugmail puremagic.com (4/4) Jan 22 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1798
- d-bugmail puremagic.com (13/13) Jun 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=1798
http://d.puremagic.com/issues/show_bug.cgi?id=1798 Summary: Wrong constant folding in static array types. Product: D Version: 1.024 Platform: PC OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: aziz.kerim gmail.com char[1i] a; // char[0] char[1-1i] b; // char[1] char[2+1i] c; // char[2] const x = 2+1i; // typeof(x) == cdouble char[x] d; // char[2] It looks like the real part of the complex number is always chopped off. Should be an error in the constant folding code. --
Jan 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1798It looks like the real part of the complex number is always chopped off.Ah, it's the other way around. The imaginary part is cut off. --
Jan 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1798 *** Bug 1799 has been marked as a duplicate of this bug. *** --
Jan 22 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1798 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Version|1.024 |D1 & D2 Resolution| |FIXED This works in current dmd (1.068 & 2.053) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2011