Skip to content

Commit

Permalink
[qty.val.cmp] Avoid <=> for equality case
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Nov 2, 2024
1 parent 0423cdf commit 591324b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/api_reference/src/quantities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3861,7 +3861,14 @@
\pnum
\returns
\tcode{is_\placeholdernc{F}(q <=> zero())}\irefcpp{compare.syn}.
\begin{itemize}
\item
If \tcode{\placeholdernc{F}} is \tcode{eq}, returns \tcode{q == zero()}.
\item
Otherwise, if \tcode{\placeholdernc{F}} is \tcode{neq}, returns \tcode{q != zero()}.
\item
Otherwise, returns \tcode{is_\placeholdernc{F}(q <=> zero())}\irefcpp{compare.syn}.
\end{itemize}
\pnum
\remarks
Expand Down

0 comments on commit 591324b

Please sign in to comment.