Hi! I've seen many codes where 1e-11 (like this) is used to compare two double numbers. Why we use this? what it we do not use this?
Thanks in advance.
Double Number comparison
Hi! I've seen many codes where 1e-11 (like this) is used to compare two double numbers. Why we use this? what it we do not use this?
Thanks in advance.
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en1 |
|
question_id | 2015-08-23 20:26:09 | 181 | Initial revision (published) |