Artifacts Associated With Ticket 1166838fffffffff
Ticket change [7df428989f] (rid 97318) by marcomaggi on 2005-03-20 06:41:41:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "marcomaggi"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "pi functions for [expr]"
- type initialized to: "RFE"
Ticket change [4dd8cd88fd] (rid 127127) by vincentdarley on 2005-04-01 15:57:30:
- 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? - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [7d36d413cc] (rid 97208) by marcomaggi on 2005-04-04 02:04:27:
- 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.
- login: "marcomaggi"
- mimetype: "text/plain"
- username: "marcomaggi"
- icomment:
Ticket change [7654e02311] (rid 105571) by dkf on 2005-04-04 15:57:25:
- subsystem changed to: "45. Parsing and Eval"
Ticket change [f81e065991] (rid 91484) by dkf on 2005-04-04 15:57:26:
- assignee changed to: "msofer"
- 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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [ab54eebe5e] (rid 101085) by marcomaggi on 2005-04-07 02:23:08:
- 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.
- login: "marcomaggi"
- mimetype: "text/plain"
- username: "marcomaggi"
- icomment:
Ticket change [c41d85d357] (rid 111787) by dgp on 2005-04-07 11:21:13:
- icomment:
Logged In: YES user_id=80530 TIP 232 makes the pim() function a trivial proc.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1c22015745] (rid 90550) by msofer on 2006-09-30 00:58:56:
- closedate changed to: "2006-09-29T17:58:56"
- closer changed to: "msofer"
- status changed to: "Pending"
Ticket change [a04ee1200d] (rid 96786) by sf-robot on 2006-10-14 09:20:07:
- closedate changed to: "2006-10-14T02:20:07"
- closer changed to: "sf-robot"
- 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).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"