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