[Numpy-discussion] MAX_INT?

Robert Kern robert.kern at gmail.com
Tue May 22 20:32:45 EDT 2007


Bill Baxter wrote:
> Is there a way to obtain the equivalent of MAX_INT for the integral
> types numpy knows about?
> 
> I know about numpy.finfo for the floating point types, but is there
> anything like that for integral types?

SVN numpy has numpy.lib.getlimits.iinfo(), now.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list