[ 2467104 ] plot2d of sin(x) incorrect



Hi, there is a recent bug report: [ 2467104 ] plot2d of sin(x) incorrect
https://sourceforge.net/tracker/index.php?func=detail&aid=2467104&group_id=4933&atid=104933

It seems the problem hinges on *READ-DEFAULT-FLOAT-FORMAT*
which is set incorrectly. (Should be double but it's single.)

The system in question is SBCL on Ubuntu.
Can anyone launch Maxima on such a system and check
the value of *READ-DEFAULT-FLOAT-FORMAT* ?

Looks like lines 338--340 in src/clmacs.lisp are intended to assign it.
Maybe the EVAL-WHEN didn't work as intended?
(although I would expect lots of other stuff to be broken if that's the case).

I see *READ-DEFAULT-FLOAT-FORMAT* is assigned at run time
in src/init-cl.lisp but only for Allegro.
That's too late, isn't it? I think it needs to be assigned before floating
point literals are read by the compiler. Maybe I've misunderstood
something; wouldn't be the first time.

Thanks for any light you can shed on this.

Robert Dodier