Re: [go-nuts] Can ".." occur in golang source?

2020-10-07 Thread Ryan Keppel
I meant this code: https://golang.org/src/cmd/compile/internal/syntax/scanner.go#L187 . On Wednesday, October 7, 2020 at 1:29:24 AM UTC-7 Ryan Keppel wrote: > Yes, I mean that code section. I did a quick test and two floats tokenizes > just fine (2..5 tokenizes to "2." and &

Re: [go-nuts] Can ".." occur in golang source?

2020-10-07 Thread Ryan Keppel
1 + 10 = 20" isn't a syntax error) and I don't see it allowing that. On Wednesday, October 7, 2020 at 1:04:21 AM UTC-7 Jan Mercl wrote: > On Wed, Oct 7, 2020 at 9:23 AM Ryan Keppel wrote: > > > In the current Golang > > The name is Go. There's no Golang prog

[go-nuts] Can ".." occur in golang source?

2020-10-07 Thread Ryan Keppel
In the current Golang implementation of scanning, there's some extra code to handle ".." in the source (as two dot tokens). Would this ever happen in practice? Two floats together? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe

[go-nuts] Are float64 and float32 exact in Golang (like strictfp in Java)

2020-09-25 Thread Ryan Keppel
Does golang generate the SSE2 over the x87 floating point instructions on x64? In Java terms, it's always using strictfp? You could check the assembly I suppose. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and