\frac{\left(\left(\left(\left(1 + 0.1049934947 \cdot \left(x \cdot x\right)\right) + 0.042406060400000001 \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right) + 0.00726441819999999999 \cdot \left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)\right) + 5.0640340000000002 \cdot 10^{-4} \cdot \left(\left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)\right) + 1.789971 \cdot 10^{-4} \cdot \left(\left(\left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)}{\left(\left(\left(\left(\left(1 + 0.77154710189999998 \cdot \left(x \cdot x\right)\right) + 0.29097386390000002 \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right) + 0.069455576099999999 \cdot \left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)\right) + 0.014000544199999999 \cdot \left(\left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)\right) + 8.32794500000000044 \cdot 10^{-4} \cdot \left(\left(\left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)\right) + \left(2 \cdot 1.789971 \cdot 10^{-4}\right) \cdot \left(\left(\left(\left(\left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right) \cdot \left(x \cdot x\right)\right)} \cdot x\begin{array}{l}
\mathbf{if}\;x \le -786176.646586408955 \lor \neg \left(x \le 581.23776236449044\right):\\
\;\;\;\;\frac{0.25141790006653753}{{x}^{3}} + \left(\frac{0.1529819634592933}{{x}^{5}} + \frac{0.5}{x}\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\sqrt[3]{\left(\left(\left(\left(1 + 0.1049934947 \cdot \left(x \cdot x\right)\right) + 0.042406060400000001 \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right) + 0.00726441819999999999 \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right) + 5.0640340000000002 \cdot 10^{-4} \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right)\right) + 1.789971 \cdot 10^{-4} \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right)\right)} \cdot \sqrt[3]{\left(\left(\left(\left(1 + 0.1049934947 \cdot \left(x \cdot x\right)\right) + 0.042406060400000001 \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right) + 0.00726441819999999999 \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right) + 5.0640340000000002 \cdot 10^{-4} \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right)\right) + 1.789971 \cdot 10^{-4} \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(\left(x \cdot x\right) \cdot \left(x \cdot x\right)\right)\right)\right)\right)}\right) \cdot \left(x \cdot \frac{\sqrt[3]{\left(1 + 0.1049934947 \cdot \left(x \cdot x\right)\right) + \left(\left(0.042406060400000001 \cdot {x}^{4} + 0.00726441819999999999 \cdot {x}^{6}\right) + \left(5.0640340000000002 \cdot 10^{-4} \cdot {x}^{8} + 1.789971 \cdot 10^{-4} \cdot {x}^{10}\right)\right)}}{\left(1 + \left(x \cdot \left(x \cdot 0.77154710189999998\right) + {x}^{4} \cdot 0.29097386390000002\right)\right) + \left(\left({x}^{6} \cdot 0.069455576099999999 + {x}^{8} \cdot 0.014000544199999999\right) + \left({x}^{10} \cdot 8.32794500000000044 \cdot 10^{-4} + 1.789971 \cdot 10^{-4} \cdot \left(2 \cdot {x}^{12}\right)\right)\right)}\right)\\
\end{array}double code(double x) {
return ((double) (((double) (((double) (((double) (((double) (((double) (((double) (1.0 + ((double) (0.1049934947 * ((double) (x * x)))))) + ((double) (0.0424060604 * ((double) (((double) (x * x)) * ((double) (x * x)))))))) + ((double) (0.0072644182 * ((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))))))) + ((double) (0.0005064034 * ((double) (((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))))))) + ((double) (0.0001789971 * ((double) (((double) (((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))))))) / ((double) (((double) (((double) (((double) (((double) (((double) (1.0 + ((double) (0.7715471019 * ((double) (x * x)))))) + ((double) (0.2909738639 * ((double) (((double) (x * x)) * ((double) (x * x)))))))) + ((double) (0.0694555761 * ((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))))))) + ((double) (0.0140005442 * ((double) (((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))))))) + ((double) (0.0008327945 * ((double) (((double) (((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))))))) + ((double) (((double) (2.0 * 0.0001789971)) * ((double) (((double) (((double) (((double) (((double) (((double) (x * x)) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))) * ((double) (x * x)))))))))) * x));
}
double code(double x) {
double VAR;
if (((x <= -786176.646586409) || !(x <= 581.2377623644904))) {
VAR = ((double) (((double) (0.2514179000665375 / ((double) pow(x, 3.0)))) + ((double) (((double) (0.15298196345929327 / ((double) pow(x, 5.0)))) + ((double) (0.5 / x))))));
} else {
VAR = ((double) (((double) (((double) cbrt(((double) (((double) (((double) (((double) (((double) (1.0 + ((double) (0.1049934947 * ((double) (x * x)))))) + ((double) (0.0424060604 * ((double) (((double) (x * x)) * ((double) (x * x)))))))) + ((double) (0.0072644182 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))) + ((double) (0.0005064034 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))))) + ((double) (0.0001789971 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))))))))) * ((double) cbrt(((double) (((double) (((double) (((double) (((double) (1.0 + ((double) (0.1049934947 * ((double) (x * x)))))) + ((double) (0.0424060604 * ((double) (((double) (x * x)) * ((double) (x * x)))))))) + ((double) (0.0072644182 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))) + ((double) (0.0005064034 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))))) + ((double) (0.0001789971 * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (((double) (x * x)) * ((double) (x * x)))))))))))))))))) * ((double) (x * ((double) (((double) cbrt(((double) (((double) (1.0 + ((double) (0.1049934947 * ((double) (x * x)))))) + ((double) (((double) (((double) (0.0424060604 * ((double) pow(x, 4.0)))) + ((double) (0.0072644182 * ((double) pow(x, 6.0)))))) + ((double) (((double) (0.0005064034 * ((double) pow(x, 8.0)))) + ((double) (0.0001789971 * ((double) pow(x, 10.0)))))))))))) / ((double) (((double) (1.0 + ((double) (((double) (x * ((double) (x * 0.7715471019)))) + ((double) (((double) pow(x, 4.0)) * 0.2909738639)))))) + ((double) (((double) (((double) (((double) pow(x, 6.0)) * 0.0694555761)) + ((double) (((double) pow(x, 8.0)) * 0.0140005442)))) + ((double) (((double) (((double) pow(x, 10.0)) * 0.0008327945)) + ((double) (0.0001789971 * ((double) (2.0 * ((double) pow(x, 12.0))))))))))))))))));
}
return VAR;
}



Bits error versus x
Results
if x < -786176.646586408955 or 581.23776236449044 < x Initial program 58.9
Taylor expanded around inf 0.0
Simplified0.0
if -786176.646586408955 < x < 581.23776236449044Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied add-cube-cbrt0.0
Applied times-frac0.0
Applied associate-*l*0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020185
(FPCore (x)
:name "Jmat.Real.dawson"
:precision binary64
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x))