var searchIndex = {}; searchIndex["approx"] = {"doc":"A crate that provides facilities for testing the approximate equality of floating-point\nbased types, using either relative difference, or units in the last place (ULPs)\ncomparisons.","items":[[3,"Relative","approx","The requisite parameters for testing for approximate equality.",null,null],[12,"lhs","","The left-hand side of the approximate equality comparison.",0,null],[12,"rhs","","The right-hand side of the approximate equality comparison.",0,null],[12,"epsilon","","The tolerance to use when testing values that are close together.",0,null],[12,"max_relative","","The relative tolerance for testing values that are far-apart.",0,null],[3,"Ulps","","The requisite parameters for testing for approximate equality.",null,null],[12,"lhs","","The left-hand side of the approximate equality comparison.",1,null],[12,"rhs","","The right-hand side of the approximate equality comparison.",1,null],[12,"epsilon","","The tolerance to use when testing values that are close together.",1,null],[12,"max_ulps","","The ULPs to tolerate when testing values that are far-apart.",1,null],[8,"ApproxEq","","Equality comparisons based on floating point tolerances.",null,null],[16,"Epsilon","","Used for specifying relative comparisons.",2,null],[10,"default_epsilon","","The default tolerance to use when testing values that are close together.",2,{"inputs":[],"output":{"name":"epsilon"}}],[10,"default_max_relative","","The default relative tolerance for testing values that are far-apart.",2,{"inputs":[],"output":{"name":"epsilon"}}],[10,"default_max_ulps","","The default ULPs to tolerate when testing values that are far-apart.",2,{"inputs":[],"output":{"name":"u32"}}],[10,"relative_eq","","A test for equality that uses a relative comparison if the values are far apart.",2,null],[11,"relative_ne","","The inverse of `ApproxEq::relative_eq`.",2,null],[10,"ulps_eq","","A test for equality that uses units in the last place (ULP) if the values are far apart.",2,null],[11,"ulps_ne","","The inverse of `ApproxEq::ulps_eq`.",2,null],[11,"new","","The beginning of a chained equality expression, using a relative based comparison.",0,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"relative"}}],[11,"epsilon","","Replace the epsilon value with the one specified.",0,null],[11,"max_relative","","Replace the maximum relative value with the one specified.",0,null],[11,"eq","","Peform the equality comparison",0,null],[11,"ne","","Peform the inequality comparison",0,null],[11,"new","","The beginning of a chained equality expression, using an ULPs based comparison.",1,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"ulps"}}],[11,"epsilon","","Replace the epsilon value with the one specified.",1,null],[11,"max_ulps","","Replace the max ulps value with the one specified.",1,null],[11,"eq","","Peform the equality comparison",1,null],[11,"ne","","Peform the inequality comparison",1,null],[14,"relative_eq!","","Predicate for testing the approximate equality of two values.",null,null],[14,"relative_ne!","","Predicate for testing the approximate inequality of two values.",null,null],[14,"assert_relative_eq!","","",null,null],[14,"assert_relative_ne!","","",null,null],[14,"ulps_eq!","","Predicate for testing the approximate equality of two values using a maximum ULPs (Units\nin Last Place).",null,null],[14,"ulps_ne!","","Predicate for testing the approximate inequality of two values using a maximum ULPs (Units\nin Last Place).",null,null],[14,"assert_ulps_eq!","","",null,null],[14,"assert_ulps_ne!","","",null,null]],"paths":[[3,"Relative"],[3,"Ulps"],[8,"ApproxEq"]]}; initSearch(searchIndex);