Implementing remainder operation according to ECMA. Checking that implementations of other arithmetic operations already conform to ECMA and removing corresponding TODOs from them.

This commit is contained in:
Ruben Ayrapetyan
2014-09-02 15:09:36 +04:00
parent afc21fad8e
commit aa86a3643b
4 changed files with 76 additions and 10 deletions
+3
View File
@@ -29,3 +29,6 @@ assert((number - 9) == 72);
assert((number * 10) == 810);
assert((number / 9) == 9);
assert((number % 79) == 2);
var num1 = 1234567, num2 = 1234000;
assert((num1 % num2) == 567);