On 2014-01-31, Dima Pasechnik <[email protected]> wrote: > in fact, the x86_64 output has 17 digits, whereas Maxima manual > seems to say that there should be 16 digits: > http://maxima.sourceforge.net/docs/manual/en/backup/maxima_10.html#Item_003a-fpprintprec > > For ordinary floating point numbers, when fpprintprec has a value > between 2 and 16 (inclusive), the number of digits printed is equal to > fpprintprec. Otherwise, fpprintprec is 0, or greater than 16, and the > number of digits printed is 16. > > setting fpprintprec to 16 still produces 17 digits; > setting it to 15 produces 16 digits. > > On ARM setting fpprintprec to 16 or 15 produces 16 digits, > and setting it to 14 produces 15 digits...
Yeah. That's a bug in Maxima, caused by a misunderstanding (mine) of the Common Lisp function FORMAT. I'm trying to fix that at the moment, to make the behavior of fpprintprec match its description. I think I understand how to accomplish that now. Wish me luck. best Robert Dodier -- You received this message because you are subscribed to the Google Groups "sage-devel" 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/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
