Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ upperConstrainedMap
Method
upperConstrainedMap
libraries/FastMap/FastMap.cpp:59–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
58
59
float FastMap::upperConstrainedMap(float value)
60
{
61
if (value >= _in_max) return _out_max;
62
return this->map(value);
63
}
64
65
66
///////////////////////////////////////////////////////////////
Callers
1
unittest
Function · 0.80
Calls
2
map
Method · 0.95
map
Method · 0.95
Tested by
1
unittest
Function · 0.64