Inverse Gray code
( go to the article → https://www.johndcook.com/blog/2020/09/08/inversegraycode/ )
The previous post looked at Gray code, a way of encoding digits so that the encodings of consecutive integers differ in only bit. This post will look at how to compute the inverse of Gray code. The Gray code of a nonnegative integer n is given by def gray(n): return n ^ (n >> 1) […]
The post Inverse Gray code first appeared on John D. Cook.
Sept. 8, 2020, 11:08 p.m.
You may be interested in:
Newest in: Computing
How much can Boolean expressions be simplified?
Minimizing boolean expressions
Newest in: Math
Drawing commutative diagrams with Quiver
