Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pow function
#2
Operator precedence implies that
>>> (-2) ** 1/3 == ((-2) ** 1)/3
True
which is different from (-2) ** (1/3)
Reply


Messages In This Thread
pow function - by luoheng - Sep-12-2018, 02:27 AM
RE: pow function - by Gribouillis - Sep-12-2018, 03:27 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020