std.math.pow

Saaa empty at needmail.com
Sun Oct 26 08:52:43 PDT 2008


Thanks :)

> No.  See the section on function overloading on this page:
> http://www.digitalmars.com/d/1.0/function.html
>
> So for pow(x, 2u), where x is a double, the match level for both
> (real, uint) and (real, real) is "match with implicit conversions."
> Therefore, it's an error. 




More information about the Digitalmars-d-learn mailing list