tex() function problem.



This might be a bug caused by changes to explode or friends.  We also get
an error from tex(0.4).

(%i4) :lisp(trace explode texnumformat);
(EXPLODE)
(%i4) tex(0.4);
$$
  1> (TEXNUMFORMAT 0.40000000000000002)
    2> (EXPLODE 0.40000000000000002)
Maxima encountered a Lisp error:

 Error in SYSTEM::TRACE-CALL [or a callee]: 0.40000000000000002 is not of 
type STRING.

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i5) build_info();

Maxima version: 5.9.1.1cvs
Maxima build date: 12:21 10/20/2004
host type: i686-pc-mingw32
lisp-implementation-type: Kyoto Common Lisp
lisp-implementation-version: GCL 2.6.5

Barton




Chris Sangwin <sangwinc@for.mat.bham.ac.uk>
Sent by: maxima-admin@math.utexas.edu
11/01/2004 08:47 AM

 
        To:     maxima@math.utexas.edu
        cc: 
        Subject:        [Maxima] tex() function problem.



This seems a trivial issue:

tex(x^0.5) illustrates the problem.  I think it should return

$$x^{0.5}$$, not $$x^0.5$$.

Regards
Chris

_______________________________________________
Maxima mailing list
Maxima@www.math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima