Average Error: 32.3 → 32.3
Time: 1.9s
Precision: binary64
\[e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}\]
\[e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}\]
e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}
e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}
double code(double x) {
	return ((double) (((double) exp(x)) - ((double) (((double) sin(((double) (x - 3.0)))) / ((double) log(((double) (x * x))))))));
}
double code(double x) {
	return ((double) (((double) exp(x)) - ((double) (((double) sin(((double) (x - 3.0)))) / ((double) log(((double) (x * x))))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 32.3

    \[e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}\]
  2. Final simplification32.3

    \[\leadsto e^{x} - \frac{\sin \left(x - 3\right)}{\log \left(x \cdot x\right)}\]

Reproduce

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