[Issue 5227] X ^^ FP at compile-time
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Dec 31 23:47:45 PST 2014
https://issues.dlang.org/show_bug.cgi?id=5227
Manu <turkeyman at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |major
--- Comment #6 from Manu <turkeyman at gmail.com> ---
Okay, so this has obviously come up a lot.
It's a real problem not being able to express any non-linear function in CTFE.
I'm changing this to a high-priority bug, rather than an enhancement request. I
don't think pow() was deliberately designed not to support CTFE(?).
It's an operator (^^), and users should surely expect that all basic operators
work in CTFE.
--
More information about the Digitalmars-d-bugs
mailing list