repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
minus-boolean-double.js
blob
64a96f78e0a2b3f762614a6ee0d5816a82a4105e
1
(function(True) {
2
var x = 0.5;
3
var n = 1000000
4
for (var i = 0; i < n; ++i)
5
x -= True;
6
if (x != 0.5 - n)
7
throw "Error: bad result: " + x;
8
})(true);