Updates:
        Status: WorkingAsIntended

Comment #1 on issue 2255 by [email protected]: Error multiplying float variables.
http://code.google.com/p/v8/issues/detail?id=2255

This result is absolutely correct with respect to how floating point numbers work.

You can use (6*0.3).toFixed(1) to "beautify" the printed value.

I also highly recommend reading "What Every Computer Scientist Should Know About Floating-Point Arithmetic" (http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html).

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to