digitalmars.D.learn - CTFE of yl2x() and other intrinsics
- Lars T. Kyllingstad (4/4) Nov 15 2010 I thought that the compiler could evaluate all intrinsics at compile
- div0 (7/11) Nov 15 2010 Looks like it's not implemented because yl2x isn't in DMC.
- div0 (5/14) Nov 15 2010 Sweet, I got it working! I'll submit a patch to bugzilla in a bit.
- Lars T. Kyllingstad (3/18) Nov 15 2010 Cool! :)
I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -Lars
Nov 15 2010
On 15/11/2010 11:00, Lars T. Kyllingstad wrote:I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -LarsLooks like it's not implemented because yl2x isn't in DMC. Dam and I thought it would be an easy one! Still I'll have a play with inline asm and see if it'll work. -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk
Nov 15 2010
On 15/11/2010 12:12, div0 wrote:On 15/11/2010 11:00, Lars T. Kyllingstad wrote:Sweet, I got it working! I'll submit a patch to bugzilla in a bit. -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.ukI thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -LarsLooks like it's not implemented because yl2x isn't in DMC. Dam and I thought it would be an easy one! Still I'll have a play with inline asm and see if it'll work.
Nov 15 2010
On Mon, 15 Nov 2010 13:03:03 +0000, div0 wrote:On 15/11/2010 12:12, div0 wrote:Cool! :) -LarsOn 15/11/2010 11:00, Lars T. Kyllingstad wrote:Sweet, I got it working! I'll submit a patch to bugzilla in a bit.I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -LarsLooks like it's not implemented because yl2x isn't in DMC. Dam and I thought it would be an easy one! Still I'll have a play with inline asm and see if it'll work.
Nov 15 2010