NetBSD amd64: which way is the best for supporting 80 bits real/double?

kinke via Digitalmars-d digitalmars-d at puremagic.com
Thu May 11 06:09:20 PDT 2017


On Thursday, 11 May 2017 at 11:31:58 UTC, Nikolay wrote:
> On Thursday, 11 May 2017 at 11:10:50 UTC, Joakim wrote:
>> Well, if you don't like what's available and NetBSD doesn't 
>> provide them... up to you to decide where that leads.
>
> In any case it was not my decision. LDC does not use x87 for 
> math functions on other OS's.

LDC does use x87 reals on x86, the only exception I'm aware of 
being Windows (MSVC targets, MinGW would use x87), as the MS C 
runtimes don't support x87 at all (and they also define a 64-bit 
`long double` type, so the choice was pretty obvious).

I don't have a strong opinion on whether the NetBSD x86 real 
should be 80 bits with a lot of tweaked tests or 64 bits. The 
latter is surely the simpler approach though.


More information about the Digitalmars-d mailing list