MCPcopy
hub / github.com/uber-go/zap / AppendComplex64

Method AppendComplex64

zapcore/json_encoder.go:332–332  ·  view source on GitHub ↗
(v complex64)

Source from the content-addressed store, hash-verified

330func (enc *jsonEncoder) AddUint8(k string, v uint8) { enc.AddUint64(k, uint64(v)) }
331func (enc *jsonEncoder) AddUintptr(k string, v uintptr) { enc.AddUint64(k, uint64(v)) }
332func (enc *jsonEncoder) AppendComplex64(v complex64) { enc.appendComplex(complex128(v), 32) }
333func (enc *jsonEncoder) AppendComplex128(v complex128) { enc.appendComplex(complex128(v), 64) }
334func (enc *jsonEncoder) AppendFloat64(v float64) { enc.appendFloat(v, 64) }
335func (enc *jsonEncoder) AppendFloat32(v float32) { enc.appendFloat(float64(v), 32) }

Callers 1

AddComplex64Method · 0.95

Calls 1

appendComplexMethod · 0.95

Tested by

no test coverage detected