I'll try to remember your clever use of nested trains to avoid
recalculations. Your explanation makes the relation between the
original and trick code very clear.

As I type this, I thought of M. and wonder if it could be used
instead. I'll have to look it up.

Btw, I was confused by the Rosetta Code description at
http://rosettacode.org/wiki/Price_Fraction . Do you suppose the use of
<1.01 is a red herring and could be <=1.00 because the earlier
description says something about "between 0 and 1"?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to