- Remove error case shortcut, allows results to be computed correctly
authorGregor Schneider <grschneider@gmail.com>
Mon, 6 Apr 2009 11:39:53 +0000 (11:39 +0000)
committerGregor Schneider <grschneider@gmail.com>
Mon, 6 Apr 2009 11:39:53 +0000 (11:39 +0000)
- Fixes two oleaut32 vartest winetests

svn path=/trunk/; revision=40392

reactos/lib/sdk/crt/math/i386/pow_asm.s

index 366940e..6b722fe 100644 (file)
@@ -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