Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ normalize_range
Function
normalize_range
Examples/NoModules/Chapter 08/Ex8_13.cpp:87–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
double* normalize_range(double data[], size_t count)
88
{
89
shift_range(data, count, -(*smallest(data, count)));
90
return scale_range(data, count, *largest(data, count));
91
}
Callers
1
main
Function · 0.70
Calls
4
shift_range
Function · 0.70
smallest
Function · 0.70
scale_range
Function · 0.70
largest
Function · 0.70
Tested by
no test coverage detected