printing of floating point numbers and integers in Maxima



I think you are right; I will rethink this.  It just fell into place trying to deal with structures, but it easily left out..  I'm traveling now, so not much will happen on my end for a week or more.


RJF


----- Original Message -----
From: Stavros Macrakis <macrakis at alum.mit.edu>
Date: Wednesday, December 19, 2007 9:10 am
Subject: Re: [Maxima] printing of floating point numbers and integers in Maxima
To: fateman at EECS.Berkeley.EDU
Cc: maxima at math.utexas.edu


> nformat doesn't seem like the right place to be formatting numbers.  nformat
> is a structure-to-structure map, not a structure-to-string map. I think
> makestring (in displa.lisp) and msize-atom (in grind.lisp) should call 
> a new
> common number-formatting function.
> 
> On Dec 18, 2007 7:51 PM, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> 
> > Here's what a new version of nformat provides.
> >   floatformat
> >   integerformat
> > are variables set to directives for formatting common lisp numbers 
> in the
> > display.
> >