We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@safe
1 parent 42e2caa commit 312a86dCopy full SHA for 312a86d
std/math/exponential.d
@@ -256,7 +256,7 @@ if (isFloatingPoint!(F) && isIntegral!(G))
256
* If x is 0 and n is negative, the result is the same as the result of a
257
* division by zero.
258
*/
259
-typeof(Unqual!(F).init * Unqual!(G).init) pow(F, G)(F x, G n) @nogc @trusted pure nothrow
+typeof(Unqual!(F).init * Unqual!(G).init) pow(F, G)(F x, G n) @nogc @safe pure nothrow
260
if (isIntegral!(F) && isIntegral!(G))
261
{
262
import std.traits : isSigned;
0 commit comments