Andrei Alexandrescu <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Andrei Alexandrescu <>  2009-07-21 
19:19:38 PDT ---
We currently have:

pure nothrow F pow(F)(F x, uint n) if (isFloatingPoint!(F));
pure nothrow F pow(F)(F x, int n) if (isFloatingPoint!(F));
F pow(F)(F x, F y) if (isFloatingPoint!(F));

I think we're in good shape. We could add overloads for raising integrals to
unsigned powers but I fear confusion due to wraparound. The magnitudes of
exponents for which efficiency could become an issue are also those that would
wraparound the result. If no compelling arguments come up, I'll close this

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to