aboutsummaryrefslogtreecommitdiff
path: root/src/float.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-11-01 23:29:18 +0000
committerMike Buland <eichlan@xagasoft.com>2010-11-01 23:29:18 +0000
commit192cc37d6fa002446012855c24eca0a37e1afd7e (patch)
tree88c178208f2e9ea651829a630652e1809758f9e3 /src/float.cpp
parent2cd1a89109651a19138aec9988d765208d7709e5 (diff)
downloadlibgats-192cc37d6fa002446012855c24eca0a37e1afd7e.tar.gz
libgats-192cc37d6fa002446012855c24eca0a37e1afd7e.tar.bz2
libgats-192cc37d6fa002446012855c24eca0a37e1afd7e.tar.xz
libgats-192cc37d6fa002446012855c24eca0a37e1afd7e.zip
Removed extraneous debugging.
Diffstat (limited to 'src/float.cpp')
-rw-r--r--src/float.cpp4
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>
35using namespace Bu;
36
37void Gats::Float::read( Bu::Stream &rIn, char cType ) 34void 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