Average Error: 0.0 → 0.0
Time: 893.0ms
Precision: binary64
\[e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}\]
\[e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}\]
e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}
e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}
double code(double f, double x) {
	return ((double) exp(((double) (((double) (3.0 * ((double) (f * x)))) - ((double) (2.0 * f))))));
}
double code(double f, double x) {
	return ((double) exp(((double) (((double) (3.0 * ((double) (f * x)))) - ((double) (2.0 * f))))));
}

Error

Bits error versus f

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}\]
  2. Final simplification0.0

    \[\leadsto e^{3 \cdot \left(f \cdot x\right) - 2 \cdot f}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (f x)
  :name "(exp (- (* 3 (* f x)) (* 2 f)))"
  :precision binary64
  (exp (- (* 3.0 (* f x)) (* 2.0 f))))