blob: fc82f5c8b07f6ee58270eddfa93df8d05ad08507 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
-------------------------------------------------------------------------------
# pgfmath-xfp -- define pgfmath functions using xfp
Version 2021-05-19 v1.0
Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
Hosted at https://github.com/Skillmon/ltx_pgfmath-xfp
-------------------------------------------------------------------------------
Copyright (C) 2021 Jonathan P. Spratte
This work may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this license or
(at your option) any later version. The latest version of this license is in
the file:
http://www.latex-project.org/lppl.txt
This work is "maintained" (as per LPPL maintenance status) by
Jonathan P. Spratte.
-------------------------------------------------------------------------------
This provides a wrapper that allows to define `pgfmath` functions using the
`expl3` FPU (which's LaTeX2e document-level package is called `xfp`) for the
calculations. Each input argument is parsed by `pgfmath` to normalize it to a
form that `xfp` understands.
|