pgfmath-xfp – Define pgfmath functions using xfp
This package allows to define pgfmath functions that use the xfp fpu for their calculations.
The input arguments are parsed with pgfmath (while the pgf-fpu is locally active), and the results are forwarded to xfp’s fpu for the function evaluation. The result of that calculation is then parsed by pgfmath again (with the surrounding settings of pgfmath). This way the functions should be usable in every pgfmath context, though there is some overhead to this approach.
The package is only meant as a temporary stopgap until a more dedicated solution is available to use xfp in pgf.
Sources | /macros/latex/contrib/pgfmath-xfp |
Documentation | |
Repository | https://github.com/Skillmon/ltx_pgfmath-xfp |
Version | 1.0 2021-05-19 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2020–2021 Jonathan P. Spratte |
Maintainer | Jonathan P. Spratte |
Contained in | TeX Live as pgfmath-xfp MiKTeX as pgfmath-xfp |
Topics | Experimental LaTeX3 Calculation |
Download the contents of this package in one zip archive (254.5k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
- numerica-plus: Iteration and recurrence relations: finding fixed points, zeros and extrema of functions
- numerica-tables: Create multi-column tables of mathematical functions
- codicefiscaleitaliano: Test the consistency of the Italian personal Fiscal Code
- basicarith: Macros for typesetting basic arithmetic
Community Comments