Skip to content

Implement Binary-to-Gray and Gray-to-Binary Conversion Functions #9370

@SanketPatil7467

Description

@SanketPatil7467

Feature description

Binary-to-Gray and Gray-to-Binary Conversion Functions

I propose adding new functions to this project that will allow for binary-to-gray and gray-to-binary conversions. These conversions are essential in various digital communication and signal processing applications. The functions should handle efficient and accurate conversion between binary and Gray code representations and also handles errors for passing input string.

Binary to Gray:
bin_to_gray

Gray to Binary:
gray_to_bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions