evanw / evanw/float-toy

The hex parser reads numbers from the wrong end.

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
199
Forks
53
PR merge metrics
No merged PRs in 30d

Description

To see the issue, enter "0x800" on the hex part of the 16bit/half visualizer at the top -- and see it has the "one" in bit 16 not bit 12 as it should be, so it currently parses 0x800 as 0x8000, not the expected 0x0800.

Workaround for users: enter all leading zeroes completely.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.