[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in master and 3.8. Not sure this is worth backporting to 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 3c5feaffde1944052830c896ae39c54e76a2e063 by Mark Dickinson (Miss Islington (bot)) in branch '3.8': bpo-38992: avoid fsum test failure from constant-folding (GH-17513) (GH-17530) https://github.com/python/cpython/commit/3c5feaffde1944052830c896ae

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset bba873e633f0f1e88ea12fb935cbd58faa77f976 by Mark Dickinson in branch 'master': bpo-38992: avoid fsum test failure from constant-folding (GH-17513) https://github.com/python/cpython/commit/bba873e633f0f1e88ea12fb935cbd58faa77f976 -- __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17008 pull_request: https://github.com/python/cpython/pull/17530 ___ Python tracker ___ __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Yes PR GH-17513 does fix the problem. Thanks Mark. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-08 Thread Mark Dickinson
Mark Dickinson added the comment: @xdegaye Please could you test whether the PR GH-17513 fixes the issue for you? -- ___ Python tracker ___ ___

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-08 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +16990 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17513 ___ Python tracker __

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-08 Thread Mark Dickinson
Mark Dickinson added the comment: Note that the exact values of `1.7**i` don't matter here - some sloppiness in the `pow` results should not cause a test failure. The key point is that under fairly mild assumptions about IEEE 754 conformance, the subtractions `1.7**(i+1) - 1.7**i` are always

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-08 Thread Mark Dickinson
Mark Dickinson added the comment: So if I'm understanding correctly, the cause of the issue is that the value `1.7**(i+1)` computed in the last iteration (i=999) of the list comprehension doesn't exactly match the `-1.7**1000` value, because the former is computed at runtime using the libm's

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +lemburg, mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list ma

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Batuhan
Change by Batuhan : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
Change by Xavier de Gaye : Added file: https://bugs.python.org/file48763/foo.arm64 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-07 Thread Xavier de Gaye
New submission from Xavier de Gaye : Title: testFsum failure caused by constant folding of a float expression Description: Python (Python 3.9.0a1+ heads/master-dirty:ea9835c5d1) is built on a Linux x86_64. This native interpreter is used to cross-compile Python (using the same so