tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/third-party/com/hurlant/math/NullReduction.as
changeset 305 436a31d11f1d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/third-party/com/hurlant/math/NullReduction.as	Thu Oct 06 11:56:48 2011 +0200
@@ -0,0 +1,34 @@
+package com.hurlant.math
+{
+	use namespace bi_internal;
+	/**
+	 * A "null" reducer
+	 */
+	public class NullReduction implements IReduction
+	{
+		public function revert(x:BigInteger):BigInteger
+		{
+			return x;
+		}
+		
+		public function mulTo(x:BigInteger, y:BigInteger, r:BigInteger):void
+		{
+			x.multiplyTo(y,r);
+		}
+		
+		public function sqrTo(x:BigInteger, r:BigInteger):void
+		{
+			x.squareTo(r);
+		}
+		
+		public function convert(x:BigInteger):BigInteger
+		{
+			return x;
+		}
+		
+		public function reduce(x:BigInteger):void
+		{
+		}
+		
+	}
+}
\ No newline at end of file