|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
|
|
struct frexp_result_f32 {
|
|
float fract;
|
|
int exp;
|
|
};
|
|
kernel void tint_symbol() {
|
|
frexp_result_f32 const res = frexp_result_f32{.fract=0.625f, .exp=1};
|
|
float const fract = res.fract;
|
|
int const exp = res.exp;
|
|
return;
|
|
}
|
|
|