Math
How well does Tcl do with math? I am in the process of evaluating
languages for a navigation plotting system. I will be doing spherical
trig to do plot lines for a ships nav path. Has anyone used Tcl for
some gnarly math problems? I know that I can drop to "c" as well with
Tcl and that is in my mind as well but only if Tcl can't "handle" it.
Speed not the most pressing thing. Accuracy would be.
Robert
.
Relevant Pages
- Re: Will TCL release the variables automatically when the procedure is finished?
... it is NOT possible to "do too much float point math ... using Tcl": there are very large, ... If I were a betting man, I'd wager that namd is violating Tcl's threading principle: "an interp may only be called from the thread that created it". ... Also "As long as tcl doesn't do any floating point math in your script, this crash can't happen". ... (comp.lang.tcl) - Re: "A string, or not a string", that is the question ;)
... doing math on a "string". ... Tcl belongs to a group of languages referred to as "dynamically ... Other languages that won't "balk" at doing maths on strings ... (comp.lang.tcl) - Re: About Tcl syntax...
... What do you dislike in Tcl the most? ... they need to do some math. ... Python with courtesy of Haskell.. ... (comp.lang.tcl) - Re: Will TCL release the variables automatically when the procedure is finished?
... I think the problem might be that I'm doing too much float point math ... I read this "there is a bug in the tcl interpreter (not ... have have been doing abundant floating-point calculations ... (comp.lang.tcl) - Re: So slow Tcl :(
... >>Tcl is slow at math and more because Tcl has no efficient way to store ... One reason I turned to C in this particular instance was to make more ... pure-Tcl program relied too heavily on virtual memory). ... list accesses, and math operations. ... (comp.lang.tcl) |
|