"Schizoid Man" <schiz_...@21stcentury.com> wrote in message news:kejcfi$s70$1...@dont-email.me...

So for values of s=60 and k=50, the first code returns 0.1823215567939546 (on the PC), whereas the second returns 0.0 (on the Mac). This this expression is evaluated in the numerator, it never returns a divide by zero error, and the result of 0 is treated as legitimate.

D'oh! That's the error right there. My inputs are 60 and 50, not 60.0 and 50.0. I am a dunderhead.

Apologies for wasting your time.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to