Math issue, isn't it?

Richmond Mathewson richmondmathewson at gmail.com
Fri May 8 16:44:49 EDT 2009


"Do machines serve human or do humans serve machines? "

According to my wife . . .   :)


Richard Gaskin wrote:
> Colin Holgate wrote:
>
>> On May 8, 2009, at 3:00 PM, Giovanni Cannizzaro wrote:
>>
>>> It's surely false ('cause 283.67-150.00-133.67 it' equal to 0)
>>> but Revolution says me it's TRUE!
>>> Can u confirm this?
>>> What's the matter? Why this strange behavior?
>>
>> You might think that it equals zero, but it doesn't. Try this test:
>>
>> set the numberformat to "#.00000000000000000"
>> put 283.67-150.00-133.67
>>
>> you get 0.00000000000002842
>>
>> I'm guessing it's something to do with the limitations of 32 bit  
>> arithmetic.
>
> Ah, the age-old question left unanswered by the designers of microchip 
> instruction sets:
>
> Do machines serve human or do humans serve machines?
>
> <http://lists.runrev.com/pipermail/use-revolution/2005-October/067603.html> 
>
>
> -- 
>  Richard Gaskin
>  Fourth World
>  Revolution training and consulting: http://www.fourthworld.com
>  Webzine for Rev developers: http://www.revjournal.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list