Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ add_overflows_u64
Function
add_overflows_u64
common/overflows.h:11–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
}
10
11
static inline bool add_overflows_u64(uint64_t a, uint64_t b)
12
{
13
return (a + b) < a;
14
}
15
16
static inline bool mul_overflows_u64(uint64_t a, uint64_t b)
17
{
Callers
6
json_to_millionths
Function · 0.85
sphinx_add_hop_has_length
Function · 0.85
from_number
Function · 0.85
from_numbers
Function · 0.85
amount_msat_add
Function · 0.85
amount_sat_add
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected