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

Method __mul__

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

Source from the content-addressed store, hash-verified

22 def __sub__(self, other):
23 return F(self.value - other.value, self.full - other.full)
24 def __mul__(self, other):
25 return F(self.value * other.value, self.full * other.full)
26 def __div__(self, other):
27 return F(self.value / other.value, self.full / other.full)
28 def __neg__(self):

Callers

nothing calls this directly

Calls 1

FClass · 0.70

Tested by

no test coverage detected