Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
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"
);