CTFE pow()
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 12 23:42:43 PST 2015
On Thursday, 1 January 2015 at 16:56:24 UTC, Manu via
Digitalmars-d wrote:
> Does anyone know how to fix this? Can we please do so? It's
> been a
> problem for like 5 years it seems.
> It's a bit insane that we can't resolve any non-linear
> functions at
> compile time.
Oh, we got yl2x recently [1].
So, your code here ->
https://github.com/D-Programming-Language/dmd/blob/6fe4b48891ff5d7d171f718b2a4af6ddbb6714ec/src/builtin.c#L183
[1]: https://github.com/D-Programming-Language/dmd/pull/4012
More information about the Digitalmars-d
mailing list