New on CTAN: pgfmath-xfp

CTAN Announcements ctan-ann at
Thu May 20 13:33:21 CEST 2021

Jonathan P. Spratte submitted the



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

The package’s files themselves can be inspected at


   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

More information about the Ctan-ann mailing list