MCPcopy Create free account
hub / github.com/WheretIB/nullc / inc

Function inc

tests/TestClasses.cpp:157–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155float4 test2(float4 u){ u.x += 5.0; return u; }\r\n\
156float4 float4(float all){ float4 ret; ret.x = ret.y = ret.z = ret.w = all; return ret; }\r\n\
157float sum(float[10] u){ float res = 0; for(int i = 0; i < 10; i++) res += u[i]; return res; }\r\n\
158float[10] inc(float[10] v){ float[10] res; for(int i = 0; i < 10; i++) res[i] = v[i]+1.0f; return res; }\r\n\
159float4 n, m;\r\n\
160n.x = 6.0f;\r\n\
161n.y = 3.0f;\r\n\

Callers 1

TestClasses.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected