Author: gschneider Date: Mon Apr 6 15:39:53 2009 New Revision: 40392
URL: http://svn.reactos.org/svn/reactos?rev=40392&view=rev Log: - Remove error case shortcut, allows results to be computed correctly - Fixes two oleaut32 vartest winetests
Modified: trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s
Modified: trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/pow_a... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s [iso-8859-1] Mon Apr 6 15:39:53 2009 @@ -76,8 +76,7 @@ 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