Skip to content

Binary representation of floating-point numbers#737

Merged
trekhleb merged 3 commits into
masterfrom
binary-floating-point
Jul 16, 2021
Merged

Binary representation of floating-point numbers#737
trekhleb merged 3 commits into
masterfrom
binary-floating-point

Conversation

@trekhleb
Copy link
Copy Markdown
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