Re: [Numpy-discussion] kinds

2008-07-16 Thread Charles Doutriaux
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

Re: [Numpy-discussion] kinds

2008-07-16 Thread Pierre GM
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 informati

[Numpy-discussion] kinds

2008-07-16 Thread Charles Doutriaux
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 bunc