in reply to Re^2: Add 1 to an arbitrary-length binary string
in thread Add 1 to an arbitrary-length binary string
That would be true if all strings were hex numbers, but "/Some/Arbitrarily/long/string" (see Re^2: Add 1 to an arbitrary-length binary string) doesn't look like a hex number to me...
Shouldn't "61FF" + 1 = "61FG" ?
If a set of test cases were provided, that could clarify the matter.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Add 1 to an arbitrary-length binary string
by syphilis (Archbishop) on Nov 16, 2023 at 06:53 UTC | |
|
Re^4: Add 1 to an arbitrary-length binary string
by ikegami (Patriarch) on Nov 16, 2023 at 05:36 UTC |