\left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)\left(\left(\sqrt[3]{\frac{1}{8} \cdot {\left(\mathsf{expm1}\left(\sqrt[3]{{\left(\mathsf{log1p}\left(e^{c} + e^{-c}\right)\right)}^{3}}\right)\right)}^{3}}\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)double f(double a, double c) {
double r19162 = c;
double r19163 = cosh(r19162);
double r19164 = a;
double r19165 = log1p(r19164);
double r19166 = fmod(r19163, r19165);
return r19166;
}
double f(double a, double c) {
double r19167 = 0.125;
double r19168 = c;
double r19169 = exp(r19168);
double r19170 = -r19168;
double r19171 = exp(r19170);
double r19172 = r19169 + r19171;
double r19173 = log1p(r19172);
double r19174 = 3.0;
double r19175 = pow(r19173, r19174);
double r19176 = cbrt(r19175);
double r19177 = expm1(r19176);
double r19178 = pow(r19177, r19174);
double r19179 = r19167 * r19178;
double r19180 = cbrt(r19179);
double r19181 = a;
double r19182 = log1p(r19181);
double r19183 = fmod(r19180, r19182);
return r19183;
}



Bits error versus a



Bits error versus c
Initial program 34.3
rmApplied add-cbrt-cube34.3
Simplified34.3
Taylor expanded around inf 34.3
rmApplied expm1-log1p-u34.1
rmApplied add-cbrt-cube34.1
Simplified34.1
Final simplification34.1
herbie shell --seed 2019325 +o rules:numerics
(FPCore (a c)
:name "Random Jason Timeout Test 004"
:precision binary64
(fmod (cosh c) (log1p a)))