How can we deal with large number in vb.net -
i have large number , when run below code doesn't handle it, should ?
number = number ^ 103 mod 143
i got infinity
.
you need use biginteger.modpow:
number = biginteger.modpow(number, 103, 143)
here how add reference system.numerics vb.net project:
Comments
Post a Comment