Average Error: 0.0 → 0.0
Time: 1.5s
Precision: binary64
\[e^{\left(\log x \cdot 1.5\right) \cdot f}\]
\[{x}^{\left(1.5 \cdot f\right)}\]
e^{\left(\log x \cdot 1.5\right) \cdot f}
{x}^{\left(1.5 \cdot f\right)}
double code(double x, double f) {
	return ((double) exp(((double) (((double) (((double) log(x)) * 1.5)) * f))));
}
double code(double x, double f) {
	return ((double) pow(x, ((double) (1.5 * f))));
}

Error

Bits error versus x

Bits error versus f

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[e^{\left(\log x \cdot 1.5\right) \cdot f}\]
  2. Simplified0.0

    \[\leadsto \color{blue}{{x}^{\left(1.5 \cdot f\right)}}\]
  3. Final simplification0.0

    \[\leadsto {x}^{\left(1.5 \cdot f\right)}\]

Reproduce

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