Downloads
Support
Portal
Stats
  • Total Hits: 21,454
  • Today's Hits: 39
  • Total DLs: 42
  • Today's DLs: 1
  • Newest: visionz
  • Members Online: 5/26
  • Guests Online: 2
Affiliates
Snippets


Big Integer Math v1.0

Basic support for ADD SUB MUL and EXP math supports only Integers.
Requires exactly two inputs, both be integers with NO period NO fraction. Accepts negative inputs except EXP's n2.
Beginning effort to support accuracy above 2^53 that's...
not present in $calc: //var %a $calc(2^48 -1) | echo -a $calc(%a * %a) vs $bigint_mul(%a,%a)
not present in $base: //echo -a $base($base($sha1(abc),16,10),10,16)
not present in "if (a = b)": //var %a $str(9,15) | if (%a $+ 0 == %a $+ 1) echo -a match
$calc(n1 + n2) = $bigint_add(n1,n2)
$calc(n1 - n2) = $bigint_sub(n1,n2)
$calc(n1 * n2) = $bigint_mul(n1,n2)
$calc(n1 ^ n2) = $bigint_exp(n1,n2)
calc(a*b+c) = $bigint_add($bigint_mul(a,b),c)

Uploaded By: maroon
Added: 4/9/2018
Last Updated: Never
mIRC Version: used 6.35 & 7.52
Hits: 46
Size: 7.52KB
Downloads: 2
Review By: entropy


  
  3    0

Comments
No Comments.