Skip to content

Commit 3be3f7c

Browse files
Add tests for +/\ +/\. (+/%#)\ with NaNs
1 parent e89650e commit 3be3f7c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/g430.ijs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,13 @@ a =: i. 1000 1000
583583

584584
6 _. _. _. 15 (= +. *.&(128!:5))"0 (3) +/\ 1 2 3 _. 4 5 6
585585
2 _. _. _. 5 (= +. *.&(128!:5))"0 (3) (+/%#)\ 1 2 3 _. 4 5 6
586+
_. 16 14 12 _. (= +. *.&(128!:5))"0 (3) +/\. 1 2 3 _. 4 5 6
586587

588+
a =: 0 1 2 3 4 5 6 ,. 0 1 2 _. 4 5 6 ,. 0 1 2 __ 4 5 6 ,. 0 1 2 3 4 _ 6
589+
l =: ? 7
590+
(l 3 :'+/y'\ a) (= +. *.&(128!:5))"0 l +/\ a
591+
(l 3 :'(+/y)%#y'\ a) (= +. *.&(128!:5))"0 l (+/%#)\ a
592+
(l 3 :'+/y'\. a) (= +. *.&(128!:5))"0 l +/\. a
587593

588594
randfini''
589595

0 commit comments

Comments
 (0)