Comment #4 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
In v8's unit test(div-mod.js), (43 % 0.3) expected <0.10000000000000159> by
using fmod. But if modulo implemented being followed ECMA Script, found
<0.10000000000000142>. Actually precion issue is being existed... I don't
know why v8 use fmod that is not allowed in ECMA Script.
here is Modulo operation be followed by ECMA Script spec.
(ECMA Script says that r = n − (d * q) is formula of modulo operation)
vdiv(tempResult, left, right);
vcvt_s32_f64(tempResult.low(), tempResult); //for truncate division
vcvt_f64_s32(tempResult, tempResult.low());
vmls(left, tempResult, right);
--
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.