[Issue 1475] allow to use intrinsic math functions (e.g. trigonometry) in CTFEs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 6 01:10:57 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=1475


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #5 from clugdbug at 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.


-- 



More information about the Digitalmars-d-bugs mailing list