This commit is contained in:
Hugo Granström 2020-07-22 10:30:46 +02:00 • committed by GitHub
commit 32ac1b7c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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