diff options
Diffstat (limited to '')
-rw-r--r-- | src/formatter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/formatter.h b/src/formatter.h index b66f621..5840323 100644 --- a/src/formatter.h +++ b/src/formatter.h | |||
@@ -147,6 +147,7 @@ namespace Bu | |||
147 | { | 147 | { |
148 | bNeg = true; | 148 | bNeg = true; |
149 | f = -f; | 149 | f = -f; |
150 | fTmp += "-"; | ||
150 | } | 151 | } |
151 | int iScale = tfloor(tlog( f ) / tlog( (type)fLast.uRadix )); | 152 | int iScale = tfloor(tlog( f ) / tlog( (type)fLast.uRadix )); |
152 | f /= tpow( (type)fLast.uRadix, (type)iScale ); | 153 | f /= tpow( (type)fLast.uRadix, (type)iScale ); |