From 2eec85b7503cac904aed38eb31cb42e0500163a1 Mon Sep 17 00:00:00 2001 From: Ezekiel Dohmen <ezekiel.dohmen@ligo.org> Date: Thu, 21 Apr 2022 09:00:10 -0700 Subject: [PATCH] Not adding llog yet, userapp code might define --- src/include/inlineMath.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/include/inlineMath.h b/src/include/inlineMath.h index 1507cff73..b7588f002 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 ) -- GitLab