rust ffast-math (defunct, use lower)
add derives
bendn 2023-10-03
parent fdc7f37 · commit 2d0c9ac
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 10f26de..c6a1111 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -26,6 +26,7 @@ use r#trait::FastFloat;
/// assert_eq!(*result, 1136943.0);
/// # }
/// ```
+#[derive(Copy, Clone, PartialEq, PartialOrd)]
pub struct FFloat<T>(T);
impl<T: FastFloat + std::fmt::Debug> std::fmt::Debug for FFloat<T> {