diff options
author | rku <rokups@zoho.com> | 2015-06-08 14:26:49 +0300 |
---|---|---|
committer | bit <rndbit@sysret.net> | 2015-06-10 10:25:36 +0300 |
commit | 87b6220897035e0844958b6d9a2fd4cd7ad5dd46 (patch) | |
tree | c92dc1ca2883d2ecdde881efb06c3f4585e01cdd /lib | |
parent | 3984fecae66f4578dc806a37b19cee13b92643c0 (diff) | |
download | Nim-87b6220897035e0844958b6d9a2fd4cd7ad5dd46.tar.gz |
Removed magics: mAbsI64
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index d65a69e35..9e97d7cfe 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2304,7 +2304,7 @@ proc abs*(x: int16): int16 {.magic: "AbsI", noSideEffect.} = if x < 0: -x else: x proc abs*(x: int32): int32 {.magic: "AbsI", noSideEffect.} = if x < 0: -x else: x -proc abs*(x: int64): int64 {.magic: "AbsI64", noSideEffect.} = +proc abs*(x: int64): int64 {.magic: "AbsI", noSideEffect.} = ## returns the absolute value of `x`. If `x` is ``low(x)`` (that ## is -MININT for its type), an overflow exception is thrown (if overflow ## checking is turned on). |