64 bit LC

Bob Sneidar bobsneidar at iotecdigital.com
Fri Jul 20 21:32:38 EDT 2018


Wouldn't it be great if we could forgo the speed in lieu of accuracy? I mean, how could you develop an accounting application you could trust with this caveat?

Bob S


> On Jul 20, 2018, at 17:17 , Kay C Lan via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Surprised that no one has replied to this so I'll just offer a bit of
> advice.  Whilst on the surface your assumption is correct, 64bit will
> allow more accuracy than 32 bit, what you need to be aware of is the
> same gotchas still apply to 64 bit LC as 32 bit LC.  Try this in the
> msg box:
> 
> put 283.67-150.00-133.67
> 
> you should get 0. Now try this in the msg box:
> 
> put 283.67-150.00-133.67=0
> 
> You will get 'false' when you know you wanted true;  whether in 32bit
> or 64 bit LC (Python, JBScript and some other languages) in some cases
> you don't get the answer you know is correct.





More information about the use-livecode mailing list