\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 -125686060.548979536 \lor \neg \left(x \le 753.359241553998686\right):\\
\;\;\;\;\frac{1}{2 \cdot x - \left(1.0056716002661501 \cdot \frac{1}{x} + 0.106240170046235 \cdot \frac{1}{{x}^{3}}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\sqrt{\left(\left(x \cdot \left({\left(x \cdot x\right)}^{3} \cdot {x}^{3}\right)\right) \cdot \left(8.32794500000000044 \cdot 10^{-4} + \left(x \cdot x\right) \cdot \left(2 \cdot 1.789971 \cdot 10^{-4}\right)\right) + \left(\left(x \cdot x\right) \cdot \left(0.77154710189999998 + 0.29097386390000002 \cdot \left(x \cdot x\right)\right) + 1\right)\right) + {x}^{6} \cdot \left(0.069455576099999999 + \left(x \cdot x\right) \cdot 0.014000544199999999\right)} \cdot \frac{\sqrt{\left(\left(x \cdot \left({\left(x \cdot x\right)}^{3} \cdot {x}^{3}\right)\right) \cdot \left(8.32794500000000044 \cdot 10^{-4} + \left(x \cdot x\right) \cdot \left(2 \cdot 1.789971 \cdot 10^{-4}\right)\right) + \left(\left(x \cdot x\right) \cdot \left(0.77154710189999998 + 0.29097386390000002 \cdot \left(x \cdot x\right)\right) + 1\right)\right) + {x}^{6} \cdot \left(0.069455576099999999 + \left(x \cdot x\right) \cdot 0.014000544199999999\right)}}{\left({\left(x \cdot x\right)}^{4} \cdot \left(5.0640340000000002 \cdot 10^{-4} + \left(x \cdot x\right) \cdot 1.789971 \cdot 10^{-4}\right) + \left(1 + 0.1049934947 \cdot \left(x \cdot x\right)\right)\right) + {x}^{4} \cdot \left(0.042406060400000001 + \left(x \cdot x\right) \cdot 0.00726441819999999999\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 <= -125686060.54897954) || !(x <= 753.3592415539987))) {
VAR = ((double) (1.0 / ((double) (((double) (2.0 * x)) - ((double) (((double) (1.00567160026615 * ((double) (1.0 / x)))) + ((double) (0.10624017004623454 * ((double) (1.0 / ((double) pow(x, 3.0))))))))))));
} else {
VAR = ((double) (x / ((double) (((double) sqrt(((double) (((double) (((double) (((double) (x * ((double) (((double) pow(((double) (x * x)), 3.0)) * ((double) pow(x, 3.0)))))) * ((double) (0.0008327945 + ((double) (((double) (x * x)) * ((double) (2.0 * 0.0001789971)))))))) + ((double) (((double) (((double) (x * x)) * ((double) (0.7715471019 + ((double) (0.2909738639 * ((double) (x * x)))))))) + 1.0)))) + ((double) (((double) pow(x, 6.0)) * ((double) (0.0694555761 + ((double) (((double) (x * x)) * 0.0140005442)))))))))) * ((double) (((double) sqrt(((double) (((double) (((double) (((double) (x * ((double) (((double) pow(((double) (x * x)), 3.0)) * ((double) pow(x, 3.0)))))) * ((double) (0.0008327945 + ((double) (((double) (x * x)) * ((double) (2.0 * 0.0001789971)))))))) + ((double) (((double) (((double) (x * x)) * ((double) (0.7715471019 + ((double) (0.2909738639 * ((double) (x * x)))))))) + 1.0)))) + ((double) (((double) pow(x, 6.0)) * ((double) (0.0694555761 + ((double) (((double) (x * x)) * 0.0140005442)))))))))) / ((double) (((double) (((double) (((double) pow(((double) (x * x)), 4.0)) * ((double) (0.0005064034 + ((double) (((double) (x * x)) * 0.0001789971)))))) + ((double) (1.0 + ((double) (0.1049934947 * ((double) (x * x)))))))) + ((double) (((double) pow(x, 4.0)) * ((double) (0.0424060604 + ((double) (((double) (x * x)) * 0.0072644182))))))))))))));
}
return VAR;
}



Bits error versus x
Results
if x < -125686060.54897954 or 753.3592415539987 < x Initial program 59.5
Simplified59.5
rmApplied clear-num59.5
Taylor expanded around inf 0.1
if -125686060.54897954 < x < 753.3592415539987Initial program 0.0
Simplified0.0
rmApplied *-un-lft-identity0.0
Applied add-sqr-sqrt0.0
Applied times-frac0.0
Simplified0.0
Final simplification0.1
herbie shell --seed 2020126
(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))