Average Error: 23.4 → 23.4
Time: 2.3s
Precision: binary64
\[\sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}\]
\[\sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}\]
\sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}
\sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}
double code(double a, double b, double d) {
	return ((double) sqrt(((double) (((double) (((double) exp(((double) (a * b)))) - ((double) sin(((double) (b * d)))))) + 1.0))));
}
double code(double a, double b, double d) {
	return ((double) sqrt(((double) (((double) (((double) exp(((double) (a * b)))) - ((double) sin(((double) (b * d)))))) + 1.0))));
}

Error

Bits error versus a

Bits error versus b

Bits error versus d

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 23.4

    \[\sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}\]
  2. Final simplification23.4

    \[\leadsto \sqrt{\left(e^{a \cdot b} - \sin \left(b \cdot d\right)\right) + 1}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (a b d)
  :name "(sqrt (+ (- (exp (* a b)) (sin (* b d))) 1))"
  :precision binary64
  (sqrt (+ (- (exp (* a b)) (sin (* b d))) 1.0)))