From 1ac9e54296c99367b2d0a1baa70324225a3f8533 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Tue, 8 Jun 2021 17:08:05 +0100 Subject: [PATCH] fix sin implementation --- agb/src/number.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/number.rs b/agb/src/number.rs index bb344929..493084c4 100644 --- a/agb/src/number.rs +++ b/agb/src/number.rs @@ -289,7 +289,7 @@ impl Num { pub fn sin(self) -> Self { let one: Self = I::one().into(); let four: I = 4.into(); - (self - one / four).cos() + (self + one / four).cos() } }