MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Uint64ToInt64

Function Uint64ToInt64

IceFireDB-SQLite/utils/zeroalloc.go:13–15  ·  view source on GitHub ↗
(val uint64)

Source from the content-addressed store, hash-verified

11}
12
13func Uint64ToInt64(val uint64) int64 {
14 return *(*int64)(unsafe.Pointer(&val))
15}
16
17func Uint64ToFloat64(val uint64) float64 {
18 return *(*float64)(unsafe.Pointer(&val))

Callers 1

AsInt64Method · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected