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 that values now. And importing sys
to know the max int looks stupid.

maxi = int.max
mini = int.min
...

Such attributes can be given to the Decimal values too, if you want.

Bye,
bearophile

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to