Average Error: 39.2 → 39.2
Time: 2.2s
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 39.2

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

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

Reproduce

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