From d0d86b9ae6a86fec59f69c76352c640e759bd4a1 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 20 Jul 2011 14:02:46 +0000 Subject: Oh wow, floats didn't have signs. Scary. --- src/formatter.h | 1 + 1 file changed, 1 insertion(+) 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 { bNeg = true; f = -f; + fTmp += "-"; } int iScale = tfloor(tlog( f ) / tlog( (type)fLast.uRadix )); f /= tpow( (type)fLast.uRadix, (type)iScale ); -- cgit v1.2.3