Re: Primes and primality checking

2017-04-25 Thread Mark Waddingham via use-livecode
On 2017-04-25 17:01, Devin Asay via use-livecode wrote: However, it doesn’t seem to be reliable for very large numbers (> 100 digits) as the fellow wants. My math skills are pretty creaky. Anybody want a crack at this? It’s a fun challenge, plus it can boost LC’s presence on stackoverflow. You

Re: Primes and primality checking

2017-04-25 Thread Mark Wieder via use-livecode
On 04/25/2017 11:15 AM, Mike Kerner via use-livecode wrote: Long Math is a longstanding ACL contest theme, and I think we've talked about it here, before, too, because every language runs into precision issues - sooner or later you're going to run out of digits in the register. In addition, it'

Re: Primes and primality checking

2017-04-25 Thread dunbarx via use-livecode
com/Primes-and-primality-checking-tp4714219p4714238.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su

Re: Primes and primality checking

2017-04-25 Thread Mike Kerner via use-livecode
your offering. As you say, it will firm LC within stack overflow. > > Craig > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Primes-and-primality-checking-tp4714219p4714234.html > Sent from the Revolution - User mailing li

Re: Primes and primality checking

2017-04-25 Thread dunbarx via use-livecode
Maybe Hermann can step in? But post your offering. As you say, it will firm LC within stack overflow. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Primes-and-primality-checking-tp4714219p4714234.html Sent from the Revolution - User mailing list archi

Primes and primality checking

2017-04-25 Thread Devin Asay via use-livecode
Hey folks, This guy over on stackoverflow.com is asking for help generating and testing very large prime numbers. http://stackoverflow.com/questions/43600252/generate-and-check-the-primality-of-very-large-numbers-in-livecode I came up with this: on mouseUp local tN