parent
f25454d5c6
commit
32ac1b7c9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue