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

Replies are listed 'Best First'.
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!