diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-11-01 23:15:11 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-11-01 23:15:11 +0000 |
commit | 2cd1a89109651a19138aec9988d765208d7709e5 (patch) | |
tree | 66ea6d6e379c82f17993f9e398999b820d9f2251 /src/float.h | |
parent | 1035f576164ceb50f85b787459ad760e0ac7b2b9 (diff) | |
download | libgats-2cd1a89109651a19138aec9988d765208d7709e5.tar.gz libgats-2cd1a89109651a19138aec9988d765208d7709e5.tar.bz2 libgats-2cd1a89109651a19138aec9988d765208d7709e5.tar.xz libgats-2cd1a89109651a19138aec9988d765208d7709e5.zip |
Minor changes to the float that may circumvent some stupidness in the mingwrt
snprintf code. I really need to write my own number parser/writer.
Diffstat (limited to 'src/float.h')
-rw-r--r-- | src/float.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/float.h b/src/float.h index 27233ae..f7a3ed3 100644 --- a/src/float.h +++ b/src/float.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #include "gats/object.h" | 4 | #include "gats/object.h" |
5 | 5 | ||
6 | #include <bu/fstring.h> | ||
7 | |||
6 | namespace Gats | 8 | namespace Gats |
7 | { | 9 | { |
8 | class Float : public Gats::Object | 10 | class Float : public Gats::Object |
@@ -20,6 +22,7 @@ namespace Gats | |||
20 | 22 | ||
21 | private: | 23 | private: |
22 | double fVal; | 24 | double fVal; |
25 | mutable Bu::FString sWriteCache; | ||
23 | }; | 26 | }; |
24 | } | 27 | } |
25 | 28 | ||