close
The Wayback Machine - https://web.archive.org/web/20211019131253/https://github.com/trekhleb/javascript-algorithms/pull/737
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary representation of floating-point numbers #737

Merged
merged 3 commits into from Jul 16, 2021
Merged

Conversation

@trekhleb
Copy link
Owner

@trekhleb trekhleb commented Jul 16, 2021

  1. Adding the explanation of how the floating-point numbers like -27.156 are stored in binary format in a computer's memory.
  2. Adding an example of how to convert an array of bits to the floating-point number (the example is a bit artificial but still it gives the overview of how the conversion is going on)
  3. Adding an example of how to see the actual binary representation of the floating-point number in JavaScript
@trekhleb trekhleb merged commit b2d1ec8 into master Jul 16, 2021
1 check passed
@trekhleb trekhleb deleted the binary-floating-point branch Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant