I was looking at Quixe and realised that your @mul implementation is
inaccurate because Javascript numbers only have 53 bits of precision. You
should look into using Math.imul() (this page
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul
has a polyfill), and perhaps also add some unit tests to glulxercise for
big multiplications.
Dannii:
I was looking at Quixe and realised that your @mul implementation is inaccurate because Javascript numbers only have 53 bits of precision. You should look into using Math.imul() (this page https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul has a polyfill), and perhaps also add some unit tests to glulxercise for big multiplications.