Livecode's math precision

Peter W A Wood peterwawood at
Tue Mar 17 21:55:15 EDT 2015


This explanation from Mark Waddingham confirms that numbers are held in IEEE 754 format -

I’m pretty sure it is 64-bit. I tried multiplying a value of Pi with more significant digits than a 32 bit number can hold in the message box:

	put format ("%.30g",3.14159265358979323846264338327950 * 1.0)


Hope this helps


> On 18 Mar 2015, at 06:21, Michael Doub <mikedoub at> wrote:
> Can anyone point me to a reference  that discusses the precision of livecode's math calculations?   Is it doing IEEE 754 64-bit floating point under the covers?
> Thanks
>   Mike
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list