-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# gray_code | ||
IYTE EE142 GRAY CODE GENERATION | ||
|
||
Gray code, also known as reflected binary code, is a binary numeral system where two consecutive numbers differ by only one bit. In other words, it is a way to represent numbers in binary form such that only one bit changes between consecutive numbers. | ||
|
||
This code generates gray codes from 3-bit to 10-bit and prints out time elapsed during execution times in a text file. |