I am writing an app that , among other things will be able to multiply or divide very large numbers by number 19 - Those large numbers could possibly span hundreds of digits . Do you know of a library I could use for that? Thanks in advance. I have tried using NSDecimalNumber but its not able to produce results past 38 digits.
Asked
Active
Viewed 306 times
0
-
might help http://stackoverflow.com/questions/1226949/biginteger-on-objective-c – Mehul Rathod Jul 27 '13 at 00:02
1 Answers
2
-
How do I multiply lets say 102343345345345453453544350 with 0.025 using GMP. I am able to divide and multiply whole numbers but having trouble with multiplying fractional points. – real 19 Jul 27 '13 at 10:02
-
You can A) Use MPFR for floating point http://www.mpfr.org/. MPFR uses GMP so it will not have been a waste to have it set up. B) Use fractions – LogicG8 Jul 27 '13 at 11:58