[Issue 18630] New: std.math must CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 19 00:21:02 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18630
Issue ID: 18630
Summary: std.math must CTFE
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
Every single function in std.math must CTFE.
At very least, let's start with pow, log, exp, sin/cos and friends...
Curves exist. Populating tables with curve data is a thing that I *constantly*
want to do.
I usually workaround with a static constructor that pre-computes tables at
startup, but that only solves some subset of cases. When I want those tables to
interact with other CTFE code, I'm blocked.
--
More information about the Digitalmars-d-bugs
mailing list