Please modify these new entries as you please:
http://rosettacode.org/wiki/Josephus_problem#J
http://rosettacode.org/wiki/Continued_fraction/Arithmetic/Construct_from_rational_number#J
The continued fraction solution has some oddities.  Returning _ to
signal "finished" converts the output vector to floating point.  That's
why I excluded the 314285714 100000000x example.  The `y is 8' input to
r2cf__CF is arbitrary and I have to strip it with _ from the output
vector.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to