Note - the behaviour in Axiom is as it should be, the results returned are
[x= 2.847322102, x= - 1.423661051 - 0.283606001 %i,
x= - 1.423661051 + 0.283606001 %i]
Clearly there's something a little amiss in the floating point routines of
FriCAS.
On Thursday, 22 October 2015 15:37:21 UTC+11, Alasdair wrote:
>
> If you start a new FriCAS, and then enter:
>
> (1) -> digits 10
> (2) -> complexSolve(x^3-6*x-6=0,1.e-10)
>
> you obtain
>
> [x= 2.8473221018_6307233001_9122091471_217572689 - 0.4188072111 E -10 %i,
> x= - 1.423661051 - 0.283606001 %i,
> x= - 1.423661051 + 0.2836060010_2688149348_7508123507_7232122421 %i]
>
> which as you see contains floating point values with far more the the
> requested 10 digits. How can I ensure that all real and imaginary parts of
> the solution are displayed with only the 10 digits I want?
>
> Thanks,
> Alasdair
>
> --
> [image: http://www.facebook.com/alasdair.mcandrew]
> <http://www.facebook.com/alasdair.mcandrew> [image:
> https://plus.google.com/+AlasdairMcAndrew/posts]
> <https://plus.google.com/+AlasdairMcAndrew/posts> [image:
> https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108]
> <https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108> [image:
> https://twitter.com/amca01] <https://twitter.com/amca01> [image:
> http://numbersandshapes.net] <http://numbersandshapes.net>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.