summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3packages/xfp/xfp.sty
blob: f59202b1a41b1c591f95b9d745e7318d2c5fd83c (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
31
32
33
34
35
36
37
38
39
40
41
42
%%
%% This is file `xfp.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% xfp.dtx  (with options: `package')
%% 
%% Copyright (C) 2017 The LaTeX3 Project
%% 
%% It 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 file is part of the "l3packages bundle" (The Work in LPPL)
%% and all files in that bundle must be distributed together.
%% 
%% File: xfp.dtx (C) Copyright 2017-2018 The LaTeX3 Project
\RequirePackage{expl3}[2018/02/21]
\@ifpackagelater{expl3}{2018/02/21}
  {}
  {%
    \PackageError{xfp}{Support package l3kernel too old}
      {%
        Please install an up to date version of l3kernel\MessageBreak
        using your TeX package manager or from CTAN.\MessageBreak
        \MessageBreak
        Loading xfp will abort!%
      }%
    \endinput
  }
\RequirePackage{xparse}
\ProvidesExplPackage{xfp}{2018-04-30}{}
  {L3 Floating point unit}
\NewExpandableDocumentCommand \fpeval { m } { \fp_eval:n {#1} }
\NewExpandableDocumentCommand \inteval { m } { \int_eval:n {#1} }
%% 
%%
%% End of file `xfp.sty'.