References
Function Summary
Static Public Function Summary | ||
public |
and(a: *, a0: *, b: *, b0: *, c: *, c0: *, c1: *) BINARY and APPLIED ON a AND b |
|
public |
badd_t(r: int): * |
|
public |
band_t(r: *): * BIG ENDIAN BINARY and APPLIED ON a AND b |
|
public |
bcmp_t(): * |
|
public |
bdiv_t(lt: *, sub: *): * |
|
public |
bkaratsuba_t(add: function, sub: function, mul: function, calloc: function, mov: function, r: uint, wrap: function): * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. |
|
public |
bmul53_t(r: *): * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. |
|
public |
bmul_t(r: *): * |
|
public |
bsub_t(r: int): * |
|
public |
convert(f: *, t: *, a: *, ai: *, aj: *): * |
|
public |
convert_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * |
|
public |
eq_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is equal to b. |
|
public |
ge_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is greater or equal to b. |
|
public |
gt_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is greater than b. |
|
public |
ladd_t(r: int): * |
|
public |
land_t(r: *): * LITTLE ENDIAN BINARY and APPLIED ON a AND b |
|
public |
lcmp_t(): * |
|
public |
le_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is less or equal to b. |
|
public |
lmul53_t(r: *): * /!\ BLOCK MULTIPLICATION RESULT MUST HOLD IN THE JAVASCRIPT NUMBER TYPE (DOUBLE i.e. |
|
public |
lsub_t(r: int): * |
|
public |
lt_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is less than b. |
|
public |
ne_t(cmp: *): * Wrapper for a comparison operator that returns true iff a is not equal to b. |
|
public |
parse(f: *, t: *, string: *): * |
|
public |
parse_keep_zeros(f: *, t: *, string: *): * |
|
public |
Function template for number parsing. |
|
public |
stringify(f: *, t: *, a: *, ai: *, aj: *): * |
|
public |
stringify_keep_zeros(f: *, t: *, a: *, ai: *, aj: *): * |
|
public |
stringify_t(f: int, t: int, iter: function, zfill_t: function): * Function template for number stringification. |
|
public |
trim_natural(a: *, ai: *, aj: *): * |
|
public |
wrapbin(fn: *): * Wrapper for binary operator. |
|
public |
wrapcmp(cmp: *): * |
|
public |
wrapmov(fn: *): * |
Static Private Function Summary | ||
private |
_CMP(a: array, ai: int, aj: int, b: array, bi: int, bj: int): int Compares two big endian arrays, |a| >= |b| |
|
private |
__pow__(alloc: *, isnotzero: *, setone: *, iseven: *, div2: *, minus1: *) Computes pow(a, b) using naive exponentiation. |
|
private |
_alloc(n: *): * |
|
private |
_build(base: *, number: *): * |
|
private |
_chr(x: *): * |
|
private |
_cmp(a: *, ai: *, aj: *, b: *, bi: *, bj: *): * |
|
private |
_convert(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * |
|
private |
_convert_slow(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) |
|
private |
_convert_to_larger(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * |
|
private |
_convert_to_larger_fast(ar: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) |
|
private |
_convert_to_smaller(f: Number, t: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number): * |
|
private |
_convert_to_smaller_fast(br: Number, z: Number, a: Array, ai: Number, aj: Number, b: Array, bi: Number, bj: Number) |
|
private |
_copy(a: *, ai: *, aj: *, b: *, bi: *) |
|
private |
_div(x: int, r: array, ri: int, rj: int, b: array, bi: int, bj: int, q: array, qi: int) Computes quotient and remainder of two big endian arrays. |
|
private |
_ebs__(alloc: *, iszero: *, setone: *, iseven: *, div2: *, minus1: *) Computes pow(a, b) using exponentiation by squaring. |
|
private |
_fill(a: *, ai: *, aj: *, v: *) |
|
private |
_int(x: *): * |
|
private |
Returns true if number is 0. |
|
private |
_log(x: *, y: *): * |
|
private |
_reset(a: *, ai: *, aj: *) |
|
private |
_sub(r: int, a: array, ai: int, aj: int, b: array, bi: int, bj: int, c: array, ci: int, cj: int) Subtracts two big endian arrays, k >= i >= j wraps |
|
private |
_to_string(b: *): * |
|
private |
_trim_positive(a: *, ai: *, aj: *): * |
|
private |
_zeros(n: *): * |