Skip to content
Tcl Source Code History Of Ticket 1166838
Login

History Of Ticket 1166838

Artifacts Associated With Ticket 1166838

  1. Ticket change [7df428989f] (rid 97318) by marcomaggi on 2005-03-20 06:41:41:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Add to [expr] functions that: return the value of pi,
      half pi,
      2 pi; convert rad to deg and vice versa.
      
      I find them useful to do [canvas] graphics. I know that one
      can do [expr acos(0.0)] and process the value, but it does
      no good to code readability.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "marcomaggi"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "pi functions for [expr]"
    11. type initialized to: "RFE"
  2. Ticket change [4dd8cd88fd] (rid 127127) by vincentdarley on 2005-04-01 15:57:30:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      For code readability, surely you can do 'set pi [expr
      {2*acos(0.0)}]' and then use $pi in all your expressions?
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [7d36d413cc] (rid 97208) by marcomaggi on 2005-04-04 02:04:27:

    1. icomment:
      Logged In: YES 
      user_id=727156
      
      Using a variable is what I'm doing; but its annoying to expose
      a global/module variable for this, and it's even more annoying
      to compute the value each time.
      
      
      
    2. login: "marcomaggi"
    3. mimetype: "text/plain"
    4. username: "marcomaggi"
  4. Ticket change [7654e02311] (rid 105571) by dkf on 2005-04-04 15:57:25:

    1. subsystem changed to: "45. Parsing and Eval"
  5. Ticket change [f81e065991] (rid 91484) by dkf on 2005-04-04 15:57:26:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      We don't have symbolic constants in the expression parser
      currently (as opposed to literals) and the value of pi
      shouldn't be the result of a function IMO.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  6. Ticket change [ab54eebe5e] (rid 101085) by marcomaggi on 2005-04-07 02:23:08:

    1. icomment:
      Logged In: YES 
      user_id=727156
      
      A function with argument is even better:
      pim(value), "pi multiplied"; returns pi multiplied by "value":
      
      pi(1) -> 3,14...
      pi(2) ->  6.28...
      pi(0.5) -> 1.57...
      
      I understand that this is "strange", but I do not intend to
      propose
      a way to let known constants be obtained in an expressions;
      I think that pi is important enough to have it, even with a
      strange
      function.
      
      
      
    2. login: "marcomaggi"
    3. mimetype: "text/plain"
    4. username: "marcomaggi"
  7. Ticket change [c41d85d357] (rid 111787) by dgp on 2005-04-07 11:21:13:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      TIP 232 makes the pim() function
      a trivial proc.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [1c22015745] (rid 90550) by msofer on 2006-09-30 00:58:56:

    1. closedate changed to: "2006-09-29T17:58:56"
    2. closer changed to: "msofer"
    3. status changed to: "Pending"
  9. Ticket change [a04ee1200d] (rid 96786) by sf-robot on 2006-10-14 09:20:07:

    1. closedate changed to: "2006-10-14T02:20:07"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"