Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

Failing macOS unittest - pow corner case(s) #827

Description

@pzrq

Expected Behavior

# Expected - Python 3.7.3
>>> print(pow(0.7071067811865476+0.7071067811865475j, 18446744073709551616))
(0.5092909260061389+0.8605944182295221j)

Current Behavior

# Batavia (testserver demo - copy/paste and run)
print(pow(0.7071067811865476+0.7071067811865475j, 18446744073709551616))
(0.7531061966369503+0.6578989714135652j)

Steps to reproduce

  1. At a terminal, the test which inspired my issue:
(venv) pzrq@mozzie:~/Projects/beeware/batavia$ python setup.py test -s tests.builtins.test_pow.BuiltinTwoargPowFunctionTests.test_complex_int

Your Environment

  • Python Version (list the specific version number)
    Python 3.7.3

  • Operating System and Version (select from the following and list the specific version number; if your OS is not listed, list that as well)

    • OSX 10.14.6
    • Linux
    • Windows
    • Ubuntu

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions