Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

rounding weirdness



i'm seeing this on several boxes:
	% echo $[13.50 + 6.99]
	20.490000000000002

Linux 2.6.26.6	zsh=4.3.4
FreeBSD 4.7	zsh=4.2.1
FreeBSD 6.2	zsh=4.3.6

i don't recall seeing that type of error before. is that normal?


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Patriotism is the willingness to kill
	 and be killed for trivial reasons."
		-- Bertrand Russell




Messages sorted by: Reverse Date, Date, Thread, Author