Questions tagged [xfp]

22 questions
7
votes
1 answer

The difference between {\x >\y} and {\x >? \y} in xfp package?

On page 1/2 of xfp package we see x >? y as a valid comparison operator. Is it different from x>y? I think they are equivalent based on my following code, but not sure: …
Aria
  • 1,523
3
votes
1 answer

xfp: zerofill at fpeval

I need some calculations with fpeval, where I want numbers like '21' outwritten as '21.0' with one zero after the point. Is this possible at xfp.sty? \documentclass[margin=5pt, varwidth]{standalone} \usepackage{xfp} \begin{document} good:…
cis
  • 8,073
  • 1
  • 16
  • 45
2
votes
1 answer

On the xfp package: ternary operator x ? y : z

On page 1/2 xfp package we see ternary operator x ? y : z as a valid boolean expression. it deserves the author puts at least the definition of this. In C I was told we have: variable = Expression1 ? Expression2 : Expression3 is equivalent…
Aria
  • 1,523