(self)
| 337 | self._str_resolution = float_to_str(resolution) |
| 338 | |
| 339 | def __str__(self): |
| 340 | fmt = ( |
| 341 | 'Machine parameters for %(title)s\n' |
| 342 | '---------------------------------------------------------------------\n' |
| 343 | 'ibeta=%(ibeta)s it=%(it)s iexp=%(iexp)s ngrd=%(ngrd)s irnd=%(irnd)s\n' |
| 344 | 'machep=%(machep)s eps=%(_str_eps)s (beta**machep == epsilon)\n' |
| 345 | 'negep =%(negep)s epsneg=%(_str_epsneg)s (beta**epsneg)\n' |
| 346 | 'minexp=%(minexp)s xmin=%(_str_xmin)s (beta**minexp == tiny)\n' |
| 347 | 'maxexp=%(maxexp)s xmax=%(_str_xmax)s ((1-epsneg)*beta**maxexp == huge)\n' |
| 348 | 'smallest_normal=%(smallest_normal)s ' |
| 349 | 'smallest_subnormal=%(smallest_subnormal)s\n' |
| 350 | '---------------------------------------------------------------------\n' |
| 351 | ) |
| 352 | return fmt % self.__dict__ |
| 353 | |
| 354 | |
| 355 | if __name__ == '__main__': |
nothing calls this directly
no outgoing calls
no test coverage detected