Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Binary representation of floating-point numbers #737

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

Merged
merged 3 commits into from
Jul 16, 2021

Conversation

trekhleb
Copy link
Owner

  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
@trekhleb trekhleb deleted the binary-floating-point branch July 16, 2021 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant