see also

math.h/Math.js source ref