tweetcast/client/lib/websocket-js/flash-src/third-party/com/hurlant/math/NullReduction.as
author Raphael Velt <raph.velt@gmail.com>
Thu, 06 Oct 2011 12:39:29 +0200
changeset 306 70c9688a1486
parent 305 tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/third-party/com/hurlant/math/NullReduction.as@436a31d11f1d
permissions -rwxr-xr-x
Ajout de l'envoi des anciens tweets

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
		{
		}
		
	}
}