(self)
| 564 | return self |
| 565 | |
| 566 | def __str__(self): |
| 567 | fmt = ( |
| 568 | 'Machine parameters for %(dtype)s\n' |
| 569 | '---------------------------------------------------------------\n' |
| 570 | 'precision = %(precision)3s resolution = %(_str_resolution)s\n' |
| 571 | 'machep = %(machep)6s eps = %(_str_eps)s\n' |
| 572 | 'negep = %(negep)6s epsneg = %(_str_epsneg)s\n' |
| 573 | 'minexp = %(minexp)6s tiny = %(_str_tiny)s\n' |
| 574 | 'maxexp = %(maxexp)6s max = %(_str_max)s\n' |
| 575 | 'nexp = %(nexp)6s min = -max\n' |
| 576 | 'smallest_normal = %(_str_smallest_normal)s ' |
| 577 | 'smallest_subnormal = %(_str_smallest_subnormal)s\n' |
| 578 | '---------------------------------------------------------------\n' |
| 579 | ) |
| 580 | return fmt % self.__dict__ |
| 581 | |
| 582 | def __repr__(self): |
| 583 | c = self.__class__.__name__ |
nothing calls this directly
no outgoing calls
no test coverage detected