To complete this thread. Marco didn't cc to this list.
Volker
2013/4/1 Marco Frigerio <marco.frigerio at iit.it>
> Thank you!
> I knew fpprintprec but for some reason I didn't think about it, that's why
> I could not find any solution..
>
> Thanks again
> MF
>
>
> On 03/31/2013 02:21 PM, Volker van Nek wrote:
>
>> (%i1) 0.00017;
>> (%o1) 1.7000000000000001E-4
>> (%i2) fpprintprec : 12$
>>
>> (%i3) 0.00017;
>> (%o3) 1.7E-4
>>
>> fpprintprec = floating pont printing precision
>>
>> just controls printing and does not affect calculation.
>>
>> Maybe this is what you want.
>>
>> Volker van Nek
>>
>>
>> 2013/3/28 Marco Frigerio <marco.frigerio at iit.it
>> <mailto:marco.frigerio at iit.it>**>
>>
>>
>> Hi,
>>
>> sorry I looked into the manual but I cannot find a solution:
>>
>> (%i74) 0.0017;
>> (%o74) 0.0017
>> (%i75) 0.00017;
>> (%o75) 1.7000000000000001E-4
>>
>> why is the second example displayed like that? I guess it has
>> something to do with the floating point precision, but i would like
>> to prevent it, I don't care about any loss of precision.
>> I mean, I'd like that 0.00017 results either in 0.00017 (exactly the
>> same) or 1.7E-4
>>
>> Thank you very much
>>
>> MF
>> ______________________________**___________________
>> Maxima mailing list
>> Maxima at math.utexas.edu <mailto:Maxima at math.utexas.edu**>
>> http://www.math.utexas.edu/__**mailman/listinfo/maxima<http://www.math.utexas.edu/__mailman/listinfo/maxima>
>> <http://www.math.utexas.edu/**mailman/listinfo/maxima<http://www.math.utexas.edu/mailman/listinfo/maxima>
>> >
>>
>>
>>
>