xfp – Interface to the LaTeX3 floating point unit
This package provides a LaTeX2ε document-level interface to the LaTeX3 floating point unit (part of expl3).
The expandable command \fpeval takes as its argument a floating point expression and will produce a result using the normal rules of mathematics. As this command is expandable it can be used where TeX requires a number and for example within a low-level \edef operation to give a purely numerical result.
|Licenses||The LaTeX Project Public License 1.3c|
|Copyright||2017–2020 The LaTeX3 Project|
|Maintainer||The LaTeX Team|
|Contained in||TeX Live as l3packages|
MiKTeX as l3packages
Download the contents of this package in one zip archive (2.0M).
Maybe you are interested in the following packages as well.
- l3keys2e: LaTeX2ε option processing using LaTeX3 keys
- xargs: Define commands with many optional arguments
- xoptarg: Expandable macros that take an optional argument
- xnewcommand: Define \global and \protected commands with \newcommand