Average Error: 0.3 → 0.3
Time: 4.3s
Precision: binary64
\[\log \left(\log x\right) + \sin x\]
\[\log \left(\log x\right) + \sin x\]
\log \left(\log x\right) + \sin x
\log \left(\log x\right) + \sin x
double code(double x) {
	return ((double) (((double) log(((double) log(x)))) + ((double) sin(x))));
}
double code(double x) {
	return ((double) (((double) log(((double) log(x)))) + ((double) sin(x))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\log \left(\log x\right) + \sin x\]
  2. Final simplification0.3

    \[\leadsto \log \left(\log x\right) + \sin x\]

Reproduce

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