(self)
| 11 | def __repr__(self): |
| 12 | return "F(%s, %r)" % (self, self.full) |
| 13 | def error(self): |
| 14 | ulp = float('1'+('%.4e' % self.value)[-5:]) * 10 ** (1-prec) |
| 15 | return int(abs(self.value - self.full) / ulp) |
| 16 | def __coerce__(self, other): |
| 17 | if not isinstance(other, F): |
| 18 | return (self, F(other)) |
no outgoing calls
no test coverage detected