Skip to content
Tcl Source Code History Of Ticket e7c21ed678
Login

History Of Ticket e7c21ed678

Artifacts Associated With Ticket e7c21ed678

  1. Ticket change [9c91f7e945] (rid 150565) by kbk on 2016-12-16 20:31:47:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      % set x 0x2
      0x2
      % expr entier($x)
      2
      % expr {entier($x) eq $x}
      1
      
      % set y [expr {entier($x)}]
      2
      % expr {$y eq $x}
      0
      % string equal [tcl::mathfunc::entier $x] $x
      1
      
      % tcl::mathfunc::entier $x
      0x2
      % tcl::mathfunc::wide $x
      2
      
    5. foundin initialized to: "8.7"
    6. is_private initialized to: "0"
    7. login: "kbk"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "dea4309228893694b36e1b3e9764a3c9178bbe7f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "kbk"
    14. subsystem initialized to: "45. Parsing and Eval"
    15. title initialized to: "entier() fails to canonicalize result"
    16. type initialized to: "Bug"
  2. Ticket change [6e1eaac5d3] (rid 150959) by dgp on 2017-01-03 19:44:54:

    1. assignee changed to: "dgp"
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [cfa209bbe4] (rid 153405) by aspect on 2017-04-29 03:46:00:

    1. icomment:
      I'm not convinced that it should.  I think there's a case either way .. does it make a difference for quadcode?
      
      See also:
      
      % tcl::mathfunc::entier 0x2
      0x2
      % ::tcl::mathfunc::round 0x2
      0x2
      % ::tcl::mathfunc::abs 0x2
      0x2
      % ::tcl::mathfunc::abs 00.02
      00.02
      % ::tcl::mathfunc::max 0x2
      0x2
      % ::tcl::mathfunc::min 0x2
      0x2
      
      % ::tcl::mathfunc::int 0x2
      2
      % ::tcl::mathfunc::wide 0x2
      2
      
      arguably, wide() and int() are missing an optimisation here.
      
      With -DACCEPT_NAN, most floating mathfuncs are also identity for non-canonical NaNs.
      
    2. login: "aspect"
    3. mimetype: "text/plain"