Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Creating a circle in a data structure

by Skeeve (Vicar)
on May 28, 2007 at 08:08 UTC ( #617809=note: print w/replies, xml ) Need Help??


in reply to Re: Creating a circle in a data structure
in thread Creating a circle in a data structure

You can omit the square root if you compare to the square of the radius. I think one will get a big speed improvement from this.

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617809]
help
Chatterbox?
[Corion]: Yay. I've now published (at $work) that random Excel workbook where on one sheet you enter your SQL and on the other sheet, you have a button and receive the results. I'm so evil in enabling cow-orkers to self-supply ;)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2018-07-18 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (392 votes). Check out past polls.

    Notices?