SF.net SVN: supercollider: [7636] trunk/build/SCClassLibrary/Common/Streams /IOStream.sc

View: New views
1 Messages — Rating Filter:   Alert me  

SF.net SVN: supercollider: [7636] trunk/build/SCClassLibrary/Common/Streams /IOStream.sc

by joshpar :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Revision: 7636
          http://svn.sourceforge.net/supercollider/?rev=7636&view=rev
Author:   joshpar
Date:     2008-06-22 10:43:01 -0700 (Sun, 22 Jun 2008)

Log Message:
-----------
fix typo in getFloat and getDouble

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/Streams/IOStream.sc

Modified: trunk/build/SCClassLibrary/Common/Streams/IOStream.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Streams/IOStream.sc 2008-06-19 12:53:21 UTC (rev 7635)
+++ trunk/build/SCClassLibrary/Common/Streams/IOStream.sc 2008-06-22 17:43:01 UTC (rev 7636)
@@ -111,8 +111,8 @@
  getInt8 { ^this.next & 255; }
  getInt16 { ^this.getInt8 << 8 | this.getInt8; }
  getInt32 { ^this.getInt16 << 16 | this.getInt16; }
- getFloat { ^Float.from32bits(this.getInt32); }
- getDouble { ^Float.from64bits(this.getInt32, this.getInt32); }
+ getFloat { ^Float.from32Bits(this.getInt32); }
+ getDouble { ^Float.from64Bits(this.getInt32, this.getInt32); }
 //
  // collection should be an Int8Array
  putChar { arg aChar; this.put(aChar.ascii); }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
sc-dev@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-dev