Overview
| Artifact ID: | 30ac8f37f30ec20142f3d65f1d5c9dfec857c1e7 |
|---|---|
| Ticket: | 1824688fffffffffffffffffffffffffffffffff
format should have a %b for converting integer to binary |
| User & Date: | lvirden on 2007-11-02 14:46:56 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
the format function in tcl has conversion specifiers for converting to decimal, octal, and hexadecimal. I'm requesting a conversion specifier for converting to binary. There are times when one has a need, at least during debugging, to take a look at a variable's bit pattern to see what bits are on and off. While one could certainly write tcl code to test each bit and output a 1 or a 0 in response, having a conversion character would allow Tcl to do the right thing. Given that Tcl supports 0bNNN for a built-in base specifier, it would seem natural to support perhaps %b to generate an appropriate string.
- 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: "lvirden"
- subsystem changed to: "11. Conversions From String"
- title changed to:
format should have a %b for converting integer to binary
- type changed to: "RFE"