diff options
Diffstat (limited to '')
-rw-r--r-- | src/float.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/float.cpp b/src/float.cpp index e85dff8..879d74b 100644 --- a/src/float.cpp +++ b/src/float.cpp | |||
@@ -31,16 +31,12 @@ void Gats::Float::write( Bu::Stream &rOut ) const | |||
31 | rOut.write( sWriteCache.getStr(), sWriteCache.getSize() ); | 31 | rOut.write( sWriteCache.getStr(), sWriteCache.getSize() ); |
32 | } | 32 | } |
33 | 33 | ||
34 | #include <bu/sio.h> | ||
35 | using namespace Bu; | ||
36 | |||
37 | void Gats::Float::read( Bu::Stream &rIn, char cType ) | 34 | void Gats::Float::read( Bu::Stream &rIn, char cType ) |
38 | { | 35 | { |
39 | int iSize; | 36 | int iSize; |
40 | Gats::Integer::readPackedInt( rIn, iSize ); | 37 | Gats::Integer::readPackedInt( rIn, iSize ); |
41 | char buf[50]; | 38 | char buf[50]; |
42 | buf[rIn.read( buf, iSize )] = '\0'; | 39 | buf[rIn.read( buf, iSize )] = '\0'; |
43 | sio << "Reading float, iSize = " << iSize << ", str = " << buf << sio.nl; | ||
44 | sscanf( buf, "%la", &fVal ); | 40 | sscanf( buf, "%la", &fVal ); |
45 | } | 41 | } |
46 | 42 | ||