mirror of
https://github.com/reactos/reactos.git
synced 2024-08-11 13:48:01 +00:00
- Remove error case shortcut, allows results to be computed correctly
- Fixes two oleaut32 vartest winetests svn path=/trunk/; revision=40392
This commit is contained in:
parent
f0179f8ce1
commit
6440f4e949
|
@ -76,8 +76,7 @@ _pow:
|
||||||
and ah, 0b10111010 // Turn off CF, PF and ZF
|
and ah, 0b10111010 // Turn off CF, PF and ZF
|
||||||
or ah,al // Set new CF, PF and ZF
|
or ah,al // Set new CF, PF and ZF
|
||||||
sahf // Store AH into Flags
|
sahf // Store AH into Flags
|
||||||
ja __fpow2 // Re-direct if y > 0
|
jmp __fpow2 // Re-direct
|
||||||
jmp __fpow4 // End of case
|
|
||||||
__fpow1: fxch // Put y on top of stack
|
__fpow1: fxch // Put y on top of stack
|
||||||
fld st // Duplicate y as st(1)
|
fld st // Duplicate y as st(1)
|
||||||
frndint // Round to integer
|
frndint // Round to integer
|
||||||
|
|
Loading…
Reference in a new issue