How about adding rational fraction to Python?

D'Arcy J.M. Cain darcy at druid.net
Tue Feb 26 19:51:52 CET 2008


On Tue, 26 Feb 2008 13:39:38 -0500
"J. Cliff Dyer" <jcd at sdf.lonestar.org> wrote:
> >>> a = 20000 * 20000
> >>> b = 200000 * 200000
> >>> type(a)
> <type 'int'>
> >>> type(b)
> <type 'long'>

A long int is still integral which is the crux of the issue.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list