blob: 0d55093e1104e9c54ec037343d536b0d152db188 [file] [log] [blame]
dan sinclairb4697b762023-11-24 09:42:19 +00001#include <metal_stdlib>
2using namespace metal;
3struct frexp_result_f32 {
4 float fract;
5 int exp;
6};
dan sinclairf1f381a2023-11-22 09:44:15 +00007
dan sinclairb4697b762023-11-24 09:42:19 +00008kernel void tint_symbol() {
9 frexp_result_f32 const res = frexp_result_f32{.fract=0.61500000953674316406f, .exp=1};
10 int const exp = res.exp;
11 float const fract = res.fract;
12}