This commit is contained in:
Hugo Granström
2020-07-22 10:30:46 +02:00
committed by GitHub
parent f25454d5c6
commit 32ac1b7c9d

View File

@@ -958,7 +958,7 @@ proc sgn*[T: SomeNumber](x: T): int {.inline.} =
{.pop.}
{.pop.}
proc `^`*[T](x: T, y: Natural): T =
proc `^`*[T: SomeNumber](x: T, y: Natural): T =
## Computes ``x`` to the power ``y``.
##
## Exponent ``y`` must be non-negative, use