MCPcopy Create free account
hub / github.com/MegEngine/MegCC / as_uint

Function as_uint

runtime/src/parse.c:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9typedef unsigned int ccuint;
10static ccuint as_uint(const float x) {
11 return *(ccuint*)&x;
12}
13static float as_float(const ccuint x) {
14 return *(float*)&x;
15}

Callers 1

half_to_floatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected