Author mark.dickinson
Recipients juraj.sukop, mark.dickinson, pitrou, python-dev, serhiy.storchaka, skrah, vstinner
Date 2017-01-21.13:17:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485004663.64.0.259449021727.issue29282@psf.upfronthosting.co.za>
In-reply-to
Content
Also failures on Gentoo: here b is positive (possibly +inf), and c is finite, so we expect an infinite result. Instead, we're apparently getting a NaN. I don't have a good guess about what's causing this: the rest of the tests are passing, so it's unlikely that we're using a bad FMA emulation. Maybe an optimization bug?

======================================================================
ERROR: test_fma_infinities (test.test_math.FMATests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-gentoo-x86.installed/build/target/lib/python3.7/test/test_math.py", line 1482, in test_fma_infinities
    self.assertEqual(math.fma(math.inf, b, c), math.inf)
ValueError: invalid operation in fma
History
Date User Action Args
2017-01-21 13:17:43mark.dickinsonsetrecipients: + mark.dickinson, pitrou, vstinner, skrah, python-dev, serhiy.storchaka, juraj.sukop
2017-01-21 13:17:43mark.dickinsonsetmessageid: <1485004663.64.0.259449021727.issue29282@psf.upfronthosting.co.za>
2017-01-21 13:17:43mark.dickinsonlinkissue29282 messages
2017-01-21 13:17:43mark.dickinsoncreate