\sqrt{1 - x \cdot x}\sqrt{\frac{{1}^{3} - {\left(x \cdot x\right)}^{3}}{\mathsf{fma}\left({x}^{2}, {x}^{2} + 1, 1 \cdot 1\right)}}double code(double x) {
return sqrt((1.0 - (x * x)));
}
double code(double x) {
return sqrt(((pow(1.0, 3.0) - pow((x * x), 3.0)) / fma(pow(x, 2.0), (pow(x, 2.0) + 1.0), (1.0 * 1.0))));
}



Bits error versus x
Results
Initial program 0.0
rmApplied flip3--0.0
Applied sqrt-div0.0
rmApplied sqrt-undiv0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020078 +o rules:numerics
(FPCore (x)
:name "Diagrams.TwoD.Ellipse:ellipse from diagrams-lib-1.3.0.3"
:precision binary64
(sqrt (- 1 (* x x))))