/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as
http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · ActionScript · 34 lines · 26 code · 5 blank · 3 comment · 0 complexity · a1aff2ba4a41260150f306e1b5fab4ae MD5 · raw file
- 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
- {
- }
-
- }
- }