Re: [fricas-devel] 4ti2 and )set message time on

2021-04-15 Thread Waldek Hebisch
On Fri, Apr 16, 2021 at 01:48:13AM +0200, Kurt Pagani wrote: > On 16.04.2021 00:39, Waldek Hebisch wrote: > > On Thu, Apr 15, 2021 at 05:59:54PM +0200, Ralf Hemmecke wrote: > >> I am calling an external program in a .spad file like this: > >> > >> systemCommand(cmd)$MoreSystemCommands > >> > >>

Re: [fricas-devel] 4ti2 and )set message time on

2021-04-15 Thread Kurt Pagani
On 16.04.2021 00:39, Waldek Hebisch wrote: > On Thu, Apr 15, 2021 at 05:59:54PM +0200, Ralf Hemmecke wrote: >> I am calling an external program in a .spad file like this: >> >> systemCommand(cmd)$MoreSystemCommands >> >> where cmd is >> >> "system /usr/bin/zsolve-4ti2 DATA" >> >> When I switch on

Re: [fricas-devel] 4ti2 and )set message time on

2021-04-15 Thread Waldek Hebisch
On Thu, Apr 15, 2021 at 05:59:54PM +0200, Ralf Hemmecke wrote: > I am calling an external program in a .spad file like this: > > systemCommand(cmd)$MoreSystemCommands > > where cmd is > > "system /usr/bin/zsolve-4ti2 DATA" > > When I switch on timing I get something like and call the function

Re: [fricas-devel] optimize sqrt$Complex(DoubleFloat)

2021-04-15 Thread Waldek Hebisch
On Thu, Apr 15, 2021 at 05:43:03PM +0800, Qian Yun wrote: > I found this from github issue #55. > > In ComplexCategory, there is > > if R is DoubleFloat then > stoc ==> s_to_c$Lisp > ctos ==> c_to_s$Lisp > > exp x == ctos EXP(stoc x)$Lisp >

[fricas-devel] 4ti2 and )set message time on

2021-04-15 Thread Ralf Hemmecke
I am calling an external program in a .spad file like this: systemCommand(cmd)$MoreSystemCommands where cmd is "system /usr/bin/zsolve-4ti2 DATA" When I switch on timing I get something like and call the function from my .spad file, I get Time: 0 (IN) + 0.04 (EV) + 0.00 (OT) = 0.05 sec

[fricas-devel] optimize sqrt$Complex(DoubleFloat)

2021-04-15 Thread Qian Yun
I found this from github issue #55. In ComplexCategory, there is if R is DoubleFloat then stoc ==> s_to_c$Lisp ctos ==> c_to_s$Lisp exp x == ctos EXP(stoc x)$Lisp log x == ctos LOG(stoc x)$Lisp .. etc I think "sqrt" should also

[fricas-devel] optimize sqrt$Complex(DoubleFloat)

2021-04-15 Thread Qian Yun
I found this from github issue #55. In ComplexCategory, there is if R is DoubleFloat then stoc ==> s_to_c$Lisp ctos ==> c_to_s$Lisp exp x == ctos EXP(stoc x)$Lisp log x == ctos LOG(stoc x)$Lisp .. etc I think "sqrt" should also