On 11/2/2013 4:29 AM, Igor Korepanov wrote:
> Dear all,
>
> I have just joined this mailing list, so I would like to say first that I have enjoyed using Maxima for quite a while already, since I switched to free software a few years ago. Maxima is great, and my thanks to its creators and maintainers (I also often acknowledge this explicitly in my mathematical papers).
>
> Now the question: why does bfloat behave exactly this way? And not some other way?
I don't understand your question. How would you like it to behave?
Note that the floating point number 3.4567890123 is EXACTLY
486499803365397/140737488355328
which is not
3.456789012300000000000000000000000 but
3.456789012299999797050986671820282936.....
or are you complaining about float2bf ??
> (%i1) float2bf: false;
> (%o1) false
>
> (%i2) fpprec: 300;
> (%o2) 300
>
> (%i3) x: bfloat( 3.4567890123 );
> bfloat: converting float 3.4567890123 to bigfloat.
> (%o3) 3.45678901229999979705098667182028293609619140625b0
>
> Best wishes,
>
> Igor
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima