Updates:
        Owner: [email protected]
Cc: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
        Labels: ES5 HW-All OS-All Priority-Low

Comment #7 on issue 3852 by [email protected]: v8 module operation is not compatible with ECMA SCRIPT
https://code.google.com/p/v8/issues/detail?id=3852

Hm, we do indeed loose precision in the example mentioned above. But note that this is in sync with what Firefox and Safari does, so I'm not sure if we should really care about this. It might be a way better to be consistent with the rest of the web than to be super-precise for some edge case. Note that if you really need the precision in your program, you can always use the formula mentioned in that ES5 spec. I.e. use

function fmod(n, d){ return n - (d * Math.floor(n / d)); }

(plus some additional fixes for corner cases if they matter). This has the additional advantage that it'll work in all browsers, not just some future version of Chrome.

Anyway, CC'ing some more people for opinions on the matter, and assigning to the language guys.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to