\mathsf{erf}\left(\left(\sin x\right)\right) + \log \left(\tan^{-1} x\right)\mathsf{erf}\left(\left(\sin x\right)\right) + \log \left(\tan^{-1} x\right)double code(double x) {
return ((double) (((double) erf(((double) sin(x)))) + ((double) log(((double) atan(x))))));
}
double code(double x) {
return ((double) (((double) erf(((double) sin(x)))) + ((double) log(((double) atan(x))))));
}



Bits error versus x
Results
Initial program 0.4
Final simplification0.4
herbie shell --seed 2020153
(FPCore (x)
:name "(+ (erf (sin x)) (log (atan x)))"
:precision binary64
(+ (erf (sin x)) (log (atan x))))