CTFE of yl2x() and other intrinsics

2010-11-15 Thread Lars T. Kyllingstad
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

Re: CTFE of yl2x() and other intrinsics

2010-11-15 Thread div0
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? -Lars Looks like it's not implemented because

Re: CTFE of yl2x() and other intrinsics

2010-11-15 Thread div0
On 15/11/2010 12:12, div0 wrote: 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? -Lars Looks l

Re: CTFE of yl2x() and other intrinsics

2010-11-15 Thread Lars T. Kyllingstad
On Mon, 15 Nov 2010 13:03:03 +, div0 wrote: > On 15/11/2010 12:12, div0 wrote: >> 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 wr