Skip to content

Commit

Permalink
Mark std.math.exponential.pow @safe
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorpel authored and dlang-bot committed Jun 30, 2024
1 parent 42e2caa commit 312a86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/math/exponential.d
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ if (isFloatingPoint!(F) && isIntegral!(G))
* If x is 0 and n is negative, the result is the same as the result of a
* division by zero.
*/
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
if (isIntegral!(F) && isIntegral!(G))
{
import std.traits : isSigned;
Expand Down

0 comments on commit 312a86d

Please sign in to comment.