blob: 44299742b835001600251e839e97af9750daafb2 [file] [log] [blame]
struct frexp_result {
float sig;
int exp;
};
frexp_result tint_frexp(float param_0) {
float exp;
float sig = frexp(param_0, exp);
frexp_result result = {sig, int(exp)};
return result;
}
[numthreads(1, 1, 1)]
void main() {
const frexp_result res = tint_frexp(1.230000019f);
const int exp = res.exp;
const float sig = res.sig;
return;
}