Average Error: 31.6 → 31.6
Time: 528.0ms
Precision: binary64
\[\log \left(x \cdot x\right)\]
\[\log \left(x \cdot x\right)\]
\log \left(x \cdot x\right)
\log \left(x \cdot x\right)
double code(double x) {
	return ((double) log(((double) (x * x))));
}
double code(double x) {
	return ((double) log(((double) (x * x))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 31.6

    \[\log \left(x \cdot x\right)\]
  2. Final simplification31.6

    \[\leadsto \log \left(x \cdot x\right)\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(log (* x x))"
  :precision binary64
  (log (* x x)))