another explode bug 4.5b0 - 7.8



>>>>> "Raymond" == Raymond Toy <raymond.toy@ericsson.com> writes:

>>>>> "Barton" == Barton Willis <willisb@unk.edu> writes:
    Barton> This seems to be another 'explode' bug. 
    Barton> (%i1) 4.5b0 - 7.8;
    Barton> Maxima encountered a Lisp error:

    Barton> Error in MFORMAT [or a callee]: -7.7999999999999998 is not of type 
    Barton> STRING.

    Raymond> Perhaps this change from version 1.14 to 1.15 of commac.lisp is the
    Raymond> cause:

    Raymond> -(defun explode (symb &aux tem sstring)
    Raymond> -  (setq sstring (format nil "~s" symb))
    Raymond> -  (sloop for v on (setq tem (list-string sstring))
    Raymond> +(defun explode (symb &aux tem)
    Raymond> +  (sloop for v on (setq tem (coerce (string symb) 'list))
    Raymond>  	do (setf (car v)(intern (string (car v)))))
    Raymond>    tem)

I'm going to revert this back to rev 1.14.

Ray