On Wed, Jun 03, 2026 at 08:11:01AM +0200, Grégory Vanuxem wrote:
> Hello,
>
> Any idea why I obtain a huge numerical precision using complexSolve here,
> at least, displayed?
>
> (1) -> complexSolve(x^3+3*x^2+x+17=0, 0.0000000001)
>
> (1)
> [x = - 3.8744001380_296332337,
> x = 0.4372000690_1481618814_9406395091_6108308765_2840423528 -
> 2.0485683086_313182244 %i,
>
> x
> =
> 0.4372000690_1481618814_9406395091_6108308765_2840423528
> +
> 2.0485683086_3131822439_9819882819_4290399551_391601562 %i
> ]
> Type:
> List(Equation(Polynomial(Complex(Float))))
> (2) -> precision()$Float
>
> (2) 68
>
> Type: PositiveInteger
>
> (3) -> digits()$Float
>
> (3) 20
>
By default FriCAS displays all computed digits. If that bothers
you, you can do:
(1) -> outputGeneral(20)
Type: Void
(2) -> complexSolve(x^3+3*x^2+x+17=0, 0.0000000001)
(2)
[x = - 3.8744001380_296332337,
x = 0.4372000690_1481618815 - 2.0485683086_313182244 %i,
x = 0.4372000690_1481618815 + 2.0485683086_313182244 %i]
Type: List(Equation(Polynomial(Complex(Float))))
--
Waldek Hebisch
--
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 view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/aiAANrVv-Xu71PPN%40fricas.org.