mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
correct fix for log10.
svn path=/trunk/; revision=27482
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user