Average Error: 38.9 → 38.9
Time: 2.0s
Precision: binary64
\[\log \left(1 + e\right)\]
\[\log \left(1 + e\right)\]
\log \left(1 + e\right)
\log \left(1 + e\right)
double code(double e) {
	return ((double) log(((double) (1.0 + e))));
}
double code(double e) {
	return ((double) log(((double) (1.0 + e))));
}

Error

Bits error versus e

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 38.9

    \[\log \left(1 + e\right)\]
  2. Final simplification38.9

    \[\leadsto \log \left(1 + e\right)\]

Reproduce

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