We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
core_maths::CoreFloat
1 parent df75ac9 commit 9e84ddfCopy full SHA for 9e84ddf
2 files changed
parley/src/layout/data.rs
@@ -12,9 +12,6 @@ use alloc::vec::Vec;
12
13
use crate::analysis::cluster::Whitespace;
14
use crate::analysis::{Boundary, CharInfo};
15
-#[cfg(feature = "libm")]
16
-#[allow(unused_imports)]
17
-use core_maths::CoreFloat;
18
19
#[derive(Copy, Clone, Debug, PartialEq)]
20
pub(crate) struct ClusterData {
parley/src/util.rs
@@ -3,10 +3,6 @@
3
4
//! Misc helpers.
5
6
7
8
9
-
10
pub(crate) fn nearly_eq(x: f32, y: f32) -> bool {
11
(x - y).abs() < f32::EPSILON
}
0 commit comments