xsl-list
[Top] [All Lists]

Re: single precision bug

2004-08-18 02:03:59

What do you all think of this?

It's the expected behaviour with any numerical computation, you should
never compare for 0 but rather check that the absolute value is less
than some small number, or use format-number to round to a fixed number
pf places before comparing.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>