Always calls the resolve function. C.Decimal does not have correct rounding for the power function.
(self, t)
| 526 | return self.resolve_underflow(t) |
| 527 | |
| 528 | def __pow__(self, t): |
| 529 | """Always calls the resolve function. C.Decimal does not have correct |
| 530 | rounding for the power function.""" |
| 531 | if context.c.flags[C.Rounded] and \ |
| 532 | context.c.flags[C.Inexact] and \ |
| 533 | context.p.flags[P.Rounded] and \ |
| 534 | context.p.flags[P.Inexact]: |
| 535 | return self.bin_resolve_ulp(t) |
| 536 | else: |
| 537 | return False |
| 538 | power = __rpow__ = __pow__ |
| 539 | |
| 540 | ############################## Technicalities ############################# |
nothing calls this directly
no test coverage detected