[Numpy-discussion] Community Poll: numarray default underflow handling == "ignore" ?
Todd Miller
jmiller at stsci.edu
Fri Nov 21 09:31:09 CST 2003
On Fri, 2003-11-21 at 12:20, Colin J. Williams wrote:
>
>
> Todd Miller wrote:
>
> >On Fri, 2003-11-21 at 09:58, Alexander Schmolck wrote:
> >
> >
> >>Todd Miller <jmiller at stsci.edu> writes:
> >>
> >>
> >>
> >>>On Thu, 2003-11-20 at 18:18, Chris Barker wrote:
> >>>
> >>>
> >>>>Todd Miller wrote:
> >>>>
> >>>>
> >>>>>Someone recently suggested that we change the default for numarray
> >>>>>underflow checking to "ignore". Please vote (+1, 0, -1):
> >>>>>
> >>>>>
> >>>>What is it currently, and what other options are there?
> >>>>
> >>>>
> >>>The default of underflow is "warn"
> >>>
> >>>
> >>I much prefer the current default. Having (potential errors) ignored silently
> >>is IMHO against the spirit of python. What's the problem with manually setting
> >>"ignore underflow" if and when one knows that underflows might occur but can
> >>safely be ignored?
> >>
> >>
> >
> >I'll read that as -1. :-)
> >
> This proposal leaves the control with the user, which seems to be the
> best way to go.
Just to be clear, all we're talking about is the *default* handling of
underflow. Regardless of what we decide, underflow handling will be
configurable by the user on a per-thread basis as either: "ignore",
"warn", or "raise".
Todd
> Colin W.
>
--
Todd Miller
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21030
(410) 338 - 4576
More information about the Numpy-discussion
mailing list