Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 89500bed7136bcce955c69e10dddad0d483bdae59f6fd3d55fc73a604cdb8c68
Ticket: ff658e10fc6e18a81cd63603be46262b867f4626
tip 551 in 8.7a4 0b1111_1111 not working
User & Date: anonymous on 2020-12-30 17:09:33
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    TIP 551 allows numbers to have underscores for visibility. 
    
    I tried a single file unofficial executable for 8.7a4 and 
    got these results, decimal and hex working, but the binary 
    isn't working as expected:
    
    % expr 1000
    1000
    % expr 1_000
    1000
    % expr 0x1ff
    511
    % expr 0x1_ff
    511
    % expr 0b11111111
    255
    % expr 0b1111_1111
    invalid bareword "0b1111_1111"
    in expression "0b1111_1111";
    should be "$0b1111_1111" or "{0b1111_1111}" or "0b1111_1111(...)" or ... (invalid binary number?)
    
  5. foundin changed to: "8.7a4"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "f71b892bb66bbe62171377434195d51ad1a81bd2"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "48. Number Handling"
  15. title changed to: "tip 551 in 8.7a4 0b1111_1111 not working"
  16. type changed to: "Bug"