[Numpy-discussion] Minimum and maximum values of numpy datatypes?

Hans Meine meine at informatik.uni-hamburg.de
Mon Dec 10 09:18:34 EST 2007


Hi!

Is there a way to query the minimum and maximum values of the numpy datatypes?

E.g. numpy.uint8.max == 255, numpy.uint8.min == 0 (these attributes exist, but 
they are functions, obviously for technical reasons).

Ciao, /  /
     /--/
    /  / ANS



More information about the NumPy-Discussion mailing list