80 bit floating point emulation

Salih Dincer salihdb at hotmail.com
Sat Jul 9 11:06:11 UTC 2022


On Saturday, 9 July 2022 at 11:00:31 UTC, Salih Dincer wrote:
> On Saturday, 9 July 2022 at 09:47:36 UTC, JG wrote:
>> On Friday, 8 July 2022 at 22:04:38 UTC, Walter Bright wrote:
>>> In order for DMD to become a proper cross compiler, it needs 
>>> to be able to emulate 80 bit floating point. The full x87 
>>> doesn't need to be emulated, just
>>> add, sub, mul, div, cmp, neg, tst.
>>>
>>> [...]
>>
>> Thinking of spending a few hours later to get an idea of how 
>> long it will take to do. Any specification to work from?

Opps!

Link of the file (int128.d):

https://github.com/WalterBright/phobos/blob/60f5bfa45a4e14038d48d8489b9304923d463867/std/int128.d

SDB at 79


More information about the Digitalmars-d mailing list