Problem 1833. Usage of java.math : Add, Multiply, Pow
Solution Stats
Problem Comments
-
3 Comments
Nice problem to learn the use of java inside Matlab.
BigInteger of doubles above 128 does odd things. BigInteger(num2str(v_dbl)) will work up to 2^53. I did not go into BigInteger limitations.
Usage of BigInteger will cause headaches. The Challenge is BigDecimal.
Problem Recent Solvers31
Suggested Problems
-
6405 Solvers
-
Calculate the Levenshtein distance between two strings
778 Solvers
-
367 Solvers
-
354 Solvers
-
Solving Quadratic Equations (Version 1)
449 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!