CTAN Comprehensive TeX Archive Network

New on CTAN: pgfmath-xfp

Date: May 20, 2021 1:33:21 PM CEST
Jonathan P. Spratte submitted the pgfmath-xfp package. Version: 1.0 2021-05-19 License: lppl1.3c Summary description: Define pgfmath functions using xfp Announcement text:
The pgfmath-xfp 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.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pgfmath-xfp The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/pgfmath-xfp/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

Packagepgfmath-xfp
Version1.0 2021-05-19
Copyright2020–2021 Jonathan P. Spratte
MaintainerJonathan P. Spratte

Announcements

more

Guest Book Sitemap Contact Contact Author