switch to using separate VecBool8/16/32/64
[vector-math.git] / src / f16.rs
index 20ed902ff6e0afc542f93a869bb40707c2d6f47f..ee13d9992135320be52859df3d5c51f6482ff933 100644 (file)
@@ -161,8 +161,10 @@ impl_bin_op_using_f32! {
     Rem, rem, RemAssign, rem_assign;
 }
 
     Rem, rem, RemAssign, rem_assign;
 }
 
-impl Float<u32> for F16 {
+impl Float for F16 {
+    type FloatEncoding = F16;
     type BitsType = u16;
     type BitsType = u16;
+    type SignedBitsType = i16;
 
     fn abs(self) -> Self {
         f16_impl!(Self::from_bits(self.to_bits() & 0x7FFF), [])
 
     fn abs(self) -> Self {
         f16_impl!(Self::from_bits(self.to_bits() & 0x7FFF), [])