From: Gregor Schneider Date: Mon, 6 Apr 2009 11:39:53 +0000 (+0000) Subject: - Remove error case shortcut, allows results to be computed correctly X-Git-Tag: ReactOS-0.3.9~172 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=6440f4e949e8c26293f1fff6a3bc34c9922fbbb4 - Remove error case shortcut, allows results to be computed correctly - Fixes two oleaut32 vartest winetests svn path=/trunk/; revision=40392 --- diff --git a/reactos/lib/sdk/crt/math/i386/pow_asm.s b/reactos/lib/sdk/crt/math/i386/pow_asm.s index 366940ece32..6b722fef068 100644 --- a/reactos/lib/sdk/crt/math/i386/pow_asm.s +++ b/reactos/lib/sdk/crt/math/i386/pow_asm.s @@ -76,8 +76,7 @@ _pow: and ah, 0b10111010 // Turn off CF, PF and ZF or ah,al // Set new CF, PF and ZF sahf // Store AH into Flags - ja __fpow2 // Re-direct if y > 0 - jmp __fpow4 // End of case + jmp __fpow2 // Re-direct __fpow1: fxch // Put y on top of stack fld st // Duplicate y as st(1) frndint // Round to integer