Average Error: 0.6 → 0.6
Time: 2.0s
Precision: binary64
\[\log x + \log b\]
\[\log x + \log b\]
\log x + \log b
\log x + \log b
double code(double x, double b) {
	return ((double) (((double) log(x)) + ((double) log(b))));
}
double code(double x, double b) {
	return ((double) (((double) log(x)) + ((double) log(b))));
}

Error

Bits error versus x

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.6

    \[\log x + \log b\]
  2. Final simplification0.6

    \[\leadsto \log x + \log b\]

Reproduce

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