reflect.Value.Complex (method)
21 uses
reflect (current package)
value.go#L796: func (v Value) Complex() complex128 {
value.go#L1111: c := v.Complex()
value.go#L2679: return makeComplex(v.flag.ro(), v.Complex(), t)
encoding/binary
binary.go#L673: x := v.Complex()
binary.go#L677: x := v.Complex()
encoding/gob
encode.go#L228: c := v.Complex()
encode.go#L448: return val.Complex() == 0
fmt
print.go#L753: p.fmtComplex(f.Complex(), 64, verb)
print.go#L755: p.fmtComplex(f.Complex(), 128, verb)
github.com/google/go-cmp/cmp
compare.go#L278: s.report(vx.Complex() == vy.Complex(), 0)
report_reflect.go#L172: return textLine(fmt.Sprint(v.Complex()))
github.com/google/go-cmp/cmp/internal/value
sort.go#L50: cx, cy := x.Complex(), y.Complex()
zero.go#L25: return math.Float64bits(real(v.Complex())) == 0 && math.Float64bits(imag(v.Complex())) == 0
internal/fmtsort
sort.go#L118: a, b := aVal.Complex(), bVal.Complex()
text/template
exec.go#L319: truth = val.Complex() != 0
funcs.go#L485: truth = arg1.Complex() == arg.Complex()
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |