\left(\left(\cosh c\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)\left(\left(\sqrt[3]{{\left(\frac{\mathsf{expm1}\left(\sqrt[3]{{\left(\mathsf{log1p}\left(e^{-c} + e^{c}\right)\right)}^{3}}\right)}{2}\right)}^{3}}\right) \bmod \left(\mathsf{log1p}\left(a\right)\right)\right)double f(double a, double c) {
double r19855 = c;
double r19856 = cosh(r19855);
double r19857 = a;
double r19858 = log1p(r19857);
double r19859 = fmod(r19856, r19858);
return r19859;
}
double f(double a, double c) {
double r19860 = c;
double r19861 = -r19860;
double r19862 = exp(r19861);
double r19863 = exp(r19860);
double r19864 = r19862 + r19863;
double r19865 = log1p(r19864);
double r19866 = 3.0;
double r19867 = pow(r19865, r19866);
double r19868 = cbrt(r19867);
double r19869 = expm1(r19868);
double r19870 = 2.0;
double r19871 = r19869 / r19870;
double r19872 = pow(r19871, r19866);
double r19873 = cbrt(r19872);
double r19874 = a;
double r19875 = log1p(r19874);
double r19876 = fmod(r19873, r19875);
return r19876;
}



Bits error versus a



Bits error versus c
Initial program 34.3
rmApplied add-cbrt-cube34.3
Simplified34.3
rmApplied cosh-def34.3
Simplified34.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)))