Hey,
I'm working on project euler 80, and I'm getting stack errors. Tracing the
values, step by step, everything is in order, other than the comparison. I have
the following:
]w=:{{ ((1&|@%@{.),])y }}^:(>:i.5) @(1&|)@%: 23
0.256547 0.795832 0 0 0 0
0.897916 0.256547 0.795832 0 0 0
0.11369 0.897916 0.256547 0.795832 0 0
0.795832 0.11369 0.897916 0.256547 0.795832 0
0.256547 0.795832 0.11369 0.897916 0.256547 0.795832
({.e.}.)"1 w
0 0 0 0 0
9!:19 0.00001
9!:19 1.00000000000000008e_5
({.e.}.)"1 w
0 0 0 0 0
Lowering the comparison tolerance further doesn't help. What am I doing wrong?
This can't be a 904 issue, since it happens on the 9.03.08 as well.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm