Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fp16_to_u64
Function
fp16_to_u64
common/fp16.h:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
typedef u16 fp16_t;
8
9
static inline u64 fp16_to_u64(fp16_t val)
10
{
11
return ((u64)val & ((1 << 11)-1)) << (val >> 11);
12
}
13
14
fp16_t u64_to_fp16(u64 val, bool round_up);
15
Callers
6
amount_msat_less_fp16
Function · 0.85
amount_msat_greater_fp16
Function · 0.85
main
Function · 0.85
peer_capacity
Function · 0.85
json_listincoming
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68