HomeSort by relevance Sort by last modified time
    Searched refs:fiveto (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pow.py 117 fiveto = float(5 ** n)
118 # For small n, fiveto will be odd. Eventually we run out of
119 # mantissa bits, though, and thereafer fiveto will be even.
120 expected = fiveto % 2.0 and -1.0 or 1.0
121 eq(pow(a, fiveto), expected)
122 eq(pow(a, -fiveto), expected)
123 eq(expected, 1.0) # else we didn't push fiveto to evenness
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pow.py 117 fiveto = float(5 ** n)
118 # For small n, fiveto will be odd. Eventually we run out of
119 # mantissa bits, though, and thereafer fiveto will be even.
120 expected = fiveto % 2.0 and -1.0 or 1.0
121 eq(pow(a, fiveto), expected)
122 eq(pow(a, -fiveto), expected)
123 eq(expected, 1.0) # else we didn't push fiveto to evenness

Completed in 210 milliseconds