Sign in
webkit
/
WebKit
/
f58027bc4c2d7cd5ba3f8a21251ef5f289107bc1
/
.
/
LayoutTests
/
js
/
script-tests
/
floating-point-denormalized.js
blob: 7ce491e7f405a1598cdd9758ae02f576db8be0f0 [
file
] [
log
] [
blame
]
description
(
"This tests that floating point math supports for denormalized numbers."
);
var
count
=
0
;
var
value
=
1
;
while
(
value
/
2
)
{
value
/=
2
;
++
count
;
}
if
(
count
==
1074
)
debug
(
"PASS"
);
else
debug
(
"FAIL: expected 1074, actual "
+
count
);