MCPcopy Create free account
hub / github.com/segmentio/encoding / Float64

Method Float64

proto/message.go:96–98  ·  view source on GitHub ↗
(v float64)

Source from the content-addressed store, hash-verified

94}
95
96func (f FieldNumber) Float64(v float64) RawMessage {
97 return f.Fixed64(math.Float64bits(v))
98}
99
100func (f FieldNumber) String(v string) RawMessage {
101 return f.Bytes([]byte(v))

Callers 5

ValueMethod · 0.95
TestRewriteFunction · 0.80
BenchmarkRewriteFunction · 0.80
TestNumberAccessorsFunction · 0.80

Calls 1

Fixed64Method · 0.95

Tested by 3

TestRewriteFunction · 0.64
BenchmarkRewriteFunction · 0.64
TestNumberAccessorsFunction · 0.64