Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

J sort function: 1/:1 returns 0

Tags:

sorting

j

In the degenerative case, sorting just one number in J

2/:2

gives (correctly)

2

but why

1/:1

gives (incorrectly)

0

?

like image 296
Zhe Hu Avatar asked Oct 31 '22 07:10

Zhe Hu


1 Answers

It is a bug in some J versions. The correct is of course 1.

like image 200
Eelvex Avatar answered Nov 08 '22 04:11

Eelvex