Folding algorithm help.

bearophile bearophileHUGS at lycos.com
Mon Mar 18 17:36:17 PDT 2013


rookie:

> There were some interesting solutions for squares like:
> https://groups.google.com/forum/#!msg/comp.lang.ruby/lf4Zd9fvuYY/tjT2q65mcFAJ

The Ruby code by Luke Blanshard converted to D:
http://codepad.org/gtWDdRoJ

Ruby is very flexible, and its multi-precision integers help 
avoid some bugs, but I often prefer the coding precision D offers.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list