├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .pylintrc ├── CONTRIBUTING.md ├── LICENSE ├── changelog.md ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── FixedPointBits.rst │ ├── FixedPointclass.rst │ ├── PropertyResolver.rst │ ├── _static │ ├── css │ │ └── admonition-example.css │ ├── favicon.ico │ ├── fixedpoint.png │ └── objects.inv │ ├── arithmetic.rst │ ├── basics.rst │ ├── conf.py │ ├── context-management.rst │ ├── doctest_setup.py │ ├── exceptions.rst │ ├── functions.rst │ ├── index.rst │ ├── initialization.rst │ ├── long_description.rst │ ├── miscellaneous.rst │ ├── resizing.rst │ ├── slicing.rst │ └── string-formatting.rst ├── fixedpoint ├── __init__.py ├── fixedpoint.py ├── functions.py ├── json.py ├── logging.py ├── properties.py └── py.typed ├── readme.md ├── readthedocs.yml ├── setup.cfg ├── setup.py ├── test.bat └── tests ├── __init__.py ├── __main__.py ├── gen_data.m ├── init.py ├── mypy.ini ├── test_alerts └── __init__.py ├── test_bit_resizing ├── __init__.py ├── test_ceil.m ├── test_clamp.m ├── test_convergent.m ├── test_keep_lsbs.m ├── test_keep_msbs.m ├── test_overflow_handling.m ├── test_resize.m ├── test_round.m ├── test_round_builtin.m ├── test_round_down.m ├── test_round_in.m ├── test_round_nearest.m ├── test_round_out.m ├── test_round_up.m ├── test_rounding.m └── test_wrap.m ├── test_builtin_functions_and_type_conversion └── __init__.py ├── test_functions └── __init__.py ├── test_initialization_methods ├── __init__.py ├── test_initfloat_convergent.m ├── test_initfloat_down.m ├── test_initfloat_in.m ├── test_initfloat_nearest.m ├── test_initfloat_out.m ├── test_initfloat_up.m └── test_rounding.m ├── test_miscellaneous └── __init__.py ├── test_operators ├── __init__.py ├── test_addition.m ├── test_multiplication.m ├── test_operators.m └── test_subtraction.m ├── test_property_accessors_and_mutators └── __init__.py ├── test_property_resolver └── __init__.py └── tools.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/.pylintrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/LICENSE -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/changelog.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/FixedPointBits.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/FixedPointBits.rst -------------------------------------------------------------------------------- /docs/source/FixedPointclass.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/FixedPointclass.rst -------------------------------------------------------------------------------- /docs/source/PropertyResolver.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/PropertyResolver.rst -------------------------------------------------------------------------------- /docs/source/_static/css/admonition-example.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/_static/css/admonition-example.css -------------------------------------------------------------------------------- /docs/source/_static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/_static/favicon.ico -------------------------------------------------------------------------------- /docs/source/_static/fixedpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/_static/fixedpoint.png -------------------------------------------------------------------------------- /docs/source/_static/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/_static/objects.inv -------------------------------------------------------------------------------- /docs/source/arithmetic.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/arithmetic.rst -------------------------------------------------------------------------------- /docs/source/basics.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/basics.rst -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/context-management.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/context-management.rst -------------------------------------------------------------------------------- /docs/source/doctest_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/doctest_setup.py -------------------------------------------------------------------------------- /docs/source/exceptions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/exceptions.rst -------------------------------------------------------------------------------- /docs/source/functions.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/functions.rst -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/initialization.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/initialization.rst -------------------------------------------------------------------------------- /docs/source/long_description.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/long_description.rst -------------------------------------------------------------------------------- /docs/source/miscellaneous.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/miscellaneous.rst -------------------------------------------------------------------------------- /docs/source/resizing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/resizing.rst -------------------------------------------------------------------------------- /docs/source/slicing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/slicing.rst -------------------------------------------------------------------------------- /docs/source/string-formatting.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/docs/source/string-formatting.rst -------------------------------------------------------------------------------- /fixedpoint/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/__init__.py -------------------------------------------------------------------------------- /fixedpoint/fixedpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/fixedpoint.py -------------------------------------------------------------------------------- /fixedpoint/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/functions.py -------------------------------------------------------------------------------- /fixedpoint/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/json.py -------------------------------------------------------------------------------- /fixedpoint/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/logging.py -------------------------------------------------------------------------------- /fixedpoint/properties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/fixedpoint/properties.py -------------------------------------------------------------------------------- /fixedpoint/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/readme.md -------------------------------------------------------------------------------- /readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/readthedocs.yml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/setup.py -------------------------------------------------------------------------------- /test.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/test.bat -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/__main__.py -------------------------------------------------------------------------------- /tests/gen_data.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/gen_data.m -------------------------------------------------------------------------------- /tests/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/init.py -------------------------------------------------------------------------------- /tests/mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/mypy.ini -------------------------------------------------------------------------------- /tests/test_alerts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_alerts/__init__.py -------------------------------------------------------------------------------- /tests/test_bit_resizing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/__init__.py -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_ceil.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_ceil.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_clamp.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_clamp.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_convergent.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_convergent.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_keep_lsbs.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_keep_lsbs.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_keep_msbs.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_keep_msbs.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_overflow_handling.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_overflow_handling.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_resize.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_resize.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_builtin.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_builtin.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_down.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_down.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_in.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_in.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_nearest.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_nearest.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_out.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_out.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_round_up.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_round_up.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_rounding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_rounding.m -------------------------------------------------------------------------------- /tests/test_bit_resizing/test_wrap.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_bit_resizing/test_wrap.m -------------------------------------------------------------------------------- /tests/test_builtin_functions_and_type_conversion/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_builtin_functions_and_type_conversion/__init__.py -------------------------------------------------------------------------------- /tests/test_functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_functions/__init__.py -------------------------------------------------------------------------------- /tests/test_initialization_methods/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/__init__.py -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_convergent.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_convergent.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_down.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_down.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_in.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_in.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_nearest.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_nearest.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_out.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_out.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_initfloat_up.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_initfloat_up.m -------------------------------------------------------------------------------- /tests/test_initialization_methods/test_rounding.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_initialization_methods/test_rounding.m -------------------------------------------------------------------------------- /tests/test_miscellaneous/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_miscellaneous/__init__.py -------------------------------------------------------------------------------- /tests/test_operators/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_operators/__init__.py -------------------------------------------------------------------------------- /tests/test_operators/test_addition.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_operators/test_addition.m -------------------------------------------------------------------------------- /tests/test_operators/test_multiplication.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_operators/test_multiplication.m -------------------------------------------------------------------------------- /tests/test_operators/test_operators.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_operators/test_operators.m -------------------------------------------------------------------------------- /tests/test_operators/test_subtraction.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_operators/test_subtraction.m -------------------------------------------------------------------------------- /tests/test_property_accessors_and_mutators/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_property_accessors_and_mutators/__init__.py -------------------------------------------------------------------------------- /tests/test_property_resolver/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/test_property_resolver/__init__.py -------------------------------------------------------------------------------- /tests/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SEL-FOSS/fixedpoint/HEAD/tests/tools.py --------------------------------------------------------------------------------