avl._core.float module
- class avl._core.float.Fp16(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>)[source]
- __init__(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
name (str) – The name of the instance.
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to hex.
- class avl._core.float.Fp32(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>)[source]
- __init__(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
name (str) – The name of the instance.
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to hex.
- class avl._core.float.Fp64(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>)[source]
- __init__(name: str, value: float, auto_random: bool = True, fmt: ~collections.abc.Callable[[...], float] = <class 'str'>) None[source]
Initialize an instance of the class.
- Parameters:
name (str) – The name of the instance.
value (int) – The value to be assigned to the instance.
auto_random (bool, optional) – Flag to enable automatic randomization, defaults to True.
fmt (function, optional) – The format to be used, defaults to hex.