Perhaps you meant to write:

)set output algebra off
)set history off
)set messages prompt none
)set messages startup off
)set messages type off
)set messages any off
digits 10000
outputFloating 25
outputSpacing 0
cbrt: (Float) -> Float
erfc: (Float) -> Float
log1p: (Float) -> Float
cbrt(x)  == (nthRoot(x, 3))
erfc(x)  == (1 - erf(x))
log1p(x) == (log(1 + x))
)cd /tmp
)set output algebra on
)set output algebra fricasComputationsForGo
cbrt(1.1)
erfc(1.2)
log1p(1.3)
--

I.e.

)set output algebra on
before you do the computations.

This works for me.


On Tue, Mar 10, 2020 at 7:28 PM Neven Sajko <nsa...@gmail.com> wrote:
> ...
> I tried writing to a file, but I think I hit a Fricas bug. I have the 
> following
> .fricas.input now:
>
> )set output algebra off
> )set history off
> )set messages prompt none
> )set messages startup off
> )set messages type off
> )set messages any off
> digits 10000
> outputFloating 25
> outputSpacing 0
> cbrt: (Float) -> Float
> erfc: (Float) -> Float
> log1p: (Float) -> Float
> cbrt(x)  == (nthRoot(x, 3))
> erfc(x)  == (1 - erf(x))
> log1p(x) == (log(1 + x))
> cbrt(1.1)
> erfc(1.2)
> log1p(1.3)
> )cd /tmp
> )set output algebra on
> )set output algebra fricasComputationsForGo
>
> But the algebra output is not being written to
> /tmp/fricasComputationsForGo.spout, or anywhere else I see, for that
> matter! The file instead just contains this, referring to itself:
>
>    Algebra output will be written to file
>       /tmp/fricasComputationsForGo.spout .
>
> Thanks,
> Neven Sajko
>
> --
> You received this message because you are subscribed to the Google Groups 
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to fricas-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/fricas-devel/CAL%2BbK4NuYowQ_OUeSsuMkR%3DV_03WaZE7oTQ4cvthqiGS1%3DrTvw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAC6x94TEjgiqr3xcWLE6jn%3DTnrxVO22AwFmb0mLctvnGAeeTyg%40mail.gmail.com.

Reply via email to