Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Uint64ToFloat64
Function
Uint64ToFloat64
IceFireDB-SQLProxy/utils/zeroalloc.go:17–19 ·
view source on GitHub ↗
(val uint64)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
Uint64ToFloat64(val uint64) float64 {
18
return
*(*float64)(unsafe.Pointer(&val))
19
}
20
21
func
Int64ToUint64(val int64) uint64 {
22
return
*(*uint64)(unsafe.Pointer(&val))
Callers
1
AsFloat64
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected