From bfdc7849fd2cb84670e51a7514091a26082c653d Mon Sep 17 00:00:00 2001 From: Wuerfel21 Date: Tue, 10 Jun 2025 01:09:54 +0200 Subject: [PATCH] Fix compile-time QEXP rounding error This now actually matches hardware --- p2com.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2com.asm b/p2com.asm index 1a34638..fc3be14 100644 --- a/p2com.asm +++ b/p2com.asm @@ -10254,7 +10254,7 @@ cordic_q: push ebx mov edx,[@@x+4] add eax,[@@y+0] adc edx,[@@y+4] - add eax,20h + add eax,40h adc edx,0 mov cl,7 @@done: call @@sar