News for hackers. Stuff that matters.
Re:Google: What We're Driving At by Estragon on Sunday October 10, 2010 @08:41AM (#1777010)

  >>> p = 1.2e6/7e9 # Probability of dying in any one year
  >>> scipy.exp(log(1-p)*70) # Probability of NOT dying 70 years in a row
  0.98807069644395429
  >>> 1-_
  0.011929303556045712
There might be some roundoff error in the exponentiation. I am too lazy to check.
Re:Google: What We're Driving At by lliiffee on Monday October 11, 2010 @03:56PM (#1780998)
Out of interest, why do you prefer the second line to

    (1-p)**70
? Is there some kind of improved numerical stability?
Re:Google: What We're Driving At by code_duck on Sunday October 10, 2010 @03:51PM (#1777786)
Great, thanks for the clarification.