raul mihaila (2013-09-16T09:30:54.000Z)
domenic at domenicdenicola.com (2013-09-25T02:45:20.335Z)
I think the definition of modulo is wrong. http://people.mozilla.org/~jorendorff/es6-draft.html#sec-5.2 k should be of the same sign as x not as y. Also, shouldn't ToUint32 and ToUint16 return only positive numbers? If the argument is, for example, -3, the result will be -3 (assuming that the modulo definition is wrong). Or maybe the argument will never be negative?