[issue10629] Arbitrary precision

2010-12-05 Thread Mark Dickinson
Mark Dickinson added the comment: Right; this is expected behaviour. The error you're seeing comes from the implicit conversion of 1234! from long to float. -- status: pending -> closed ___ Python tracker __

[issue10629] Arbitrary precision

2010-12-05 Thread Georg Brandl
Georg Brandl added the comment: Note that while Python's long type gives you unlimited-size integers, the float type doesn't make such promises: it is just a double-precision float. As such, math.factorial(1234) cannot be interpreted; it would simply be positive infinity. -- compone

[issue10629] Arbitrary precision

2010-12-05 Thread Bill McEachen
New submission from Bill McEachen : from this link [http://en.wikipedia.org/wiki/PARI/GP#Usage_examples], I wanted to contrast arbitrary precision with the other pgm I use, Pari/GP. I tried the xample there which was: 123456! + 0. Now, behavior seems the same without the "+0." for both. Howev