Hello, A long long time ago, there used to be this module named "kinds" It's totally outdated nowdays but it had one nice functionality and i was wondering if you knew how to reproduce that it was: maxexp=kinds.default_float_kind.MAX_10_EXP minexp=kinds.default_float_kind.MIN_10_EXP and a bunch of similar flags that would basically tell you the limits on the machine you're running (or at least compiled on) Any idea on how to reproduce this? While we're at it, does anybody know of way in python to know how memory is available on your system (similar to the free call unde rLinux) I'm looking for something that works accross platforms (well we can forget windows for now I could live w/o it) Thanks, C.
On Wednesday 16 July 2008 15:08:59 Charles Doutriaux wrote:
and a bunch of similar flags that would basically tell you the limits on the machine you're running (or at least compiled on)
Any idea on how to reproduce this?
Charels, have you tried numpy.finfo ? That should give you information for floating points.
Thx Pierre, That's exactly what i was looking for C. Pierre GM wrote:
On Wednesday 16 July 2008 15:08:59 Charles Doutriaux wrote:
and a bunch of similar flags that would basically tell you the limits on the machine you're running (or at least compiled on)
Any idea on how to reproduce this?
Charels, have you tried numpy.finfo ? That should give you information for floating points.
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Charles Doutriaux
-
Pierre GM