shall I guess give the mathematical implementation for the logic (just wrote not tested)map { ($x < $_)? print "[$num{$_}]\n;: ($x = ($_ + $num_before) /2)? print "[$num($_)]\n";: next; $num_before = $_;}sort keys %num;
In reply to Re: List of Numbers
by OM_Zen
in thread List of Numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |