This commit is contained in:
Clyybber 2020-04-06 15:35:27 +02:00 • committed by GitHub
commit 1e25e16c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,11 @@ proc repr*(x: int64): string {.magic: "Int64ToStr", noSideEffect.}
## repr for an integer argument. Returns `x` ## repr for an integer argument. Returns `x`
## converted to a decimal string. ## converted to a decimal string.
proc repr*(x: uint64): string {.noSideEffect.} =
## repr for an unsigned integer argument. Returns `x`
## converted to a decimal string.
$x #Calls `$` from system/strmantle.nim
proc repr*(x: float): string {.magic: "FloatToStr", noSideEffect.} proc repr*(x: float): string {.magic: "FloatToStr", noSideEffect.}
## repr for a float argument. Returns `x` ## repr for a float argument. Returns `x`
## converted to a decimal string. ## converted to a decimal string.