Something wrong with std.math.pow?

Jesse Phillips jessekphillips+D at gmail.com
Fri Sep 28 07:15:28 PDT 2012


On Friday, 28 September 2012 at 05:46:49 UTC, Tim wrote:
> From what I understand, pragma(msg, ...) prints at compile 
> time.  I don't think that it evaluates functions then.

In order to print it must have a value to print, so D makes its 
great attempt to run whatever it can at compile time to get that 
value.

I forgot to mention, writeln doesn't change the results.


More information about the Digitalmars-d-learn mailing list