mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
correct fix for log10.
svn path=/trunk/; revision=27482
This commit is contained in:
parent
a8ea3c335e
commit
aec8f7eff1
|
@ -15,11 +15,13 @@
|
|||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
_log10:
|
||||
push ebp
|
||||
mov ebp,esp
|
||||
fldlg2
|
||||
fld qword ptr [ebp+8]
|
||||
fyl2x
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
push ebp
|
||||
mov ebp,esp
|
||||
fld qword ptr [ebp+8] ; Load real from stack
|
||||
fldlg2 ; Load log base 10 of 2
|
||||
fxch st(1) ; Exchange st, st(1)
|
||||
fyl2x ; Compute the log base 10(x)
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
|
|
Loading…
Reference in a new issue