(self, pkt, val)
| 3402 | return int_part + frac_part.normalize(int(math.log10(pw))) |
| 3403 | |
| 3404 | def i2repr(self, pkt, val): |
| 3405 | # type: (Optional[Packet], int) -> str |
| 3406 | return str(self.i2h(pkt, val)) |
| 3407 | |
| 3408 | |
| 3409 | # Base class for IPv4 and IPv6 Prefixes inspired by IPField and IP6Field. |