From 9b3e6aac51527a5a26ae8f7d031e420252bf8cf2 Mon Sep 17 00:00:00 2001 From: jmpenn Date: Fri, 3 Mar 2023 13:30:52 -0600 Subject: [PATCH] Update README.md Fix title of Trick::flt_is_near --- trick_source/trick_utils/compareFloatingPoint/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/trick_utils/compareFloatingPoint/README.md b/trick_source/trick_utils/compareFloatingPoint/README.md index 42f74e74..8dc1645a 100644 --- a/trick_source/trick_utils/compareFloatingPoint/README.md +++ b/trick_source/trick_utils/compareFloatingPoint/README.md @@ -20,7 +20,7 @@ The design of ```Trick::dbl_is_near``` requires that the minimum tolerance be `` Before thinking that doubles should be compared to a tolerance smaller than ```1.00208e-292```, please consider that the ratio of the Planck length to the size of the observable universe is approximately ```1.8e-62```. Also consider that our minimum tolerance is ```5.4e-231``` times smaller than that. So, we think that'll probably be good enough in most cases. -## ```Trick::dbl_is_near``` +## ```Trick::flt_is_near``` ```c bool Trick::flt_is_near( float A, float B, float tolerance);