class documentation

class MachArLike: (source)

View In Hierarchy

Object to simulate MachAr instance

Method __init__ Undocumented
Instance Variable eps Undocumented
Instance Variable epsilon Undocumented
Instance Variable epsneg Undocumented
Instance Variable ftype Undocumented
Instance Variable huge Undocumented
Instance Variable ibeta Undocumented
Instance Variable params Undocumented
Instance Variable precision Undocumented
Instance Variable resolution Undocumented
Instance Variable smallest_normal Undocumented
Instance Variable tiny Undocumented
Instance Variable title Undocumented
Instance Variable xmax Undocumented
Instance Variable xmin Undocumented
Property smallest_subnormal Return the value for the smallest subnormal.
Method _float_conv Converts float to conv.
Method _float_to_float Converts float to float.
Method _float_to_str Converts float to str.
Instance Variable _smallest_subnormal Undocumented
Instance Variable _str_eps Undocumented
Instance Variable _str_epsneg Undocumented
Instance Variable _str_resolution Undocumented
Instance Variable _str_smallest_normal Undocumented
Instance Variable _str_xmax Undocumented
Instance Variable _str_xmin Undocumented
Property _str_smallest_subnormal Return the string representation of the smallest subnormal.
def __init__(self, ftype, *, eps, epsneg, huge, tiny, ibeta, smallest_subnormal=None, **kwargs): (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

precision = (source)

Undocumented

resolution = (source)

Undocumented

smallest_normal = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

@property
smallest_subnormal = (source)

Return the value for the smallest subnormal.

Returns
floatsmallest_subnormal - value for the smallest subnormal.
Warns
UserWarningIf the calculated value for the smallest subnormal is zero.
def _float_conv(self, value): (source)

Converts float to conv.

Parameters
value:floatvalue to be converted.
def _float_to_float(self, value): (source)

Converts float to float.

Parameters
value:floatvalue to be converted.
def _float_to_str(self, value): (source)

Converts float to str.

Parameters
value:floatvalue to be converted.
_smallest_subnormal = (source)

Undocumented

_str_eps = (source)

Undocumented

_str_epsneg = (source)

Undocumented

_str_resolution = (source)

Undocumented

_str_smallest_normal = (source)

Undocumented

_str_xmax = (source)

Undocumented

_str_xmin = (source)

Undocumented

@property
_str_smallest_subnormal = (source)

Return the string representation of the smallest subnormal.