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

Jerry Jensen jhj at jhj.com
Thu Sep 5 20:39:33 EDT 2013


OK. I woud like to replace the first word of my reply, from "Nope" to "Yep". All the rest applies.
.Jerry

On Sep 5, 2013, at 5:11 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:

> Jerry,
> 
> Please, read my previous e-mail carefully. I didn't write that you can't do any calculations beyond 15 digits. I wrote that calculations aren't reliable beyond 15 digits. I made a general statement. You will find a similar statement in the LiveCode manual.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
> On 9/6/2013 01:34, Jerry Jensen wrote:
>> Nope. In the message box try 999999999999999+111111111111111 which gives you a correct 16 digit sum of two 15 digit numbers. The limit is not in decimal digit count. The math is binary.
>> .Jerry
>> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list