Problem 1833. Usage of java.math : Add, Multiply, Pow
Solution Stats
Problem Comments
-
3 Comments
J.R.! Menzinger
on 19 Aug 2013
Nice problem to learn the use of java inside Matlab.
Richard Zapor
on 19 Aug 2013
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.
Richard Zapor
on 21 Aug 2013
Usage of BigInteger will cause headaches. The Challenge is BigDecimal.
Problem Recent Solvers32
Suggested Problems
-
Construct a string from letters and counts
137 Solvers
-
Vectorize the digits of an Integer
302 Solvers
-
1237 Solvers
-
358 Solvers
-
569 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!