Sign in
dawn
/
dawn
/
ddff3f086a78704a7885c1134f1dcfa15087f68b
/
.
/
test
/
tint
/
builtins
/
frexp
/
scalar
/
const.wgsl
blob: e4ea5556f2cdff27d25c0a8bda770ae46ea9d7cc [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
const
in
=
1.25
;
let
res
=
frexp
(
in
);
let
fract
:
f32
=
res
.
fract
;
let
exp
:
i32
=
res
.
exp
;
}