blob: 4dfce7ebc0c0099c06ffb3a8e24a10be95d242fc [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct frexp_result_f32 {
float fract;
int exp;
};
kernel void tint_symbol() {
float const in = 1.25f;
frexp_result_f32 v = {};
v.fract = frexp(in, v.exp);
frexp_result_f32 const res = v;
float const fract = res.fract;
int const exp = res.exp;
}