Ticket UUID: | 641143 | |||
Title: | More math functions | |||
Type: | RFE | Version: | None | |
Submitter: | dkf | Created on: | 2002-11-20 10:38:35 | |
Subsystem: | 45. Parsing and Eval | Assigned To: | dkf | |
Priority: | 2 | Severity: | ||
Status: | Deleted | Last Modified: | 2007-09-13 08:32:49 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
Description: |
Reading the Parrot bytecode docs http://www.parrotcode.org/docs/parrot_assembly.pod.html has inspired me to produce a list of the "missing" transcendental functions which it would be nice if Tcl provided implementations of (even if just in terms of completeness!) sec - Secant (reciprocal of cosine) asec - Inv.Secant csc - Cosecant (reciprocal of sine) acsc - Inv.Cosecant cot - Cotangent (reciprocal of tangent) acot - Inv.Cotangent sech - Hyperbolic Secant (reciprocal of cosh) csch - Hyperbolic Cosecant (reciprocal of sinh) coth - Hyperbolic Cotangent (reciprocal of tanh) log2 - Log to base 2 | |||
User Comments: |
dkf added on 2006-03-16 16:27:35:
File Added - 171096: extrafuncs.tcl dkf added on 2006-03-16 16:27:34: Logged In: YES user_id=79902 Try the attached... hobbs added on 2002-11-23 06:31:21: Logged In: YES user_id=72656 my vote would be to put all these in tclx, unless they are guaranteed in the math lib (which I doubt). |
Attachments:
- extrafuncs.tcl [download] added by dkf on 2006-03-16 16:27:34. [details]