Average Error: 30.1 → 30.1
Time: 3.8s
Precision: binary64
\[\log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)\]
\[\log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)\]
\log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)
\log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)
double code(double x) {
	return ((double) log(((double) (((double) (1.0 - x)) * ((double) (1.0 + x))))));
}
double code(double x) {
	return ((double) log(((double) (((double) (1.0 - x)) * ((double) (1.0 + x))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 30.1

    \[\log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)\]
  2. Final simplification30.1

    \[\leadsto \log \left(\left(1 - x\right) \cdot \left(1 + x\right)\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(log (* (- 1 x) (+ 1 x)))"
  :precision binary64
  (log (* (- 1.0 x) (+ 1.0 x))))