thank you for the tips, one question though
I don't quite understand this line:
my $phiApprox = $fibNum <= 1 ? '***' : $fibValue1 / $fibValue2;In paticular this part:
? '***' :Obviously it makes $phiApprox = '***' when $fibNum is <= 1, else it performs the arithmatic. But I don't really understand why, I would never have thought of that code.
In reply to Re^3: how to speed up program dealing with large numbers?
by Solarplight
in thread how to speed up program dealing with large numbers?
by Solarplight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |