Share this page!

APyTypes: Flexible Fixed- and Floating-Point Types for Word Length Simulation in Python

Theodor Lindberg, Mikael Henriksson and Oscar Gustafsson

Abstract

APyTypes is a new Python library, written in C++, that provides scalars and multi-dimensional arrays with configurable fixed- and floating-point representations. It is suitable for finite word-length design exploration and to provide reference data for custom hardware implementations.