MCPcopy Create free account
hub / github.com/ActiveState/code / __pow__

Method __pow__

recipes/Python/265894_Floating_Point_Simulator/recipe-265894.py:32–33  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

30 def __abs__(self):
31 return F(abs(self.value), abs(self.full))
32 def __pow__(self, other):
33 return F(pow(self.value, other.value), pow(self.full, other.full))
34 def __cmp__(self, other):
35 return cmp(self.value, other.value)
36

Callers

nothing calls this directly

Calls 2

FClass · 0.70
powFunction · 0.50

Tested by

no test coverage detected