lib8: trig: style++

This commit is contained in:
Victoria Fischer 2024-11-24 21:54:20 +01:00
parent 2c7d1d2888
commit d17baa754f

View File

@ -31,11 +31,11 @@ impl Trig8 for u8 {
}
y = y.wrapping_add(128u8 as i8);
return y as u8;
}
}
fn cos8(self) -> u8 {
sin8(self.wrapping_add(64))
}
}
}
impl Trig8 for usize {