Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ lowerConstrainedMap
Method
lowerConstrainedMap
libraries/FastMap/FastMap.cpp:52–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
51
52
float FastMap::lowerConstrainedMap(float value)
53
{
54
if (value <= _in_min) return _out_min;
55
return this->map(value);
56
}
57
58
59
float FastMap::upperConstrainedMap(float value)
Callers
1
unittest
Function · 0.80
Calls
2
map
Method · 0.95
map
Method · 0.95
Tested by
1
unittest
Function · 0.64