0

Here's a demonstration of what I mean:

Python 2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 10**(5)
100000
>>> 10**(-1/5)
0.1
>>> 10**(-1/6)
0.1
>>> 10**(-1/100)
0.1
>>> 10**(-1/19325)
0.1

It is able to calculate positive powers and negative integers, but when I put in a negative fraction, it consistently returns 0.1.

I've also tried using the Fraction() object, but the same issue occurs.

Jacob Barrow
  • 631
  • 1
  • 8
  • 25

0 Answers0