blob: 3b5bc66aa3ef985499f99ce588dd17d085eb2853 [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 = (v_2 * v);
frexp_result_f32 res = {v_1, int(v)};
float fract = res.fract;
int exp = res.exp;
}