blob: 5bd037f6f6b541889ce8603f5760e9ade9a3885d [file] [log] [blame]
struct frexp_result_f32 {
float fract;
int exp;
};
[numthreads(1, 1, 1)]
void main() {
float tint_symbol = 1.25f;
float v = 0.0f;
float v_1 = frexp(tint_symbol, v);
float v_2 = (float(sign(tint_symbol)) * v_1);
frexp_result_f32 res = {v_2, int(v)};
float fract = res.fract;
int exp = res.exp;
}