2021-07-15 20:34:21 +00:00
|
|
|
float tint_frexp(float param_0, inout int param_1) {
|
|
|
|
float float_exp;
|
|
|
|
float significand = frexp(param_0, float_exp);
|
|
|
|
param_1 = int(float_exp);
|
|
|
|
return significand;
|
|
|
|
}
|
|
|
|
|
2021-06-09 18:53:57 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
|
|
|
int exponent = 0;
|
2021-07-15 20:34:21 +00:00
|
|
|
const float significand = tint_frexp(1.230000019f, exponent);
|
2021-06-09 18:53:57 +00:00
|
|
|
return;
|
|
|
|
}
|