[#llvm-FCmpInst-compare] = xref:llvm.adoc[llvm]::xref:llvm/FCmpInst.adoc[FCmpInst]::compare :relfileprefix: ../../ :mrdocs: Return the result of `LHS Pred RHS` comparison. == Synopsis Declared in `<llvm/IR/Instructions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool compare( xref:llvm/APFloat.adoc[APFloat] const& LHS, xref:llvm/APFloat.adoc[APFloat] const& RHS, xref:llvm/CmpInst/Predicate.adoc[FCmpInst::Predicate] Pred); ---- == Return Value The result of `LHS Pred RHS` comparison. == Parameters [cols="1,4"] |=== | Name| Description | *LHS* | The left‐hand side value. | *RHS* | The right‐hand side value. | *Pred* | The comparison predicate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#