Is there an easy way to get at the value of DBL_MAX from Python?

S

Steve Juranich

I'm in a situation where it would be nice to have access to this
value. I've been looking for it all afternoon and can't find anything.

Thanks.
 
G

George Sakkis

Steve Juranich said:
I'm in a situation where it would be nice to have access to this
value. I've been looking for it all afternoon and can't find anything.

Where exactly have you been looking ? I guess not in Google, because
the fifth result after querying "dbl_max" is
http://mail.python.org/pipermail/pythonmac-sig/2002-July/005916.html,
which follows up to
http://mail.python.org/pipermail/pythonmac-sig/2002-July/005916.html.
There is a Numeric subpackage named 'kinds' that provides it along with
other constants, but it seems it has been excluded from the latest (and
final I believe) version of Numeric (24.0b2) that I have installed, so
I can't actually check it.

George
 
R

Robert Kern

George said:
Where exactly have you been looking ? I guess not in Google, because
the fifth result after querying "dbl_max" is
http://mail.python.org/pipermail/pythonmac-sig/2002-July/005916.html,
which follows up to
http://mail.python.org/pipermail/pythonmac-sig/2002-July/005916.html.
There is a Numeric subpackage named 'kinds' that provides it along with
other constants, but it seems it has been excluded from the latest (and
final I believe) version of Numeric (24.0b2) that I have installed, so
I can't actually check it.

It has been removed from the Numeric distribution and no one has made a
real release since. However, it is still available in CVS.

http://cvs.sourceforge.net/viewcvs.py/numpy/kinds/

--
Robert Kern
(e-mail address removed)

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top