The l3fp package documentation refers to the >? operator (page 237 of interface3.pdf) but I could not find any example or explanation there despite it is recognized as shown in next example.

\fp_compare:nTF { 1 >? 2}
{⟨true code⟩} {⟨false code⟩}
  • 2
    \begin{joke} It checks whether a given number is maybe bigger than another given number. \end{joke}
    – Gaussler
    Jul 13, 2021 at 7:48
  • 1
    @Gaussler that is actually the intuition behind the notation. Jul 13, 2021 at 8:01

1 Answer 1


That's documented under \fp_compare:nTF:

Any combination of the characters !<=>? can be used as a comparison operator (except that the first character can not be ?). If a ! is present the truth value is inverted. Otherwise the symbols <=>? stand for the cases which should be true. <=> are probably obvious, ? stands for "not ordered" (mostly relevant for NaN and tuples).

So >? is "bigger or not comparable". It can also be written as !<= ("not less than or equal").

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.