Division issue with 3.8.2 on AIX 7.1

Albert Chin python-list at mlists.thewrittenword.com
Tue Jun 2 13:26:16 EDT 2020


I've built Python 3.8.2 on AIX 5.2, 5.3, 6.1, and 7.1. I am seeing
different results for the following Python program:
  $ python3 -c "eps = 2.0 ** -53.0; tiny = 2.0 ** -1022.0; \
print ((1.0 - eps) / tiny * 4.0)"

I get the correct result, 1.7976931348623157e+308, on AIX 5.2, 5.3,
and 6.1. But, on 7.1, I get "inf".

Anyone know where can I look in the Python source code to investigate
this?

-- 
albert chin (china at thewrittenword.com)


More information about the Python-list mailing list