If I need to, say, find the integer part and fractional part of a number in the asm.js module, how to do this? None of the standard operators convert between regular and double types; even Math.floor returns double, and its result cannot be forced to int.
var floor = stdlib.Math.floor; function(n) { n = +n; var a = 0; a = floor(n)|0;
Zachb
source share