digitalmars.D.bugs - [Issue 18630] New: std.math must CTFE
- d-bugmail puremagic.com (21/21) Mar 18 2018 https://issues.dlang.org/show_bug.cgi?id=18630
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 puremagic.com Reporter: turkeyman 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. --
Mar 18 2018