See also outputFixed(10)
Maybe this is what you're trying to obtain.

--
G. Vanuxem


2015-10-22 8:36 GMT+02:00 Grégory Vanuxem <[email protected]>:

> Hello another time,
>
> The model used for the representation of floating point numbers in Fricas
> and its relation to spad operations is explained in float.spad(.pamphlet).
>
> Hope that helps.
>
> --
> G. Vanuxem
>
>
> 2015-10-22 8:22 GMT+02:00 Grégory Vanuxem <[email protected]>:
>
>> Hi,
>>
>> I think you should use outputFloating(10)
>>
>> Regards
>>
>> --
>> G. Vanuxem
>>
>>
>> 2015-10-22 6:37 GMT+02:00 Alasdair McAndrew <[email protected]>:
>>
>>> 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.
>>>
>>
>>
>

-- 
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.

Reply via email to