\left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right){e}^{\left(\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)\right)}double f(double a, double c) {
double r12523 = c;
double r12524 = cosh(r12523);
double r12525 = a;
double r12526 = log1p(r12525);
double r12527 = fmod(r12524, r12526);
return r12527;
}
double f(double a, double c) {
double r12528 = exp(1.0);
double r12529 = c;
double r12530 = cosh(r12529);
double r12531 = a;
double r12532 = log1p(r12531);
double r12533 = fmod(r12530, r12532);
double r12534 = log(r12533);
double r12535 = pow(r12528, r12534);
return r12535;
}



Bits error versus a



Bits error versus c
Initial program 34.0
rmApplied add-exp-log34.0
rmApplied pow134.0
Applied log-pow34.0
Applied exp-prod34.0
Simplified34.0
rmApplied pow134.0
Applied log-pow34.0
Final simplification34.0
herbie shell --seed 2019347 +o rules:numerics
(FPCore (a c)
:name "Random Jason Timeout Test 004"
:precision binary64
(fmod (cosh c) (log1p a)))