is real an 80-bit type or not?
Bill Baxter
wbaxter at gmail.com
Sat Dec 16 02:59:44 PST 2006
Anders F Björklund wrote:
> Bill Baxter wrote:
>
> In my case it's on my pet peeves list because of the "it's 10 for me".
> So you have hardcoded assertions that real.sizeof > double.sizeof...
>
> Kinda like the "if (Win32) else //linux ;", it's making assumptions.
> They are valid for DMD, but break for GDC - and make porting harder ?
>
> But most of all I dislike the "imaginary real" and the "complex real".
> (see http://www.digitalmars.com/d/archives/digitalmars/D/18061.html)
>
> Since it's not going to change anyway, I'm OK with coping with it...
> But still think the 16-bit and 128-bit types would have been nice ?
I see. So really it's nothing particular to D. More with D users, and
even then, users making assumptions about platforms is far from unique
to D. Glad to know it's nothing seriously wrong with D's 80-bit math on
platforms that have it.
--bb
More information about the Digitalmars-d-learn
mailing list