|
|
|
|
|
by ObnoxiousJul
5030 days ago
|
|
Well, I would discourage playing with math if accuracy was important.
Just open firebug and multiply >>> 10*1.1198
11.197999999999999
This limitation is intrinsic to IEEE 754, and no alternative are in the pipe (IEEE854 seems stalled).I have been working for the web ads industry and canvases were pretty disappointing in terms of performance when the number of sprites were growing up.
The funnier part was the inconsistency in result amongst the browsers. So simulate as much as you want, just don't expect to beat flash or native client in terms of performance... |
|