dawn-cmake/test/intrinsics/frexp.wgsl

6 lines
109 B
WebGPU Shading Language

[[stage(compute)]]
fn main() {
var exponent : i32;
let significand : f32 = frexp(1.23, &exponent);
}