\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 r10031 = c;
double r10032 = cosh(r10031);
double r10033 = a;
double r10034 = log1p(r10033);
double r10035 = fmod(r10032, r10034);
return r10035;
}
double f(double a, double c) {
double r10036 = exp(1.0);
double r10037 = c;
double r10038 = cosh(r10037);
double r10039 = a;
double r10040 = log1p(r10039);
double r10041 = fmod(r10038, r10040);
double r10042 = log(r10041);
double r10043 = pow(r10036, r10042);
return r10043;
}



Bits error versus a



Bits error versus c
Initial program 33.8
rmApplied add-exp-log33.8
rmApplied pow133.8
Applied log-pow33.8
Applied exp-prod33.8
Simplified33.8
Final simplification33.8
herbie shell --seed 2019353
(FPCore (a c)
:name "Random Jason Timeout Test 004"
:precision binary64
(fmod (cosh c) (log1p a)))