digitalmars.D.bugs - [Issue 2263] New: spec does not specify how padding on 80 bit real is initialized
- d-bugmail puremagic.com (19/19) Aug 01 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2263
- d-bugmail puremagic.com (12/12) Aug 03 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2263
http://d.puremagic.com/issues/show_bug.cgi?id=2263 Summary: spec does not specify how padding on 80 bit real is initialized Product: D Version: 1.033 Platform: PC OS/Version: Linux Status: NEW Keywords: spec Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: tomas famolsen.dk on linux real takes 12 bytes for 32bit alignment. the spec does not specify if the extra 2 byte padding should be zero initialized or not. other basic types which might be implemented with a larger allocation than they use for data could also use clarification on this. --
Aug 01 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2263 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID The spec specifies them in expression.html#EqualExpression: "Equality for struct objects means the bit patterns of the objects match exactly (the existence of alignment holes in the objects is accounted for, usually by setting them all to 0 upon initialization)." --
Aug 03 2008