What is the size limit for numbers in LC? -- and multiplying really large numbers

Mark Wieder mwieder at ahsoftware.net
Fri Sep 6 15:12:42 EDT 2013


Geoff-

Friday, September 6, 2013, 12:05:22 PM, you wrote:

> Okay, now it's chunking by 7, and checking/avoiding overflows. This little
> baby will multiply two 7,000 digit random numbers in right around a second
> on my machine. Woot! If anyone sees further optimizations let me know.

At first glance that seems impressive, but do you have unit tests for
this? If they're big random numbers, how do you know the answer is
right?

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list