aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu/poly_l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/math-emu/poly_l2.c')
-rw-r--r--arch/x86/math-emu/poly_l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/math-emu/poly_l2.c b/arch/x86/math-emu/poly_l2.c
index c0102ae87511..8e2ff4b28a0a 100644
--- a/arch/x86/math-emu/poly_l2.c
+++ b/arch/x86/math-emu/poly_l2.c
@@ -23,7 +23,7 @@ static void log2_kernel(FPU_REG const *arg, u_char argsign,
23/*--- poly_l2() -------------------------------------------------------------+ 23/*--- poly_l2() -------------------------------------------------------------+
24 | Base 2 logarithm by a polynomial approximation. | 24 | Base 2 logarithm by a polynomial approximation. |
25 +---------------------------------------------------------------------------*/ 25 +---------------------------------------------------------------------------*/
26void poly_l2(FPU_REG * st0_ptr, FPU_REG * st1_ptr, u_char st1_sign) 26void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign)
27{ 27{
28 long int exponent, expon, expon_expon; 28 long int exponent, expon, expon_expon;
29 Xsig accumulator, expon_accum, yaccum; 29 Xsig accumulator, expon_accum, yaccum;
@@ -178,7 +178,7 @@ static const unsigned long leadterm = 0xb8000000;
178 | Base 2 logarithm by a polynomial approximation. | 178 | Base 2 logarithm by a polynomial approximation. |
179 | log2(x+1) | 179 | log2(x+1) |
180 +---------------------------------------------------------------------------*/ 180 +---------------------------------------------------------------------------*/
181static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig * accum_result, 181static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig *accum_result,
182 long int *expon) 182 long int *expon)
183{ 183{
184 long int exponent, adj; 184 long int exponent, adj;