Skip to main content
gray_code
lib_
jsl_
information
2.49.0
In lib_
jsl_
information::
source_
coders::
gray_
codes
lib_jsl_information
::
source_coders
::
gray_codes
Function
gray_
code
Copy item path
Source
pub fn gray_code(n:
u64
) ->
u64
Expand description
Returns the reflected binary Gray code of
n
.