LiveCode vs Fermat

Dar Scott dsc at swcp.com
Sun May 18 21:13:51 EDT 2014


My near miss is a little more suitable for LiveCode.  Try Homer’s in LiveCode and you get false.  

Can’t get anything past you folks.

Dar Scott



On May 18, 2014, at 6:02 PM, Glen Bojsza <gbojsza at gmail.com> wrote:

> Near miss syndrome ...
> 
> Homer Simpson had the same issue
> 
> http://www.slate.com/blogs/browbeat/2013/10/29/the_simpsons_and_fermat_s_last_theorem_wizard_of_evergreen_terrace_has_brilliant.html
> 
> On May 18, 2014, at 7:16 PM, Igor de Oliveira Couto <igor at semperuna.com> wrote:
> 
>> On 19 May 2014, at 8:28 am, Alejandro Tejada <capellan2000 at gmail.com> wrote:
>> 
>>> Dar Scott wrote
>>>> put 781769^12 + 852723^12 = 874456^12
>>>> 
>>>> See 
>>>> http://en.wikipedia.org/wiki/Fermat's_Last_Theorem
>>> 
>>> The result is TRUE...
>>> Could this be an error? :o
>> 
>> Indeed, it is. You can check it here:
>> 
>> http://www.wolframalpha.com
>> 
>> Just enter:
>> 
>> "781769^12 + 852723^12 = 874456^12"
>> 
>> It will confirm for you that it's *false*.
>> 
>> As an aside: the underlying computational 'engine' behind Wolfram Alpha products (such as Mathematica) is an open source maths library named "GMP Library" (GNU Multi-Precision Library). It allows for extremely fast calculation of arbitrarily large numbers.
>> 
>> Apart from GMP, there are *many* well-known, reliable open-source mathematical libraries, some able to do complex symbolic maths - some have even been developed in higher-level languages, like Python. They are cross-platform, and have GPL-compatible licenses. It would be an excellent idea if during the code refactoring that is happening right now, the LiveCode developers decided to implement one of these libraries as the mathematical engine for LiveCode.
>> 
>> Just a thought... In any case:
>> 
>> http://quality.runrev.com/show_bug.cgi?id=12440
>> 
>> --
>> Igor Couto
>> Sydney, Australia
>> 
>> _______________________________________________
>> 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
> _______________________________________________
> 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