Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/assaultcube/AC
/ addf_
Function
addf_
source/src/command.cpp:1439–1444 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1437
COMMANDN(*, mul_,
"v"
);
1438
1439
void addf_(char **args, int numargs)
1440
{
1441
float sum = 0;
1442
loopi(numargs) sum += atof(args[i]);
1443
floatret(sum);
1444
}
1445
COMMANDN(+f, addf_,
"v"
);
1446
1447
void mulf_(char **args, int numargs)
Callers
nothing calls this directly
Calls
2
floatret
Function · 0.85
loopi
Function · 0.70
Tested by
no test coverage detected