[ROOT] inf/nan from TMath::Poisson

From: Ken Bloom (kenbloom@umich.edu)
Date: Mon Apr 26 2004 - 16:49:00 MEST

Dear ROOTers,

	I'm using ROOT 3.05/07, and am getting non-numerical results out of 
the TMath::Poisson function, under what I admit are extreme conditions:

root [2] TMath::Poisson(170,70)
Error: Symbol inf is not defined in current scope  FILE: LINE:0
*** Interpreter error recovered ***

Yes, I know that the result should be a very tiny number, but I would prefer 
that I get 0.0 (or its moral equivalent) rather than something I can't do math 
with.  Can you recommend a protection against this?  Thanks, best wishes.

						Ken Bloom

Ken Bloom, Karma Adjuster                                Department of Physics
734-763-2329 / 734-936-1817 (fax)                       University of Michigan
kenbloom@umich.edu                              http://www.umich.edu/~kenbloom

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET