-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into 'master'
Release v1.0.1 See merge request keszocze/aarith!93
- Loading branch information
Showing
58 changed files
with
2,592 additions
and
1,017 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Two's Complement Integers | ||
========================= | ||
|
||
**Header** ``aarith/integer/integers.hpp`` | ||
|
||
The template classes ``integer`` and ``uinteger`` represent signed and unsigned integers of arbitrary, | ||
but compile-time static, precision stored in two's complement format | ||
|
||
The aarith integers exhibit the usual overflow/underflow behavior (i.e. modulo 2^n) which is ``not`` undefined behavior! | ||
|
||
.. doxygenclass:: aarith::uinteger | ||
:members: | ||
|
||
|
||
.. doxygenclass:: aarith::integer | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Comparison Operations | ||
===================== | ||
|
||
**Header** ``aarith/integer/integer_comparisons.hpp`` | ||
|
||
.. doxygenfile:: integer_comparisons.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Arithmetic & Logic Operations | ||
============================= | ||
|
||
**Header** ``aarith/integer/integer_operations.hpp`` | ||
|
||
|
||
.. doxygenfile:: integer_operations.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Anytime Instructions | ||
==================== | ||
|
||
See [Brand2019]_ and [Brand2020]_ for details. | ||
|
||
**Header** ``aarith/float/float_approx_operations.hpp`` | ||
|
||
.. doxygenfunction:: anytime_add | ||
|
||
.. doxygenfunction:: anytime_sub | ||
|
||
.. doxygenfunction:: anytime_mul | ||
|
||
.. doxygenfunction:: anytime_div |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
The FAU Adder | ||
============= | ||
|
||
When computing with unsigned integers | ||
------------------------------------- | ||
|
||
The FAU adder is an adder that speed up the computation of the sum by splitting the carry chain. | ||
In order to keep the error small, some bits of the least-significant part are used in a carry prediction | ||
unit. | ||
|
||
See :ref:`the uses cases <fau_adder>` and [Echavarria2016]_ for details. | ||
|
||
**Header** ``aaarith/integer/integer_approx_operations.hpp`` | ||
|
||
.. doxygenfunction:: FAUadder | ||
|
||
.. doxygenfunction:: FAUsubtractor | ||
|
||
|
||
When computing with floating_points | ||
----------------------------------- | ||
|
||
The FAU adder can also be used when computing with :ref:`floating_point <floating_point>` numbers. Here, the FAU adder | ||
ist used to approximately compute the mantissa. | ||
|
||
**Header** ``aaarith/float/float_approx_operations.hpp`` | ||
|
||
.. doxygenfunction:: FAU_add | ||
|
||
.. doxygenfunction:: FAU_sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Changelog | ||
========= | ||
|
||
v1.0.1 -- 27.02.2022 | ||
------------- | ||
|
||
**Added:** | ||
|
||
* Add specializations for ``std::numeric_limits`` for the ``aarith::floating_point`` numbers | ||
* Add a constructor for ``aarith::word_array`` that takes a bit string as a parameter | ||
* Add a constructor for ``aarith::floating_point`` that takes a bit string as a parameter | ||
* Switched to Apache 2 license | ||
|
||
**Changed:** | ||
|
||
* Update to Catch2 v2.13.18 | ||
|
||
**Removed:** | ||
|
||
**Fixed:** | ||
|
||
v1.0.0 -- 15.03.2021 | ||
-------------------- | ||
|
||
First public release of Aarith containing | ||
|
||
* Signed and unsigned arbitrary precision Two's Complement integers | ||
* Arbitrary precision (for the exponent and mantissa) IEEE 754 floating-point like floating-point numbers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.