☰
Debian Codegraph
@
2.1.3-1
/
/
src
/
utils.rs
☽
☼
src/utils.rs
code
plain
raw
symbols
SCIP
MIT
or
Apache-2.0
2016-2022 Leopold Arkham <
[email protected]
>
debian/copyright
1
use
libm
::
fabs
;
2
3
pub(
crate
) fn
f64_eq
(
left
: f64,
right
: f64) -> bool {
4
left
==
right
||
fabs
(
left
-
right
)
<=
f64::
EPSILON
5
}