Average Error: 0.0 → 0.0
Time: 1.2s
Precision: binary64
\[e^{x \cdot x - \sin x}\]
\[e^{x \cdot x - \sin x}\]
e^{x \cdot x - \sin x}
e^{x \cdot x - \sin x}
double code(double x) {
	return ((double) exp(((double) (((double) (x * x)) - ((double) sin(x))))));
}
double code(double x) {
	return ((double) exp(((double) (((double) (x * x)) - ((double) sin(x))))));
}

Error

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^{x \cdot x - \sin x}\]
  2. Final simplification0.0

    \[\leadsto e^{x \cdot x - \sin x}\]

Reproduce

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