Visitar URL original
Binary Code? with a dot? · Issue #2 · ahmedfgad/ArithmeticEncodingPython · GitHub
Skip to content

Binary Code? with a dot? #2

Open

Description

@andreabisello

Hi,
and many thanks for this repository.
I have a question regarding binary code provided with the examples, like this one https://github.com/ahmedfgad/ArithmeticEncodingPython?tab=readme-ov-file#example
why does binary code is like 0.0010110?
why there is a dot?
You know, i would like to mare a comparison with Huffman encoding, calculating the length in bits of the messages, but the presence of the . is confusing me.
thanks

Activity

  1. ahmedfgad commented on Jan 7, 2025

    @ahmedfgad
    Owner

    The dot is just for separating the integer from the decimal part of the number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions