[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8252] trunk/build/SCClassLibrary/Common/Math/ SimpleNumber.sc



Revision: 8252
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8252&view=rev
Author:   jrhb
Date:     2008-12-23 12:20:13 +0000 (Tue, 23 Dec 2008)

Log Message:
-----------
added bilin GUI example

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/Math/SimpleNumber.sc

Modified: trunk/build/SCClassLibrary/Common/Math/SimpleNumber.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/Math/SimpleNumber.sc	2008-12-23 11:55:39 UTC (rev 8251)
+++ trunk/build/SCClassLibrary/Common/Math/SimpleNumber.sc	2008-12-23 12:20:13 UTC (rev 8252)
@@ -118,7 +118,7 @@
 	<= { arg aNumber, adverb; _LE; ^aNumber.performBinaryOpOnSimpleNumber('<=', this, adverb) }
 	>= { arg aNumber, adverb; _GE; ^aNumber.performBinaryOpOnSimpleNumber('>=', this, adverb) }
 	
-	equalWithPrecision { arg that,precision=0.0001;
+	equalWithPrecision { arg that, precision=0.0001;
 		^absdif(this, that) < precision
 	}
 
@@ -279,7 +279,7 @@
 
 	// scheduled Routine support
 	wait { ^this.yield }
-	waitUntil { ^(this - thisThread.beats).yield }
+	waitUntil { ^(this - thisThread.beats).max(0).yield }
 	sleep {
 		var thread = thisThread;
 		thread.clock.sched(this, { thread.next; nil });


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/