2007/9/28, Rob Crowther <[EMAIL PROTECTED]>:

> a) MPF() now takes a float or integer argument because mpf_set_str is just

Rob, there has been a *lot* of discussion about this for Decimal (see
the PEP and discussions in python-dev and python-list around the PEP
date).

The main issue here is what means the user if he calls MPF(2.3):

a) MPF("2.3")

b) MPF("2.2999999999999998")

The difficult of the choice is that a) is maybe what she expects, b)
is the value value (so why not to think she expects the real value?)

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to