Sign in
dawn
/
dawn
/
aef595799dea1914e56e0b32910065b6df1d3777
/
.
/
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
;
}