View source

class thx.bigint.Big implements BigIntImpl

Available on all platforms

Instance Fields

Toggle inherited fields

function abs():BigIntImpl

function add(that:BigIntImpl):BigIntImpl

function addBig(big:Big):BigIntImpl

function addSmall(small:Small):BigIntImpl

function and(that:BigIntImpl):BigIntImpl

function compareTo(that:BigIntImpl):Int

function compareToAbs(that:BigIntImpl):Int

function compareToAbsBig(big:Big):Int

function compareToAbsSmall(small:Small):Int

function compareToBig(big:Big):Int

function compareToSmall(small:Small):Int

function divMod(that:BigIntImpl):{remainder:BigIntImpl, quotient:BigIntImpl}

function divModBig(big:Big):{remainder:BigIntImpl, quotient:BigIntImpl}

function divModSmall(small:Small):{remainder:BigIntImpl, quotient:BigIntImpl}

function isEven():Bool

function isOdd():Bool

var isSmall(default,null):Bool

function isUnit():Bool

function isZero():Bool

function multiplyBig(big:Big):BigIntImpl

function negate():BigIntImpl

function new(value:Array<Int>, sign:Bool):Void

function next():BigIntImpl

function not():BigIntImpl

function or(that:BigIntImpl):BigIntImpl

function pow(exp:BigIntImpl):BigIntImpl

function prev():BigIntImpl

function random():BigIntImpl

function shiftLeft(n:Int):BigIntImpl

function shiftRight(n:Int):BigIntImpl

var sign(default,null):Bool

function square():BigIntImpl

function subtractBig(big:Big):BigIntImpl

function toFloat():Float

function toInt():Int

function toString():String

function toStringWithBase(base:Int):String

var value(default,null):Array<Int>

function xor(that:BigIntImpl):BigIntImpl