Skip to content
Artwork for Programming Tech Brief By HackerNoon
Programming Tech Brief By HackerNoon · Sunday · 7 min

Why Your Hex Converter Lies to You: Two's Complement, the 53-Bit Wall, and Radix Magic

This story was originally published on HackerNoon at: https://hackernoon.com/why-your-hex-converter-lies-to-you-twos-complement-the-53-bit-wall-and-radix-magic. An in-depth exploration of two's complement, sign extension traps, IEEE-754 precision limits in JavaScript, and why Radix 36 is the superior choice for URL-safe Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #web-development, #computer-science, #javascript, #software-engineering, #hex-converter, #radix, #sign-extension-traps, #hackernoon-top-story, and more. This story was written by: @eliasmiller. Learn more about this writer by checking @eliasmiller's about page, and for more stories, please visit hackernoon.com. Why hardware never stores a minus sign and how two's complement actually calculates negatives; how arithmetic and logical bitshifts (>> vs >>>) introduce silent network packet bugs; the 53-bit precision limit that collapses large integers in JavaScript; and why Radix 36 beats Base-64 for URL slugs and distributed IDs.

0:00-7:39

transcript

No transcript — this publisher did not publish one.

show notes

This story was originally published on HackerNoon at: https://hackernoon.com/why-your-hex-converter-lies-to-you-twos-complement-the-53-bit-wall-and-radix-magic.
An in-depth exploration of two's complement, sign extension traps, IEEE-754 precision limits in JavaScript, and why Radix 36 is the superior choice for URL-safe
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #web-development, #computer-science, #javascript, #software-engineering, #hex-converter, #radix, #sign-extension-traps, #hackernoon-top-story, and more.

This story was written by: @eliasmiller. Learn more about this writer by checking @eliasmiller's about page, and for more stories, please visit hackernoon.com.

Why hardware never stores a minus sign and how two's complement actually calculates negatives; how arithmetic and logical bitshifts (>> vs >>>) introduce silent network packet bugs; the 53-bit precision limit that collapses large integers in JavaScript; and why Radix 36 beats Base-64 for URL slugs and distributed IDs.

links13