Re: Compiling PicoLisp on MSYS2 and floating point math

2016-04-05 Thread Alexander Burger
Hi Rob, > Even if scl = 6, (* 3.0 2.1) still produces 63, not 6.3, correct? Note that the correct multiplication of fixpoint numbers requires the division by the scale (as you obviously did): : (*/ 3.0 2.1 1.0) -> 630 > Unless you code a format in? Exactly. Or a derivate

Re: Compiling PicoLisp on MSYS2 and floating point math

2016-04-05 Thread Robert Herman
My bad. I was only running the picolisp.exe, and worse, in an MSYS2 shell. I dropped Cygwin a while ago for my Windows box. I need to see if I can build picolisp in MSYS2. Hopefully the MS move to support some basic Linux functionality may help in future for building command line Linux apps? Even

Re: Compiling PicoLisp on MSYS2 and floating point math

2016-04-05 Thread Alexander Burger
Hi Rob, > picolisp on Cygwin on my Windows 10 box. The Cygwin version chokes on > certain things, such as (load "@lib/math.l") produces: > > [lib/math.l:4] !? (scl 6) > scl -- Undefined This is very strange. 'scl' is defined in "lib.l", before anything else is loaded. You invoked it from the