Skip to content

Commit

Permalink
Update changelog and docs for single-precision support.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Nov 20, 2023
1 parent 1c4dc37 commit 4ce3afb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ heyoka is a C++ library for the integration of ordinary differential equations
(ODEs) via Taylor's method, based on automatic differentiation techniques and aggressive just-in-time
compilation via [LLVM](https://llvm.org/). Notable features include:

* support for double-precision, extended-precision (80-bit and 128-bit),
* support for single-precision, double-precision, extended-precision (80-bit and 128-bit),
and arbitrary-precision floating-point types,
* the ability to maintain machine precision accuracy over
tens of billions of timesteps,
Expand Down
2 changes: 2 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Changelog
New
~~~

- Add support for single-precision computations
(`#363 <https://github.com/bluescarni/heyoka/pull/363>`__).
- Add model implementing the ELP2000 analytical lunar theory
(`#362 <https://github.com/bluescarni/heyoka/pull/362>`__).

Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ heyoka is a C++ library for the integration of ordinary differential equations
on automatic differentiation techniques and aggressive just-in-time
compilation via `LLVM <https://llvm.org/>`__. Notable features include:

* support for double-precision, extended-precision (80-bit and 128-bit),
* support for single-precision, double-precision, extended-precision (80-bit and 128-bit),
and arbitrary-precision floating-point types,
* the ability to maintain machine precision accuracy over
tens of billions of timesteps,
Expand Down
5 changes: 3 additions & 2 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ installing from source (the minimum required version is 3.18).
Support for extended precision
``````````````````````````````

Whereas in heyoka double-precision computations are always supported, support for extended-precision
Whereas in heyoka single-precision and double-precision computations are always supported via the
``float`` and ``double`` types respectively, support for extended-precision
computations varies depending on the software/hardware platform.

80-bit precision
Expand All @@ -81,7 +82,7 @@ heyoka (and all its dependencies) have been compiled with a compiler supporting
^^^^^^^^^^^^^^^^^

On platforms where ``long double`` is a quadruple-precision floating-point datatype (e.g., 64-bit ARM),
quadruple-precision integrations are always supported. Otherwise,
quadruple-precision integrations are always supported via ``long double``. Otherwise,
on platforms such as x86-64, quadruple-precision computations are supported if:

* the nonstandard ``__float128`` floating-point type is
Expand Down
2 changes: 1 addition & 1 deletion doc/tut_extended_precision.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Computations in extended precision
==================================

As hinted in the :ref:`installation instructions <ep_support>`, heyoka supports computations
not only in double precision, but also in extended precision. Specifically, heyoka currently supports:
not only in single and double precision, but also in extended precision. Specifically, heyoka currently supports:

* the 80-bit IEEE `extended-precision format <https://en.wikipedia.org/wiki/Extended_precision>`__ (~21 decimal digits),
* the 128-bit IEEE `quadruple-precision format <https://en.wikipedia.org/wiki/Quadruple-precision_floating-point_format>`__ (~36 decimal digits).
Expand Down

0 comments on commit 4ce3afb

Please sign in to comment.