Module predicates::float
source · Expand description
Float Predicates
This module contains predicates specific to string handling.
Structs§
- IsClosePredicate
float-cmp
Predicate that ensures two numbers are “close” enough, understanding that rounding errors occur.
Functions§
- is_close
float-cmp
Create a newPredicate
that ensures two numbers are “close” enough, understanding that rounding errors occur.