| Summary: | HEX->BIN conversion is calculating wrong values | ||
|---|---|---|---|
| Product: | [Applications] kcalc | Reporter: | Peter Kortmann <pkortmann> |
| Component: | general | Assignee: | Evan Teran <evan.teran> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | efeciftci, p.r.worrall |
| Priority: | NOR | ||
| Version First Reported In: | 20.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Peter Kortmann
2023-09-29 10:12:27 UTC
The decimal number 5 (0x5 in hexadecimal) is represented as "(0)101" in binary (4+1), therefore I don't see anything wrong with 0x55 -> (0)101 0101. 1010 1010 is 0xAA. Setting to "Not a bug" because the conversion is correct and leading zeroes are not shown in any of the number systems |