Ok. Then I redefine my question:

Given the vector a:

]a =. % 1+i.20

1 0.5 0.333333 0.25 0.2 0.166667 0.142857 0.125 0.111111 0.1 0.0909091
0.0833333 0.0769231 0.0714286 0.0666667 0.0625 0.0588235 0.0555556
0.0526316 0.05


Define a verb that will find all the floating-point numbers in a that will
eventually terminate in infinitely repeating zeros.


Skip


On Wed, Jun 13, 2018 at 2:12 PM Henry Rich <henryhr...@gmail.com> wrote:

> The trailing 0 repeats forever.
>
> Henry Rich
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to