\left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)e^{\sqrt[3]{\left(\sqrt[3]{\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)} \cdot \left(\sqrt[3]{\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)} \cdot \sqrt[3]{\log \left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\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 r1294181 = c;
double r1294182 = cosh(r1294181);
double r1294183 = a;
double r1294184 = log1p(r1294183);
double r1294185 = fmod(r1294182, r1294184);
return r1294185;
}
double f(double a, double c) {
double r1294186 = c;
double r1294187 = cosh(r1294186);
double r1294188 = a;
double r1294189 = log1p(r1294188);
double r1294190 = fmod(r1294187, r1294189);
double r1294191 = log(r1294190);
double r1294192 = cbrt(r1294191);
double r1294193 = r1294192 * r1294192;
double r1294194 = r1294192 * r1294193;
double r1294195 = r1294191 * r1294191;
double r1294196 = r1294194 * r1294195;
double r1294197 = cbrt(r1294196);
double r1294198 = exp(r1294197);
return r1294198;
}



Bits error versus a



Bits error versus c
Initial program 34.4
rmApplied add-exp-log34.4
rmApplied add-cbrt-cube34.4
rmApplied add-cube-cbrt34.4
Final simplification34.4
herbie shell --seed 2019169 +o rules:numerics
(FPCore (a c)
:name "Random Jason Timeout Test 004"
(fmod (cosh c) (log1p a)))