On 13 May 2016 at 07:12, Manu via Digitalmars-d
<[email protected]> wrote:
> On 13 May 2016 at 11:03, Walter Bright via Digitalmars-d
> <[email protected]> wrote:
>> On 5/12/2016 4:32 PM, Marco Leise wrote:
>>>
>>> - Unless CTFE uses soft-float implementation, depending on
>>>   compiler and flags used to compile a D compiler, resulting
>>>   executable produces different CTFE floating-point results
>>
>>
>> I've actually been thinking of writing a 128 bit float emulator, and then
>> using that in the compiler internals to do all FP computation with.
>
> No. Do not.
> I've worked on systems where the compiler and the runtime don't share
> floating point precisions before, and it was a nightmare.

I have some bad news for you about CTFE then. This already happens in
DMD even though float is not emulated.  :-o

Reply via email to