Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ divmod24
Function
divmod24
libraries/fast_math/fast_math.cpp:71–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
70
71
void divmod24(uint32_t in, uint32_t *div, uint8_t *mod)
72
{
73
uint32_t d;
74
uint8_t m;
75
divmod3(in, &d, &m);
76
*div = d >> 3;
77
*mod = m + (d & 0x07) * 3;
78
}
79
80
81
void divmod60(uint32_t in, uint32_t *div, uint8_t *mod)
Callers
nothing calls this directly
Calls
1
divmod3
Function · 0.85
Tested by
no test coverage detected