[pyar] Punto flotante binario grandote (era: Int anti-intuitivo)

Facundo Batista facundobatista en gmail.com
Mie Nov 17 13:39:13 ART 2010


2010/11/17 QliX=D! [aka EHB] <qlixed en gmail.com>:

> ipython -> Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32
> bit (Intel)]
> float("999999999999999999.0")
>
>
> In [2]: float(9999999999999999.0)
> Out[2]: 9999999999999998.0

¿Y en la consola de Python normal?

Slds.

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/



More information about the pyar mailing list