dawn-cmake/test/intrinsics/frexp.wgsl

7 lines
134 B
WebGPU Shading Language
Raw Normal View History

@stage(compute) @workgroup_size(1)
fn main() {
let res = frexp(1.23);
let exp : i32 = res.exp;
let sig : f32 = res.sig;
}