Average Error: 52.3 → 52.3
Time: 6.7s
Precision: binary64
\[\log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)\]
\[\log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)\]
\log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)
\log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)
double code(double x, double c) {
	return ((double) log(((double) (((double) (((double) sinh(x)) + c)) + ((double) sqrt(((double) (((double) (((double) (((double) sinh(x)) + c)) * ((double) (((double) sinh(x)) + c)))) + 1.0))))))));
}
double code(double x, double c) {
	return ((double) log(((double) (((double) (((double) sinh(x)) + c)) + ((double) sqrt(((double) (((double) (((double) (((double) sinh(x)) + c)) * ((double) (((double) sinh(x)) + c)))) + 1.0))))))));
}

Error

Bits error versus x

Bits error versus c

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 52.3

    \[\log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)\]
  2. Final simplification52.3

    \[\leadsto \log \left(\left(\sinh x + c\right) + \sqrt{\left(\sinh x + c\right) \cdot \left(\sinh x + c\right) + 1}\right)\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x c)
  :name "(log (+ (+ (sinh x) c) (sqrt (+ (* (+ (sinh x) c) (+ (sinh x) c)) 1))))"
  :precision binary64
  (log (+ (+ (sinh x) c) (sqrt (+ (* (+ (sinh x) c) (+ (sinh x) c)) 1.0)))))