1 Feb 2012 03:40
Re: cent and ucent?
Walter Bright <newshound2 <at> digitalmars.com>
2012-02-01 02:40:33 GMT
2012-02-01 02:40:33 GMT
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.
RSS Feed