Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-20
20:41
Merge [f46e5b193a336295]: Fix bug [891a74b941] - format %#d not consistent with other radix prefixes... check-in: 3f2368cce4 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2023-09-18
06:33 • Ticket [891a74b941] format %#d not consistent with other radix prefixes or TIP 4... artifact: a07cb22707 user: jan.nijtmans
06:30
Backport [891a74b941]: format %#d not consistent with other radix prefixes or TIP 472 description check-in: 4eec7c7f53 user: jan.nijtmans tags: core-8-branch
2023-09-16
16:43 • Closed ticket [891a74b941]: format %#d not consistent with other radix prefixes ... artifact: edf005a86d user: griffin
00:44
Fix bug [891a74b941] - format %#d not consistent with other radix prefixes check-in: f46e5b193a user: griffin tags: trunk, main
2023-09-15
01:17 • Ticket [891a74b941] format %#d not consistent with other radix prefixes or TIP 4... artifact: d6ed4e3eea user: griffin
2023-08-28
07:49 • New ticket [891a74b941]. artifact: f45878c5d2 user: juliannoble2

format %#d not consistent with other radix prefixes or TIP 472 description

Closed / Fixed891a74b94129d29a8829847574e6eba9d448c35eCreated 3 years agoUpdated 3 years ago
Descriptionplain2023-08-28 07:49:06
Tip 472 gives the example:

% format "%#d" 128
   0d128

On the builds of 8.7 and 9 that I have available (on windows) I get:

% format "%#d" 128
128

whereas for other radix prefixes it seems to work as expected:
% format "%#b" 128
0b10000000
% format "%#x" 128
0x80
Referenced by3
griffin Ticket [891a74b941]: 3 changes [History diff]2023-09-15 01:17:28
griffinplain2023-09-16 16:43:32
Fixed with [f46e5b193a].
jan.nijtmanswiki2023-09-18 06:33:10

[Backported] to 8.7 as well

Log in (anonymous is fine) to add a comment.