Error in "pow" on Itanium

Andrew M. Kuchling akuchlin at
Thu Apr 6 12:55:29 EDT 2000

Robert Hundt <rhundt at> writes:
> Running Python 1.5.2 as a 64-bit process on Itanium delivers an error in
> test_pow. The test delivers different results whenever run! Sometimes it
> even succeeds!

pow() does different things for integers, floats, and long integers;
which is the version that fails?  The float version in
Objects/floatobject.c seems to just check for special cases and then
calls pow() from the C library, so that's probably OK.  Either the
integer or long integer versions might well run into trouble on a new
64-bit platform, though.

A.M. Kuchling
And I suppose if everybody cut off their heads and stuffed asafoetida into
their mouths and buried their hearts at crossroads, then you'd do it too?
  -- The grandfather in SANDMAN #38: "The Hunt"

More information about the Python-list mailing list