text/template/parse.NumberNode.Complex128 (field)
7 uses
text/template/parse (current package)
node.go#L624: Complex128 complex128 // The complex value.
node.go#L648: if _, err := fmt.Sscan(text, &n.Complex128); err != nil {
node.go#L660: n.Complex128 = complex(0, f)
node.go#L717: n.IsFloat = imag(n.Complex128) == 0
node.go#L719: n.Float64 = real(n.Complex128)
text/template
exec.go#L504: return reflect.ValueOf(constant.Complex128) // incontrovertible.
exec.go#L897: value.SetComplex(n.Complex128)
![]() |
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. |