CTFE ^^ (pow)
Walter Bright
newshound2 at digitalmars.com
Fri Mar 23 10:16:24 UTC 2018
On 3/17/2018 9:25 PM, Manu wrote:
> What is so hard about implementing a pow intrinsic that CTFE can use?
https://github.com/dlang/dmd/pull/8071
> It's one of those blocker bugs that's been there almost 10 years.
It's one that seems to engender lots of comments, but no action.
(BTW, there's a way to do it without the CTFE fix. One can use the approach I've
always used in the past for C, which is write a separate program to generate the
tables. This was used in the DMD build, and was gradually replaced with CTFE. It
still exists in the backend, which is still in C++.)
More information about the Digitalmars-d
mailing list