Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShiqiYu/CPP
/ norm_l1
Function
norm_l1
week07/examples/function-pointer.cpp:20–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
float norm_l1(float x, float y)
21
{
22
return fabs(x) + fabs(y);
23
}
24
25
float norm_l2(float x, float y)
26
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected