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

Method __sub__

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

Source from the content-addressed store, hash-verified

20 def __add__(self, other):
21 return F(self.value + other.value, self.full + other.full)
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):

Callers

nothing calls this directly

Calls 1

FClass · 0.70

Tested by

no test coverage detected