class documentation

class MachArLike:

View In Hierarchy

Object to simulate MachAr instance
Method __init__ Undocumented
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
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 ​_str​_smallest​_subnormal Return the string representation of the smallest subnormal.
Property smallest​_subnormal Return the value for the smallest subnormal.
def __init__(self, ftype, *, eps, epsneg, huge, tiny, ibeta, smallest_subnormal=None, **kwargs):

Undocumented

def _float_conv(self, value):

Converts float to conv.

Parameters

value : float
value to be converted.
def _float_to_float(self, value):

Converts float to float.

Parameters

value : float
value to be converted.
def _float_to_str(self, value):

Converts float to str.

Parameters

value : float
value to be converted.
_smallest_subnormal =

Undocumented

_str_eps =

Undocumented

_str_epsneg =

Undocumented

_str_resolution =

Undocumented

_str_smallest_normal =

Undocumented

_str_xmax =

Undocumented

_str_xmin =

Undocumented

eps =

Undocumented

epsilon =

Undocumented

epsneg =

Undocumented

ftype =

Undocumented

huge =

Undocumented

ibeta =

Undocumented

params =

Undocumented

precision =

Undocumented

resolution =

Undocumented

smallest_normal =

Undocumented

tiny =

Undocumented

title =

Undocumented

xmax =

Undocumented

xmin =

Undocumented

@property
_str_smallest_subnormal =
Return the string representation of the smallest subnormal.
@property
smallest_subnormal =

Return the value for the smallest subnormal.

Returns

smallest_subnormal : float
value for the smallest subnormal.

Warns

UserWarning
If the calculated value for the smallest subnormal is zero.