go/src/math/bits
Tobias Klauser 89bcbf40b8 math/bits: add examples for right rotation
Right rotation is achieved using negative k in RotateLeft*(x, k). Add
examples demonstrating that functionality.

Change-Id: I15dab159accd2937cb18d3fa8ca32da8501567d3
Reviewed-on: https://go-review.googlesource.com/75371
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
2017-11-03 20:12:07 +00:00
..
bits.go
bits_tables.go
bits_test.go
example_test.go math/bits: add examples for right rotation 2017-11-03 20:12:07 +00:00
make_examples.go math/bits: add examples for right rotation 2017-11-03 20:12:07 +00:00
make_tables.go