Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I see. Could it be done non asm.js code though? Commented Jul 16, 2013 at 15:05
  • Much like there are JS classes for complex numbers, you could write an int class that has add(), subtract() etc. and it does the | 0 trick. I suspect somebody has already done this??? Or are you more concerned about performance? Commented Apr 8, 2018 at 16:45