April 06, 2009 [Issue 1475] allow to use intrinsic math functions (e.g. trigonometry) in CTFEs | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1475 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #5 from clugdbug@yahoo.com.au 2009-04-06 03:11 ------- The intrinsics were included in constant folding in DMD2.005. It'd be good to have a way of detecting CTFE inside a function, so that the other math functions could be made CTFE-able (many of them use asm) -- but that's a different issue. -- |
Copyright © 1999-2021 by the D Language Foundation