Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 491 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 491 Bytes

Introduction

This is a C/C++ program to generate Gray code in mixed-radix system, convert between different base, and manipulat bits

Gray code in mixed-radix system generation

split( ): Implementation: the Art of Computer Programming Vol.4: Generating All n-TUPLES, 7.2.1.1 Algorithm H (Loopless reflected mixed-radix Gray generation)

A base conversions

A2I() and I2A(): Conversions between decimal and unusual bases

Bits manipulating

Manipulate single bits in an array.