rotate bug on WIN7 x64

Notices and updates

rotate bug on WIN7 x64

Postby IVShilov » Sat Aug 11, 2018 5:52 pm

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)
>
IVShilov
 
Posts: 4
Joined: Wed Apr 12, 2017 1:58 am

Re: rotate bug on WIN7 x64

Postby Lutz » Sat Aug 11, 2018 9:09 pm

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

Source package and executables for macOS and Windows.
Lutz
 
Posts: 5258
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California


Return to newLISP newS

Who is online

Users browsing this forum: No registered users and 0 guests

cron