Skip to content

Commit 312a86d

Browse files
dkorpeldlang-bot
authored andcommitted
Mark std.math.exponential.pow @safe
1 parent 42e2caa commit 312a86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/math/exponential.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ if (isFloatingPoint!(F) && isIntegral!(G))
256256
* If x is 0 and n is negative, the result is the same as the result of a
257257
* division by zero.
258258
*/
259-
typeof(Unqual!(F).init * Unqual!(G).init) pow(F, G)(F x, G n) @nogc @trusted pure nothrow
259+
typeof(Unqual!(F).init * Unqual!(G).init) pow(F, G)(F x, G n) @nogc @safe pure nothrow
260260
if (isIntegral!(F) && isIntegral!(G))
261261
{
262262
import std.traits : isSigned;

0 commit comments

Comments
 (0)