diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ccgexprs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index ba4c6f485..58c0d745c 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -610,7 +610,7 @@ proc unaryArith(p: BProc, e: PNode, d: var TLoc, op: TMagic) = "($3)((NU$2) ~($1))", # BitnotI "$1", # UnaryPlusF64 "-($1)", # UnaryMinusF64 - "($1 > 0? ($1) : -($1))", # AbsF64; BUGFIX: fabs() makes problems + "($1 < 0? -($1) : ($1))", # AbsF64; BUGFIX: fabs() makes problems # for Tiny C, so we don't use it "(($3)(NU)(NU8)($1))", # mZe8ToI "(($3)(NU64)(NU8)($1))", # mZe8ToI64 |