diff --git a/src/include/inlineMath.h b/src/include/inlineMath.h index 1507cff73d10828e12ea3d6f6fc138649d153ef4..b7588f0023192752d1283c1a3a4b8ee4cbfb425a 100644 --- a/src/include/inlineMath.h +++ b/src/include/inlineMath.h @@ -108,23 +108,6 @@ llog10( double __x ) return __result; } -/* Fast Pentium FPU log(x) (natural logarithm) command */ -inline double -llog( double __x ) -{ - register double __result; - //This assembly pushes log(e)(2) onto the FPU stack : fldln2 - //Swaps contents of registers ST(0) and ST(i) : fxch %%st(1) - //Then computes (ST(1) ∗ log2 (ST(0))), stores the result in register ST(1), - // and pops the FPU register stack. : fyl2x - __asm __volatile__( "fldln2\n\t fxch %%st(1)\n\t fyl2x" - : "=t"( __result ) - : "0"( __x ) ); - - return __result; -} - - /* Fast Pentium absolute value */ inline double lfabs( double __x )