[Numpy-discussion] Handling underflow

Victor S. Miller victor at idaccr.org
Thu Feb 22 16:47:30 EST 2001


Is there some way of having calculations which cause underflow
automatically set their result to 0.0?  For example when I take
exp(a), where a is a floating point array.
-- 
Victor S. Miller     | " ... Meanwhile, those of us who can compute can hardly
victor at idaccr.org    | be expected to keep writing papers saying 'I can do the
CCR, Princeton, NJ   | following useless calculation in 2 seconds', and indeed
    08540 USA        | what editor would publish them?"  -- Oliver Atkin




More information about the NumPy-Discussion mailing list