Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: phi div by 0 error

by perlaintdead (Scribe)
on Sep 01, 2013 at 14:34 UTC ( #1051808=note: print w/ replies, xml ) Need Help??


in reply to Re: phi div by 0 error
in thread phi div by 0 error

(1+sqrt(5))/2 came out to 3.23606797749979 AKA not phi


Comment on Re^2: phi div by 0 error
Re^3: phi div by 0 error
by perlaintdead (Scribe) on Sep 01, 2013 at 14:36 UTC

    just needed another parentheses ((sqrt(5)+1)/2)

      or a small re-order

      perl -le ' print ( (1 + sqrt 5) / 2 )'

      Cheers,
      R.

      Pereant, qui ante nos nostra dixerunt!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-07-26 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls