mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
Update README.md
Fix title of Trick::flt_is_near
This commit is contained in:
parent
3b630c33dc
commit
9b3e6aac51
@ -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.
|
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
|
```c
|
||||||
bool Trick::flt_is_near( float A, float B, float tolerance);
|
bool Trick::flt_is_near( float A, float B, float tolerance);
|
||||||
|
Loading…
Reference in New Issue
Block a user