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