Large Integer Arithmetic

cjohnson

Well-known member
Joined
Sep 21, 2006
Messages
63
Location
WV
Programming Experience
1-3
I need to be able to handle arbitrarily large integers or arbitrarily long decimals. Can anyone tell me how to do this in VB.net 2005?
 
Every datatype has own range

i.e. Decimal has this range:
0 through +/-79,228,162,514,264,337,593,543,950,335 with no decimal point;

0 through +/-7.9228162514264337593543950335 with 28 places to the right of the decimal;
smallest nonzero number is +/-0.0000000000000000000000000001 (+/-1E-28).

Actually what is the question here/>?
 
I would like to be able to handle numbers larger than the long type will allow. Any suggestions?
 
Maybe this classic VB article will give you an idea; Large Number Operations
There should be more available out on the web from math enthusiasts, remember you can use many kinds of libraries programmed from C++ etc.
 
Back
Top