MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Float

Method Float

protocol/net/io/encoding/writer.go:82–84  ·  view source on GitHub ↗
(f float32)

Source from the content-addressed store, hash-verified

80}
81
82func (w Writer) Float(f float32) error {
83 return w.Int(int32(math.Float32bits(f)))
84}
85func (w Writer) Double(f float64) error {
86 return w.Long(int64(math.Float64bits(f)))
87}

Callers

nothing calls this directly

Calls 1

IntMethod · 0.95

Tested by

no test coverage detected