CTFE ^^ (pow)

ketmar ketmar at ketmar.no-ip.org
Sun Mar 18 04:37:32 UTC 2018


Manu wrote:

> What is so hard about implementing a pow intrinsic that CTFE can use?
> It's ridiculous that we can't CTFE any non-linear function...
> It's one of those blocker bugs that's been there almost 10 years.

nobody bothered. it is all done by intercepting calls in CTFE engine (using 
FQN mangled names), nothing very special. i once did it in my fork (but 
then mangling scheme was changed, and i never fixed the patch, lol).


More information about the Digitalmars-d mailing list