rotate bug on WIN7 x64

Notices and updates
Post Reply
IVShilov
Posts: 17
Joined: Wed Apr 12, 2017 1:58 am

rotate bug on WIN7 x64

Post 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)
> 

Lutz
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: rotate bug on WIN7 x64

Post by Lutz »

Fixed here: http://www.newlisp.org/downloads/develo ... nprogress/

Source package and executables for macOS and Windows.

Post Reply