Re: [go-nuts] what is a &^= b means?

2021-04-24 Thread Wojciech S. Czarnecki
Dnia 2021-04-24, o godz. 05:42:01 xie cui napisaƂ(a): > what is this op (&^=) means? This is common idiom for "bit clear" in Go Chinese: https://gfw.go101.org/article/operators.html English: https://go101.org/article/operators.html https://golang.org/ref/spec#assign_op https://yourbasic.org/g

Re: [go-nuts] what is a &^= b means?

2021-04-24 Thread Jan Mercl
On Sat, Apr 24, 2021 at 2:42 PM xie cui wrote: > func f(a, b int) int { > a &^= b > return a > } > what is this op (&^=) means? There is a wonderful source of answers to such questions here: https://golang.org/ref/spec -- You received this message because you are subscribed to the Goog

[go-nuts] what is a &^= b means?

2021-04-24 Thread xie cui
func f(a, b int) int { a &^= b return a } what is this op (&^=) means? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroup