Welcome to the Monastery | |
PerlMonks |
Re^3: OT: Finding Factor Closest To Square Rootby chas (Priest) |
on Feb 20, 2005 at 22:48 UTC ( [id://432908]=note: print w/replies, xml ) | Need Help?? |
Programming F(n) for benchmarking purposes is interesting.
However, the fastest way of all is probably:
This isn't perl, but it would only take a line. (If n is extremely large, the exponentiation might become inaccurate, though...) chas
In Section
Seekers of Perl Wisdom
|
|