\left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)e^{\sqrt[3]{\left(\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right) \cdot \log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)\right) \cdot \sqrt[3]{\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right) \cdot \left(\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right) \cdot \log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)\right)}}}double f(double a, double c) {
double r1082717 = c;
double r1082718 = cosh(r1082717);
double r1082719 = a;
double r1082720 = log1p(r1082719);
double r1082721 = fmod(r1082718, r1082720);
return r1082721;
}
double f(double a, double c) {
double r1082722 = c;
double r1082723 = cosh(r1082722);
double r1082724 = a;
double r1082725 = log1p(r1082724);
double r1082726 = fmod(r1082723, r1082725);
double r1082727 = log(r1082726);
double r1082728 = r1082727 * r1082727;
double r1082729 = r1082727 * r1082728;
double r1082730 = cbrt(r1082729);
double r1082731 = r1082728 * r1082730;
double r1082732 = cbrt(r1082731);
double r1082733 = exp(r1082732);
return r1082733;
}



Bits error versus a



Bits error versus c
Initial program 33.6
rmApplied add-exp-log33.6
rmApplied add-cbrt-cube33.6
rmApplied add-cbrt-cube33.6
Final simplification33.6
herbie shell --seed 2019168 +o rules:numerics
(FPCore (a c)
:name "Random Jason Timeout Test 004"
(fmod (cosh c) (log1p a)))