ECL runs Maxima in a browser

2025-01-27 Thread Raymond Toy
Thought you would be interested to know that Marius Gerbershagen has used ecl to compile Maxima to wasm to run in a browser. I believe it's a pretty complete implementation with fancy TeX display of formulas and nice graphics via gnuplot compiled to wasm. See it at http://maxima-on-wasm.pages.dev

Re: (log #c(0 1) #c(0 -1)) errors

2023-03-21 Thread Raymond Toy
On 3/21/23 07:20, James Cloos wrote: With 21.2.1 I get: (log #c(0 1) #c(0 -1)) Debugger received error of type: DIVISION-BY-ZERO # Error flushed. gcl, sbcl and ccl all return #C(-1.0 0.0). Probably related. (log #c(0 1)) and (log #c(0 -1)) both signal a division by zero.  The answer shou

Re: bug in (log)

2022-07-03 Thread Raymond Toy
On Sun, Jul 3, 2022 at 8:10 AM James Cloos wrote: > it looks like that bug only harms ratio. bignum integer seems to be ok. > > so aworkarount is, in the caseof a ratio, to take the difference of the > logs of the numerator and the denominator. > This is basically what cmucl does. But you have

Re: least-positive vs least-positive-normalized

2019-02-05 Thread Raymond Toy
Sorry for the delay On Tue, Jan 29, 2019 at 11:08 PM Daniel Kochmański wrote: > Hey, > > > With ecl 16.1.3, I noticed that least-positive-double-float and > > least-positive-normalized-double-float are exactly equal. This is > > allowed, but ecl can work with denormals since (/ > > least-po

least-positive vs least-positive-normalized

2019-01-29 Thread Raymond Toy
With ecl 16.1.3, I noticed that least-positive-double-float and least-positive-normalized-double-float are exactly equal. This is allowed, but ecl can work with denormals since (/ least-positive-normalized-double-float 10) is printed correctly. Maybe these two values should be different? Or mayb

Re: ecl-16.1.2: new maxima testsuite failure

2016-02-29 Thread Raymond Toy
> "Andrey" == Andrey G Grozin writes: Andrey> maxima-5.37.3 built with ecl-16.0.0 runs its testsuite without unexpected Andrey> errors. When buils with ecl-16.1.2, it fails in Andrey> Running tests in rtest8: Andrey> ** Problem 104 *** An

Re: [floats][infinity][C99]

2015-09-04 Thread Raymond Toy
> "Daniel" == Daniel Kochma writes: Daniel> Also, we'll have to define such infinity for each architecture Daniel> separately, depending on the endianess? >> >> Yes, probably. But you only need to set up MSB/LSB to get the right >> thing. I think. At least that's how fdl

Re: [floats][infinity][C99]

2015-09-04 Thread Raymond Toy
>>>>> "Daniel" == Daniel Kochma writes: Daniel> Thanks for reply. Daniel> Raymond Toy writes: >>>>>>> "Daniel" == Daniel Kochma writes: >> Daniel> Hello, Daniel> I'm little in doubt.

Re: [floats][infinity][C99]

2015-09-04 Thread Raymond Toy
> "Daniel" == Daniel Kochma writes: Daniel> Hello, Daniel> I'm little in doubt. Problem is related to ieee-floating-point Daniel> extensions, which provide infinities and nan. Everything works fine Daniel> until we generate C code, which simply breaks, because it isn't taken