Bug 13917 – Can't use '^^' at compile time?!

Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-12-31T01:36:00Z
Last change time
2015-06-09T05:14:43Z
Assigned to
nobody
Creator
turkeyman

Comments

Comment #0 by turkeyman — 2014-12-31T01:36:13Z
I'm getting errors because '^^' doesn't work in ctfe?! 1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(4189): Error: Cannot convert &real to ushort* at compile time 1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5400): called from here: isNaN(y) 1>C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5572): called from here: impl(cast(real)x, cast(real)y) isNaN(), called from pow(), doesn't seem to support CTFE... I'm amazed, this seems like, really important.
Comment #1 by safety0ff.bugz — 2014-12-31T16:37:44Z
*** This issue has been marked as a duplicate of issue 5227 ***