MCPcopy Create free account
hub / github.com/LancePutnam/Gamma / printHexArray

Function printHexArray

src/Print.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#undef LOOP_BITS
34
35void printHexArray(const float * a, unsigned len,unsigned valuesPerLine){
36 printf("{");
37 for(unsigned i=0; i<len; ++i){
38 if((i % valuesPerLine) == 0) printf("\n\t");
39 Twiddle<float> t(a[i]);
40 printf("0x%08x%s", t.u, i == len-1 ? "\n};" : ",");
41 }
42}
43
44void printPlot(float value, unsigned width, bool spaces, bool sign, const char * point){
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected