Average Error: 30.4 → 30.4
Time: 10.5s
Precision: binary64
\[\log x - \log \left(\sinh x\right)\]
\[\log x - \log \left(\sinh x\right)\]
\log x - \log \left(\sinh x\right)
\log x - \log \left(\sinh x\right)
double code(double x) {
	return ((double) (((double) log(x)) - ((double) log(((double) sinh(x))))));
}
double code(double x) {
	return ((double) (((double) log(x)) - ((double) log(((double) sinh(x))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 30.4

    \[\log x - \log \left(\sinh x\right)\]
  2. Final simplification30.4

    \[\leadsto \log x - \log \left(\sinh x\right)\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(- (log x) (log (sinh x)))"
  :precision binary64
  (- (log x) (log (sinh x))))