If you want one line if statements use Perl's statement modifier form of if:
$phiApprox = 0 if $i <= 1;
for and while can be used that way too.
In reply to Re: how to speed up program dealing with large numbers?
by GrandFather
in thread how to speed up program dealing with large numbers?
by Solarplight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |