Overview
| Artifact ID: | 367aed09caaf148404b9571281a1a99be5f36236 |
|---|---|
| Ticket: | 2368084fffffffffffffffffffffffffffffffff
#343: Add %b (binary) specifier to [format/scan] |
| User & Date: | ferrieux on 2008-12-01 00:54:21 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
The attached patch adds a %b specifier meaning 'binary' to the [format] and [scan] commands. It is thus continuing in the direction pioneered by the recent addition of "0b" in [expr]'s number parsing. The specifier of course also works with "#" (adding "0b" if nonzero) and wide- and bignum modifiers (%lb, %llb). In addition, the patch fixes the following bug in [scan]: % scan 0b101 %i x 1 % puts $x 0 The patch includes proper tests and documentation update. Does it really need a TIP ? - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ferrieux"
- subsystem changed to: "23. [scan]"
- title changed to: "Add %b (binary) specifier to [format/scan]"
- type changed to: "Patch"