Thread overview | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 31, 2014 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 safety0ff.bugz <safety0ff.bugz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safety0ff.bugz@gmail.com See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=3749 -- |
December 31, 2014 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 safety0ff.bugz <safety0ff.bugz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #4 from safety0ff.bugz <safety0ff.bugz@gmail.com> --- *** Issue 12412 has been marked as a duplicate of this issue. *** -- |
December 31, 2014 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 safety0ff.bugz <safety0ff.bugz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |turkeyman@gmail.com --- Comment #2 from safety0ff.bugz <safety0ff.bugz@gmail.com> --- *** Issue 13917 has been marked as a duplicate of this issue. *** -- |
December 31, 2014 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 --- Comment #3 from safety0ff.bugz <safety0ff.bugz@gmail.com> --- *** Issue 12946 has been marked as a duplicate of this issue. *** -- |
December 31, 2014 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 safety0ff.bugz <safety0ff.bugz@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iteronvexor@gmail.com --- Comment #5 from safety0ff.bugz <safety0ff.bugz@gmail.com> --- *** Issue 8562 has been marked as a duplicate of this issue. *** -- |
January 01, 2015 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 Manu <turkeyman@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |major --- Comment #6 from Manu <turkeyman@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. -- |
May 08, 2015 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 Manu <turkeyman@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |blocker --- Comment #7 from Manu <turkeyman@gmail.com> --- I'm changing this to blocker. Seriously, it's gone on long enough. 5 years apparently according to this bug report. It is actually blocking a whole bunch of projects. They are literally sitting waiting for this bugfix. We can't generate compile-time data/tables without this super-important function. There's no substitute or workaround. We need to be able to evaluate non-linear functions in CTFE. log() works! pow() is the rather more frequently occurring compliment. -- |
May 08, 2015 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #8 from Iain Buclaw <ibuclaw@gdcproject.org> --- (In reply to Manu from comment #7) > log() works! I doubt that, CTFE isn't powerful enough yet. -- |
May 08, 2015 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 Simen Kjaeraas <simen.kjaras@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simen.kjaras@gmail.com --- Comment #9 from Simen Kjaeraas <simen.kjaras@gmail.com> --- (In reply to Iain Buclaw from comment #8) > (In reply to Manu from comment #7) > > log() works! > > I doubt that, CTFE isn't powerful enough yet. Disbelieve it all you want, it does work. -- |
May 09, 2015 [Issue 5227] X ^^ FP at compile-time | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5227 --- Comment #10 from Manu <turkeyman@gmail.com> --- (In reply to Iain Buclaw from comment #8) > (In reply to Manu from comment #7) > > log() works! > > I doubt that, CTFE isn't powerful enough yet. pragma(msg, log(101.2)); > 4.6171L pragma(msg, 2^^1.2); C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(4463): Error: cannot convert &real to ushort* at compile time C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5688): called from here: isNaN(y) C:\dev\D\dmd2\windows\bin\..\..\src\phobos\std\math.d(5860): called from here: impl(cast(real)x, cast(real)y) -- |
Copyright © 1999-2021 by the D Language Foundation