Add new markdown files
This commit is contained in:
9
xrpl-hooks-docs/md/hooks-float-compare-pure.md
Normal file
9
xrpl-hooks-docs/md/hooks-float-compare-pure.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# hooks-float-compare-pure
|
||||
|
||||
Hooks can compare floating-point values in XFL format by calling the
|
||||
`float_compare` function. If the inputs of the comparison never
|
||||
change, its result is fixed and the function need not be called.
|
||||
|
||||
This check warns about calls of `float_compare` with constant inputs
|
||||
as well as invalid values of the comparison mode parameter (if it's
|
||||
specified by a constant - variable parameter is ignored).
|
||||
Reference in New Issue
Block a user