Self:
>>D is a very nice language, that I hope to see more used. It is copying
>>lot of things from Python.
Tim Roberts:
>I don't see that. It looks rather like an incremental improvement to C and
>C++ rather than a language influenced by Python.
Thank you for your comments. Mine was probably j
Paddy wrote:
> Question: do the scientific packages supported by Python supply this
> data in a regular manner?
For floating point types, at least.
In [11]: from numpy import *
In [12]: print finfo(float32)
Machine parameters for
-
Paddy wrote:
> [EMAIL PROTECTED] wrote:
> > Paddy:
> > > Or do you mean the ability to choose between hardware supported float
> > > s? e.g. float and double precision?
> >
> > No, I mean just having the ability to ask the float (his attribute)
> > what are the max and min values it can represent,
[EMAIL PROTECTED] wrote:
> Paddy:
> > Or do you mean the ability to choose between hardware supported float
> > s? e.g. float and double precision?
>
> No, I mean just having the ability to ask the float (his attribute)
> what are the max and min values it can represent, etc.
>
> stop = float.max
[EMAIL PROTECTED] wrote:
>
>sys.maxint gives the largest positive integer supported by Python's
>regular integer type. But maybe such attribute, with few others (they
>can be called min and max) can be given to int type itself.
>D is a very nice language, that I hope to see more used. It is copying
Paddy:
> Or do you mean the ability to choose between hardware supported float
> s? e.g. float and double precision?
No, I mean just having the ability to ask the float (his attribute)
what are the max and min values it can represent, etc.
stop = float.max
...
I don't know any simple way to know
[EMAIL PROTECTED] wrote:
> sys.maxint gives the largest positive integer supported by Python's
> regular integer type. But maybe such attribute, with few others (they
> can be called min and max) can be given to int type itself.
> D is a very nice language, that I hope to see more used. It is copy
It seems as though just about all of those would be rarely, if ever,
used by the vast majority of programmers.
Plus, python already handles the two most important (NaN and complex)
well.
--
http://mail.python.org/mailman/listinfo/python-list
sys.maxint gives the largest positive integer supported by Python's
regular integer type. But maybe such attribute, with few others (they
can be called min and max) can be given to int type itself.
D is a very nice language, that I hope to see more used. It is copying
lot of things from Python. D F