Re: testing a new Clisp Windows installer

Wolfgang Dautermann <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
On 2016-06-29 21:20, Pascal J. Bourguignon wrote:
> See Joerg's answers.

Yes, thank you. I can change the text. Would the following be okay - and
correct?

-----------------------------------------------------------------
Clisp
-----
Clisp includes GNU readline support, so Maxima has advanced command-line
editing facilities when built with it.

Clisp is compiled to bytecodes, so Maxima running on Clisp is
substantially slower than on Lisps compiled to machine instructions.
On the other hand, Clisp contains code from CLN (link to
http://www.ginac.de/CLN/), a library for efficient computations with all
kinds of numbers in arbitrary precision.

Clisp is very portable, there are Clisp implementations for many
platforms including MS Windows and Unix-like systems.
------------------------------------------------------------------

> Does maxima use long-float and if yes, does it use (setf
> ext:long-float-digits) to set the wanted precision (possibly big)?

I do not know very much about Maxima's internals, sorry.

> If it only uses single-float and double-float, then it's done in 
> hardware.

One can use double precision and arbitrary precision floats:

(%i1) sqrt(2),numer; /* compute sqrt(2) numerically as double */
(%o1)                          1.414213562373095
(%i2) fpprec:60$     /* set the precision for bloats to 60 digits */
(%i3) bfloat(sqrt(2)); /* compute sqrt(2) as a bigfloat (bfloat) */
(%o3)   1.41421356237309504880168872420969807856967187537694807317668b0

I assume, that the first may be done in hardware. But as Jörg pointed
out, the bytecode of calculating large expressions may be slow.

Thanks for all the answers and very fine, that Clisp development is
going on.

Best regards, Wolfgang

(Is there a way, that Clisp may produce machine code instead of
bytecode, to speed it up? There seem to be the possibility to use a
just-in-time-compiler (lightning) - does that work? If so, perhaps one
of the next releases may have enabled it by default?)

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.