Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Zipcode Proximity script

by Anonymous Monk
on Apr 18, 2010 at 06:33 UTC ( #835310=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Zipcode Proximity script
in thread Zipcode Proximity script

instead of my $maxlatdiff = atan2(sqrt(1 - ($distcos * $distcos)), $distcos); you could do
use Math::Trig; my $maxlatdiff = acos($distcos);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://835310]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2017-03-25 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.