On 31 January 2012 18:47, Marco Leise <marco.le...@gmx.de> wrote: > Am 31.01.2012, 16:07 Uhr, schrieb Stewart Gordon <smjg_1...@yahoo.com>: > > >> On 30/01/2012 16:00, Timon Gehr wrote: >>> >>> On 01/30/2012 03:59 AM, H. S. Teoh wrote: >>>> >>>> On Sun, Jan 29, 2012 at 05:48:40PM -0800, Walter Bright wrote: >>>>> >>>>> On 1/29/2012 2:26 PM, Jonathan M Davis wrote: >>>>>> >>>>>> long double is 128-bit. >>>>> >>>>> >>>>> Sort of. It's 80 bits of useful data with 48 bits of unused padding. >>>> >>>> >>>> Really?! Ugh. Hopefully D handles it better? >>>> >>>> T >>> >>> >>> It is what the x86 hardware supports. >> >> >> As I try it, real.sizeof == 10. And by According to DMC 8.42n (where is >> 8.52?), sizeof(long double) == 10 as well. >> >> Stewart. > > > pragma(msg, real.sizeof); > > Prints the expected platform alignment for me: > > DMD64 / GDC64: 16LU
It varies from platform to platform, and depending on what target flags you pass to GDC. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';