Problem 1833. Usage of java.math : Add, Multiply, Pow
46.9% Correct | 53.1% Incorrect
Last Solution submitted on Feb 11, 2023
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 Solvers33
How many trades represent all the profit?
Are all the three given point in the same line?
More from this Author260
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!