Page 1 of 1

rotate bug on WIN7 x64

Posted: Sat Aug 11, 2018 5:52 pm
by IVShilov
See this:

Code: Select all

newLISP v.10.7.1 64-bit on Windows IPv4/6 UTF-8 libffi, options: newlisp -h

> (rotate (sequence 0 24) -25 ) # BUG: 
(0)
> (rotate (sequence 0 24) -24 ) # all OK:
(24 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23)
> (rotate (sequence 0 24) -26 ) # all OK again: 
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 0)
> (letn (x 25) (rotate (sequence 0 x) (- (inc x)) )) # again all OK, but must be BUG: 
(26 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25)
> (rotate (sequence 0 4) -5 ) # BUG: 
(0)
> (rotate (sequence 0 5) -6 ) # BUG: 
(0)
> 

Re: rotate bug on WIN7 x64

Posted: Sat Aug 11, 2018 9:09 pm
by Lutz
Fixed here: http://www.newlisp.org/downloads/develo ... nprogress/

Source package and executables for macOS and Windows.