#include <metal_stdlib> using namespace metal; kernel void f() { float const a = 1.0f; uint const b = as_type<uint>(a); return; }