Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ relAccuracy
Method
relAccuracy
libraries/Interval/Interval.cpp:44–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
44
float Interval::relAccuracy()
45
{
46
if (value() == 0.0) return -1;
47
return abs(range() / value()); // TODO /2 ?
48
}
49
50
51
void Interval::setRange(float r)
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64