Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
JSTests
/
es6
/
typed_arrays_Float32Array.js
blob: 2b507b35ab43e3567597b37831390f7af4e9dc24 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
Float32Array
(
buffer
);
view
[
0
]
=
0.1
;
return
view
[
0
]
===
0.10000000149011612
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);