summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/modConstDoubles.js
blob: 807782ce6e4d840731ffd5d54644ccd68809cddc (plain)
1
2
3
4
5
6
7
8

function f() {
    var x = 2.6;
    var y = 2.1;
    return x % y;
}
assertEq(f(), 0.5);