summaryrefslogtreecommitdiff
path: root/test/min.asm.js
blob: 70534990f1a64438f046625c902a0afd3b3e9f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function () {
  "use asm";

  var fr = global.Math.fround;

  function floats(f) {
    f = fr(f);
    var t = fr(0);
    return fr(t + f);
  }

  return { floats: floats };
}