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

Error

Bits error versus c

Bits error versus b

Bits error versus a

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 51.7

    \[\log \left(\left(c + \sinh \left(b + a \cdot x\right)\right) + \sqrt{\left(c + \sinh \left(b + a \cdot x\right)\right) \cdot \left(c + \sinh \left(b + a \cdot x\right)\right) + 1}\right)\]
  2. Final simplification51.7

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

Reproduce

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