MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / float_as_hex

Function float_as_hex

src/tests/buffer_memory.cpp:22–24  ·  view source on GitHub ↗

/ /

Source from the content-addressed store, hash-verified

20/*****************************************************/
21/*****************************************************/
22uint32_t float_as_hex( float a ) {
23 return *(uint32_t*)&a;
24}
25
26/*****************************************************/
27/*****************************************************/

Calls

no outgoing calls

Tested by

no test coverage detected