diff --git a/src/content/docs/docs/hooks/functions/float/float_compare.mdx b/src/content/docs/docs/hooks/functions/float/float_compare.mdx index 912545c..b68a249 100644 --- a/src/content/docs/docs/hooks/functions/float/float_compare.mdx +++ b/src/content/docs/docs/hooks/functions/float/float_compare.mdx @@ -86,7 +86,7 @@ if (float_compare(pusd_to_send, 0n, COMPARE_LESS) == 1) | ------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | float1 | int64_t | An XFL floating point enclosing number representing the first operand to the comparison | | float2 | int64_t | An XFL floating point enclosing number representing the second operand to the comparison | -| mode | uint32_t | A bit-flag field consisting of any of (or any logically valid combination of) the following flags:
COMPARE_LESS
COMPARE_EQUAL
COMPARE_GREATER

Valid combinations are:
COMPARE_LESS | COMPARE_GREATER
- Not equal

COMPARE_LESS | COMPARE_EQUAL
- Less than or equal to

COMPARE_GREATER | COMPARE_EQUAL
- Greater than or equal to | +| mode | uint32_t | A bit-flag field consisting of any of (or any logically valid combination of) the following flags:
COMPARE_EQUAL `1`
COMPARE_LESS `2`
COMPARE_GREATER `4`

Valid combinations are:
COMPARE_LESS \| COMPARE_GREATER
- Not equal

COMPARE_LESS \| COMPARE_EQUAL
- Less than or equal to

COMPARE_GREATER \| COMPARE_EQUAL
- Greater than or equal to |