cent and ucent?
Walter Bright
newshound2 at digitalmars.com
Tue Jan 31 18:40:33 PST 2012
On 1/31/2012 4:28 PM, Stewart Gordon wrote:
> That isn't alignment, that's padding built into the type. I assume you're
> testing on Linux. I've heard before that long double/real is 12 bytes under
> Linux because it includes 2 bytes of padding. I don't know why Linux does it
> that way, but there you go.
Both the alignment and padding of reals changes from platform to platform.
More information about the Digitalmars-d
mailing list