newCTFE Status November 2018

Joakim dlang at
Sat Dec 8 04:06:11 UTC 2018

On Saturday, 8 December 2018 at 00:32:58 UTC, Stefan Koch wrote:
> Hi All,
> I have short but good news, non-default class-constructors work 
> now.
> (this was tricky because of my unorthodox vtbl layout).
> And another exciting news item, newCTFE is going to support 
> cross-platform floating-point as soon as I got around to 
> re-implementing, the qemu fork of softfloat-2.

What do you mean by "cross-platform floating-point," using the 
same implementation everywhere without calling _any_ libc/arch 

> That'll result in a compile-time testable floating point 
> implementation ;) Pretty cool, huh.

How does that differ from the current implementation?

Btw, do you know some way to get the current compile-time real's 
precision in D code? It would be useful to avoid static asserts 
from overflowing when the runtime real's precision exceeds the 
compile-time real's precision, which doesn't happen with dmd but 
can with ldc:

More information about the Digitalmars-d mailing list