If I add your comment, a newline and the "func" keyword it does this
https://gist.github.com/CapsAdmin/9fe57314ab9f77bec0445eb042...
If I add some more context, ie "func swap(" you get
https://gist.github.com/CapsAdmin/2c8757887c27f980d1a4c2edfd...
more context, "func swap(x int32) int32"
https://gist.github.com/CapsAdmin/64e0392fe6f3d406a607884583...
I use and like copilot, but when it comes to things like this I generally don't trust it.
I'm not very fluent with bit swapping either, so I would probably resort to google on this one.
If I add your comment, a newline and the "func" keyword it does this
https://gist.github.com/CapsAdmin/9fe57314ab9f77bec0445eb042...
If I add some more context, ie "func swap(" you get
https://gist.github.com/CapsAdmin/2c8757887c27f980d1a4c2edfd...
more context, "func swap(x int32) int32"
https://gist.github.com/CapsAdmin/64e0392fe6f3d406a607884583...
I use and like copilot, but when it comes to things like this I generally don't trust it.
I'm not very fluent with bit swapping either, so I would probably resort to google on this one.