MCPcopy
hub / github.com/canopy-network/canopy / Uint64ToBigFloat

Function Uint64ToBigFloat

lib/util.go:646–648  ·  view source on GitHub ↗

Uint64ToBigFloat() converts a uint64 to a big.Float

(u uint64)

Source from the content-addressed store, hash-verified

644
645// Uint64ToBigFloat() converts a uint64 to a big.Float
646func Uint64ToBigFloat(u uint64) *big.Float {
647 return new(big.Float).SetUint64(u)
648}
649
650// HexBytes represents a byte slice that can be marshaled and unmarshalled as hex strings
651type HexBytes []byte

Callers 1

IsCandidateFunction · 0.92

Calls 1

SetUint64Method · 0.65

Tested by

no test coverage detected