text/template/parse.NumberNode.Float64 (field)
14 uses
text/template/parse (current package)
node.go#L623: Float64 float64 // The floating-point value.
node.go#L643: n.Float64 = float64(rune) // odd but those are the rules.
node.go#L683: n.Float64 = float64(n.Int64)
node.go#L686: n.Float64 = float64(n.Uint64)
node.go#L696: n.Float64 = f
node.go#L719: n.Float64 = real(n.Complex128)
node.go#L720: n.IsInt = float64(int64(n.Float64)) == n.Float64
node.go#L722: n.Int64 = int64(n.Float64)
node.go#L724: n.IsUint = float64(uint64(n.Float64)) == n.Float64
node.go#L726: n.Uint64 = uint64(n.Float64)
text/template
exec.go#L509: return reflect.ValueOf(constant.Float64)
exec.go#L887: value.SetFloat(n.Float64)
![]() |
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. |