Average Error: 0.3 → 0
Time: 1.7s
Precision: binary64
\[e^{\log x \cdot 35}\]
\[{x}^{35}\]
e^{\log x \cdot 35}
{x}^{35}
double code(double x) {
	return ((double) exp(((double) (((double) log(x)) * 35.0))));
}
double code(double x) {
	return ((double) pow(x, 35.0));
}

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

    \[e^{\log x \cdot 35}\]
  2. Simplified0

    \[\leadsto \color{blue}{{x}^{35}}\]
  3. Final simplification0

    \[\leadsto {x}^{35}\]

Reproduce

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