switch to using `half` for f16 implementation
[vector-math.git] / src / lib.rs
1 #![no_std]
2
3 pub mod traits;
4
5 #[cfg(feature = "f16")]
6 pub use half::f16;
7
8 #[cfg(not(feature = "f16"))]
9 #[allow(non_camel_case_types)]
10 #[derive(Clone, Copy, PartialEq, PartialOrd, Debug, Hash)]
11 pub enum f16 {}