define(function () { /** * Get sign of the value. */ function sign(val) { return val < 0? -1 : 1; } return sign; });