mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
39 lines
751 B
ActionScript
39 lines
751 B
ActionScript
package com.hurlant.math
|
|
{
|
|
use namespace bi_internal;
|
|
|
|
public class NullReduction implements IReduction
|
|
{
|
|
|
|
public function NullReduction()
|
|
{
|
|
super();
|
|
}
|
|
|
|
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
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|