Math FPCore C Julia Wolfram TeX \[\frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \left(4 \cdot A\right) \cdot C\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C}
\]
↓
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_2 := \frac{\sqrt{2 \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)}}{t_1}\\
t_3 := t_2 \cdot \left(\sqrt{t_1} \cdot \left(-\sqrt{F}\right)\right)\\
t_4 := -\sqrt{F \cdot t_1}\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;C \leq -2.4 \cdot 10^{-293}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;C \leq 2.4 \cdot 10^{-214}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)} \cdot t_4}{t_1}\\
\mathbf{elif}\;C \leq 3.4 \cdot 10^{-63}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_4 \cdot t_2\\
\end{array}
\]
(FPCore (A B C F)
:precision binary64
(/
(-
(sqrt
(*
(* 2.0 (* (- (pow B 2.0) (* (* 4.0 A) C)) F))
(+ (+ A C) (sqrt (+ (pow (- A C) 2.0) (pow B 2.0)))))))
(- (pow B 2.0) (* (* 4.0 A) C)))) ↓
(FPCore (A B C F)
:precision binary64
(let* ((t_0 (fma B B (* C (* A -4.0))))
(t_1 (fma -4.0 (* C A) (* B B)))
(t_2 (/ (sqrt (* 2.0 (+ C (+ A (hypot B (- A C)))))) t_1))
(t_3 (* t_2 (* (sqrt t_1) (- (sqrt F)))))
(t_4 (- (sqrt (* F t_1)))))
(if (<= C -5.2e+21)
(/
(- (sqrt (* 2.0 (* t_0 (* F (+ A (+ A (/ (* -0.5 (* B B)) C))))))))
t_0)
(if (<= C -2.4e-293)
t_3
(if (<= C 2.4e-214)
(/ (* (sqrt (* 2.0 (fma 2.0 C (* -0.5 (/ (* B B) A))))) t_4) t_1)
(if (<= C 3.4e-63) t_3 (* t_4 t_2))))))) double code(double A, double B, double C, double F) {
return -sqrt(((2.0 * ((pow(B, 2.0) - ((4.0 * A) * C)) * F)) * ((A + C) + sqrt((pow((A - C), 2.0) + pow(B, 2.0)))))) / (pow(B, 2.0) - ((4.0 * A) * C));
}
↓
double code(double A, double B, double C, double F) {
double t_0 = fma(B, B, (C * (A * -4.0)));
double t_1 = fma(-4.0, (C * A), (B * B));
double t_2 = sqrt((2.0 * (C + (A + hypot(B, (A - C)))))) / t_1;
double t_3 = t_2 * (sqrt(t_1) * -sqrt(F));
double t_4 = -sqrt((F * t_1));
double tmp;
if (C <= -5.2e+21) {
tmp = -sqrt((2.0 * (t_0 * (F * (A + (A + ((-0.5 * (B * B)) / C))))))) / t_0;
} else if (C <= -2.4e-293) {
tmp = t_3;
} else if (C <= 2.4e-214) {
tmp = (sqrt((2.0 * fma(2.0, C, (-0.5 * ((B * B) / A))))) * t_4) / t_1;
} else if (C <= 3.4e-63) {
tmp = t_3;
} else {
tmp = t_4 * t_2;
}
return tmp;
}
function code(A, B, C, F)
return Float64(Float64(-sqrt(Float64(Float64(2.0 * Float64(Float64((B ^ 2.0) - Float64(Float64(4.0 * A) * C)) * F)) * Float64(Float64(A + C) + sqrt(Float64((Float64(A - C) ^ 2.0) + (B ^ 2.0))))))) / Float64((B ^ 2.0) - Float64(Float64(4.0 * A) * C)))
end
↓
function code(A, B, C, F)
t_0 = fma(B, B, Float64(C * Float64(A * -4.0)))
t_1 = fma(-4.0, Float64(C * A), Float64(B * B))
t_2 = Float64(sqrt(Float64(2.0 * Float64(C + Float64(A + hypot(B, Float64(A - C)))))) / t_1)
t_3 = Float64(t_2 * Float64(sqrt(t_1) * Float64(-sqrt(F))))
t_4 = Float64(-sqrt(Float64(F * t_1)))
tmp = 0.0
if (C <= -5.2e+21)
tmp = Float64(Float64(-sqrt(Float64(2.0 * Float64(t_0 * Float64(F * Float64(A + Float64(A + Float64(Float64(-0.5 * Float64(B * B)) / C)))))))) / t_0);
elseif (C <= -2.4e-293)
tmp = t_3;
elseif (C <= 2.4e-214)
tmp = Float64(Float64(sqrt(Float64(2.0 * fma(2.0, C, Float64(-0.5 * Float64(Float64(B * B) / A))))) * t_4) / t_1);
elseif (C <= 3.4e-63)
tmp = t_3;
else
tmp = Float64(t_4 * t_2);
end
return tmp
end
code[A_, B_, C_, F_] := N[((-N[Sqrt[N[(N[(2.0 * N[(N[(N[Power[B, 2.0], $MachinePrecision] - N[(N[(4.0 * A), $MachinePrecision] * C), $MachinePrecision]), $MachinePrecision] * F), $MachinePrecision]), $MachinePrecision] * N[(N[(A + C), $MachinePrecision] + N[Sqrt[N[(N[Power[N[(A - C), $MachinePrecision], 2.0], $MachinePrecision] + N[Power[B, 2.0], $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / N[(N[Power[B, 2.0], $MachinePrecision] - N[(N[(4.0 * A), $MachinePrecision] * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[A_, B_, C_, F_] := Block[{t$95$0 = N[(B * B + N[(C * N[(A * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(-4.0 * N[(C * A), $MachinePrecision] + N[(B * B), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[Sqrt[N[(2.0 * N[(C + N[(A + N[Sqrt[B ^ 2 + N[(A - C), $MachinePrecision] ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / t$95$1), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[Sqrt[t$95$1], $MachinePrecision] * (-N[Sqrt[F], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = (-N[Sqrt[N[(F * t$95$1), $MachinePrecision]], $MachinePrecision])}, If[LessEqual[C, -5.2e+21], N[((-N[Sqrt[N[(2.0 * N[(t$95$0 * N[(F * N[(A + N[(A + N[(N[(-0.5 * N[(B * B), $MachinePrecision]), $MachinePrecision] / C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$0), $MachinePrecision], If[LessEqual[C, -2.4e-293], t$95$3, If[LessEqual[C, 2.4e-214], N[(N[(N[Sqrt[N[(2.0 * N[(2.0 * C + N[(-0.5 * N[(N[(B * B), $MachinePrecision] / A), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * t$95$4), $MachinePrecision] / t$95$1), $MachinePrecision], If[LessEqual[C, 3.4e-63], t$95$3, N[(t$95$4 * t$95$2), $MachinePrecision]]]]]]]]]]
\frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \left(4 \cdot A\right) \cdot C\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C}
↓
\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_2 := \frac{\sqrt{2 \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)}}{t_1}\\
t_3 := t_2 \cdot \left(\sqrt{t_1} \cdot \left(-\sqrt{F}\right)\right)\\
t_4 := -\sqrt{F \cdot t_1}\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;C \leq -2.4 \cdot 10^{-293}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;C \leq 2.4 \cdot 10^{-214}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)} \cdot t_4}{t_1}\\
\mathbf{elif}\;C \leq 3.4 \cdot 10^{-63}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;t_4 \cdot t_2\\
\end{array}
Alternatives Alternative 1 Error 43.8 Cost 34580
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := -4 \cdot \left(C \cdot A\right)\\
t_2 := \mathsf{hypot}\left(B, A - C\right)\\
t_3 := A + \left(C + t_2\right)\\
t_4 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_5 := F \cdot \mathsf{fma}\left(B, B, t_1\right)\\
\mathbf{if}\;A \leq -2.2 \cdot 10^{+105}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{t_4}\\
\mathbf{elif}\;A \leq -38000000000:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B}{\frac{A}{B}}\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -8 \cdot 10^{-76}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot t_5\right)}}{t_0}\\
\mathbf{elif}\;A \leq -3 \cdot 10^{-88}:\\
\;\;\;\;{\left(\frac{t_4}{\sqrt{F} \cdot \left(B \cdot \sqrt{2 \cdot \left(t_2 + \left(C + A\right)\right)}\right)}\right)}^{-1}\\
\mathbf{elif}\;A \leq 4.8 \cdot 10^{-83}:\\
\;\;\;\;\sqrt{F \cdot t_4} \cdot \left(\sqrt{2 \cdot t_3} \cdot \frac{-1}{t_4}\right)\\
\mathbf{elif}\;A \leq 4 \cdot 10^{+47}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{t_3} \cdot \left(-\sqrt{2 \cdot t_5}\right)}{B \cdot B + t_1}\\
\end{array}
\]
Alternative 2 Error 43.7 Cost 34384
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := -4 \cdot \left(C \cdot A\right)\\
t_2 := A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)\\
t_3 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_4 := F \cdot \mathsf{fma}\left(B, B, t_1\right)\\
\mathbf{if}\;A \leq -2.15 \cdot 10^{+108}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{t_3}\\
\mathbf{elif}\;A \leq -1800000000:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B}{\frac{A}{B}}\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -9.6 \cdot 10^{-88}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot t_4\right)}}{t_0}\\
\mathbf{elif}\;A \leq 4.5 \cdot 10^{-82}:\\
\;\;\;\;\sqrt{2 \cdot t_2} \cdot \frac{\sqrt{F \cdot t_3}}{-t_3}\\
\mathbf{elif}\;A \leq 1.8 \cdot 10^{+48}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{t_2} \cdot \left(-\sqrt{2 \cdot t_4}\right)}{B \cdot B + t_1}\\
\end{array}
\]
Alternative 3 Error 43.7 Cost 28245
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := -4 \cdot \left(C \cdot A\right)\\
t_2 := F \cdot \mathsf{fma}\left(B, B, t_1\right)\\
\mathbf{if}\;A \leq -1.3 \cdot 10^{+105}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;A \leq -1300000000:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B}{\frac{A}{B}}\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -1.35 \cdot 10^{-87}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot t_2\right)}}{t_0}\\
\mathbf{elif}\;A \leq 1.6 \cdot 10^{-82} \lor \neg \left(A \leq 3.9 \cdot 10^{+47}\right):\\
\;\;\;\;\frac{\sqrt{A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(-\sqrt{2 \cdot t_2}\right)}{B \cdot B + t_1}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 4 Error 45.0 Cost 27984
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_1 := -4 \cdot \left(C \cdot A\right)\\
t_2 := F \cdot \mathsf{fma}\left(B, B, t_1\right)\\
\mathbf{if}\;A \leq -4 \cdot 10^{+108}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;A \leq -400000000:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B}{\frac{A}{B}}\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -1.7 \cdot 10^{-87}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot t_2\right)}}{t_0}\\
\mathbf{elif}\;A \leq 1.7 \cdot 10^{-91}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_0 \cdot \left(F \cdot \left(A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot t_2} \cdot \sqrt{A + A}}{B \cdot B + t_1}\\
\end{array}
\]
Alternative 5 Error 46.0 Cost 27856
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := B \cdot B + t_0\\
t_2 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_3 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_4 := -\frac{\sqrt{2 \cdot \left(\left(F \cdot t_1\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_1}\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_3 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_3}\\
\mathbf{elif}\;C \leq 3.1 \cdot 10^{-307}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;C \leq 1.35 \cdot 10^{-49}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{t_2}\\
\mathbf{elif}\;C \leq 2.8 \cdot 10^{+23}:\\
\;\;\;\;t_4\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)}}{t_2} \cdot \left(-\sqrt{F \cdot t_0}\right)\\
\end{array}
\]
Alternative 6 Error 46.0 Cost 27856
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_2 := \mathsf{hypot}\left(B, A - C\right)\\
t_3 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_4 := B \cdot B + t_0\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_3 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_3}\\
\mathbf{elif}\;C \leq 7.5 \cdot 10^{-307}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_3 \cdot \left(F \cdot \left(A + \left(C + t_2\right)\right)\right)\right)}}{t_3}\\
\mathbf{elif}\;C \leq 1.05 \cdot 10^{-45}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{t_1}\\
\mathbf{elif}\;C \leq 4.2 \cdot 10^{+21}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_4\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_4}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \left(C + \left(A + t_2\right)\right)}}{t_1} \cdot \left(-\sqrt{F \cdot t_0}\right)\\
\end{array}
\]
Alternative 7 Error 46.3 Cost 27856
\[\begin{array}{l}
t_0 := \mathsf{hypot}\left(B, A - C\right)\\
t_1 := C + \left(A + t_0\right)\\
t_2 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_3 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_4 := -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -7.4 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_2 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_2}\\
\mathbf{elif}\;C \leq 3.8 \cdot 10^{-307}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(t_2 \cdot F\right)\right)}}{-t_2}\\
\mathbf{elif}\;C \leq 3 \cdot 10^{-216}:\\
\;\;\;\;\frac{\sqrt{F \cdot t_3} \cdot \left(-\sqrt{2 \cdot \left(C \cdot 2\right)}\right)}{t_3}\\
\mathbf{elif}\;C \leq 9.5 \cdot 10^{-50}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \left(t_0 + \left(C + A\right)\right)}}{\frac{\mathsf{fma}\left(B, B, t_4\right)}{B \cdot \sqrt{F}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2 \cdot t_1}}{t_3} \cdot \left(-\sqrt{F \cdot t_4}\right)\\
\end{array}
\]
Alternative 8 Error 45.6 Cost 27665
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := B \cdot B + t_0\\
t_2 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_3 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
\mathbf{if}\;C \leq -2.2 \cdot 10^{+22}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_3 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_3}\\
\mathbf{elif}\;C \leq 7.5 \cdot 10^{-307}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_1\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_1}\\
\mathbf{elif}\;C \leq 1.06 \cdot 10^{-215} \lor \neg \left(C \leq 2.1 \cdot 10^{-70}\right):\\
\;\;\;\;\frac{\sqrt{F \cdot t_2} \cdot \left(-\sqrt{2 \cdot \left(C \cdot 2\right)}\right)}{t_2}\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2 \cdot \left(\mathsf{hypot}\left(B, A - C\right) + \left(C + A\right)\right)}}{\frac{\mathsf{fma}\left(B, B, t_0\right)}{B \cdot \sqrt{F}}}\\
\end{array}
\]
Alternative 9 Error 47.2 Cost 21584
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := B \cdot B + t_0\\
t_2 := -\frac{\sqrt{2 \cdot \left(\left(F \cdot t_1\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_1}\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot \left(F \cdot \mathsf{fma}\left(B, B, t_0\right)\right)\right)}}{\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)}\\
\mathbf{elif}\;C \leq 6.4 \cdot 10^{-307}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;C \leq 1.55 \cdot 10^{-45}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;C \leq 1.35 \cdot 10^{+28}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(-\sqrt{2 \cdot \left(-4 \cdot \left(F \cdot \left(C \cdot A\right)\right)\right)}\right)}{t_1}\\
\end{array}
\]
Alternative 10 Error 46.1 Cost 21584
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := \mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)\\
t_2 := -\frac{\sqrt{2 \cdot \left(\left(F \cdot t_0\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_0}\\
\mathbf{if}\;C \leq -6.8 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_1 \cdot \left(F \cdot \left(A + \left(A + \frac{-0.5 \cdot \left(B \cdot B\right)}{C}\right)\right)\right)\right)}}{t_1}\\
\mathbf{elif}\;C \leq 7.5 \cdot 10^{-307}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;C \leq 1.15 \cdot 10^{-48}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;C \leq 3.6 \cdot 10^{+24}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(-\sqrt{2 \cdot \left(-4 \cdot \left(F \cdot \left(C \cdot A\right)\right)\right)}\right)}{t_0}\\
\end{array}
\]
Alternative 11 Error 46.1 Cost 21520
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot \mathsf{fma}\left(B, B, t_0\right)\\
t_2 := B \cdot B + t_0\\
t_3 := -\frac{\sqrt{2 \cdot \left(\left(F \cdot t_2\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_2}\\
\mathbf{if}\;C \leq -5.8 \cdot 10^{+21}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot t_1\right)}}{\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)}\\
\mathbf{elif}\;C \leq 6 \cdot 10^{-307}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;C \leq 1.05 \cdot 10^{-46}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;C \leq 1.85 \cdot 10^{+95}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;\frac{\sqrt{2 \cdot t_1} \cdot \left(-\sqrt{A + C \cdot 2}\right)}{t_2}\\
\end{array}
\]
Alternative 12 Error 44.9 Cost 21128
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := B \cdot B + t_0\\
\mathbf{if}\;A \leq -6.3 \cdot 10^{-96}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;A \leq 4.1 \cdot 10^{-91}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_1\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_1}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \mathsf{fma}\left(B, B, t_0\right)\right)} \cdot \sqrt{A + A}}{t_1}\\
\end{array}
\]
Alternative 13 Error 47.7 Cost 20868
\[\begin{array}{l}
t_0 := -4 \cdot \left(C \cdot A\right)\\
t_1 := B \cdot B + t_0\\
\mathbf{if}\;C \leq -6.8 \cdot 10^{+21}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(2 \cdot A\right) \cdot \left(F \cdot \mathsf{fma}\left(B, B, t_0\right)\right)\right)}}{\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right)}\\
\mathbf{elif}\;C \leq 7.5 \cdot 10^{-307} \lor \neg \left(C \leq 6 \cdot 10^{-49}\right):\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_1\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_1}\\
\mathbf{else}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\end{array}
\]
Alternative 14 Error 47.6 Cost 20621
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -1.42 \cdot 10^{+22}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right) \cdot \left(F \cdot \left(A + A\right)\right)\right)}}{A \cdot \left(C \cdot -4\right)}\\
\mathbf{elif}\;C \leq 7.5 \cdot 10^{-307} \lor \neg \left(C \leq 5.8 \cdot 10^{-48}\right):\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_0\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{C \cdot \left(\sqrt{F} \cdot \left(-\sqrt{A \cdot -16}\right)\right)}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\end{array}
\]
Alternative 15 Error 47.8 Cost 20356
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;A \leq -1.36 \cdot 10^{-95}:\\
\;\;\;\;\frac{\sqrt{A \cdot -16}}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)} \cdot \left(\sqrt{F} \cdot \left(-C\right)\right)\\
\mathbf{elif}\;A \leq 3.1 \cdot 10^{-89}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_0\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right) \cdot \left(F \cdot \left(A + A\right)\right)\right)}}{A \cdot \left(C \cdot -4\right)}\\
\end{array}
\]
Alternative 16 Error 45.5 Cost 15044
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -5.2 \cdot 10^{+21}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right) \cdot \left(F \cdot \left(A + A\right)\right)\right)}}{A \cdot \left(C \cdot -4\right)}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_0\right) \cdot \left(\left(C + A\right) + \mathsf{hypot}\left(A - C, B\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 17 Error 51.3 Cost 14925
\[\begin{array}{l}
\mathbf{if}\;A \leq -1.25 \cdot 10^{+25}:\\
\;\;\;\;-\frac{\sqrt{F \cdot \left(-16 \cdot \left(A \cdot \left(C \cdot C\right)\right)\right)}}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
\mathbf{elif}\;A \leq -1.6 \cdot 10^{-87} \lor \neg \left(A \leq 1.7 \cdot 10^{-105}\right):\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right) \cdot \left(F \cdot \left(A + A\right)\right)\right)}}{A \cdot \left(C \cdot -4\right)}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{\left(A + \left(C + \mathsf{hypot}\left(B, A - C\right)\right)\right) \cdot \left(2 \cdot \left(B \cdot \left(B \cdot F\right)\right)\right)}}{B \cdot B + -4 \cdot \left(C \cdot A\right)}\\
\end{array}
\]
Alternative 18 Error 53.2 Cost 14348
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot t_0\\
t_2 := \frac{-\sqrt{-16 \cdot \left(A \cdot \left(F \cdot \left(C \cdot C\right)\right)\right)}}{\mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)}\\
t_3 := \frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{if}\;A \leq -2.5 \cdot 10^{+45}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;A \leq -2 \cdot 10^{-55}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;A \leq -3.5 \cdot 10^{-92}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;A \leq -4 \cdot 10^{-130}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(\left(C + A\right) + \left(-0.5 \cdot \frac{A \cdot A}{B} - B\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq 1.95 \cdot 10^{-156}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(B + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq 2.95 \cdot 10^{+54}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 19 Error 53.1 Cost 14348
\[\begin{array}{l}
t_0 := \mathsf{fma}\left(-4, C \cdot A, B \cdot B\right)\\
t_1 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_2 := F \cdot t_1\\
t_3 := \frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_1}\\
\mathbf{if}\;A \leq -2.3 \cdot 10^{+47}:\\
\;\;\;\;-\frac{\sqrt{F \cdot \left(-16 \cdot \left(A \cdot \left(C \cdot C\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -2.1 \cdot 10^{-55}:\\
\;\;\;\;t_3\\
\mathbf{elif}\;A \leq -4 \cdot 10^{-93}:\\
\;\;\;\;\frac{-\sqrt{-16 \cdot \left(A \cdot \left(F \cdot \left(C \cdot C\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq -1.65 \cdot 10^{-134}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_2 \cdot \left(\left(C + A\right) + \left(-0.5 \cdot \frac{A \cdot A}{B} - B\right)\right)\right)}}{t_1}\\
\mathbf{elif}\;A \leq 2.1 \cdot 10^{-156}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_2 \cdot \left(B + \left(C + A\right)\right)\right)}}{t_1}\\
\mathbf{elif}\;A \leq 6.1 \cdot 10^{+54}:\\
\;\;\;\;t_3\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_2 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_1}\\
\end{array}
\]
Alternative 20 Error 51.7 Cost 14340
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot t_0\\
\mathbf{if}\;C \leq -2.8 \cdot 10^{-86}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\mathsf{fma}\left(B, B, C \cdot \left(A \cdot -4\right)\right) \cdot \left(F \cdot \left(A + A\right)\right)\right)}}{A \cdot \left(C \cdot -4\right)}\\
\mathbf{elif}\;C \leq -2 \cdot 10^{-216}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(B + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;C \leq 4600000:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_1 \cdot \left(\left(C + A\right) + \left(C - A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 21 Error 54.9 Cost 8716
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot t_0\\
t_2 := \frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{if}\;A \leq -1.85 \cdot 10^{-130}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;A \leq 1.7 \cdot 10^{-157}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(B + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;A \leq 2.95 \cdot 10^{+51}:\\
\;\;\;\;t_2\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 22 Error 52.8 Cost 8712
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot t_0\\
\mathbf{if}\;C \leq -60:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;C \leq 4600000:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(t_1 \cdot \left(\left(C + A\right) + \left(C - A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 23 Error 52.7 Cost 8584
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
t_1 := F \cdot t_0\\
\mathbf{if}\;C \leq -1160:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{elif}\;C \leq 4.1 \cdot 10^{-20}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(C + \left(C + A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 24 Error 55.3 Cost 8452
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -61:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(\left(F \cdot t_0\right) \cdot \left(A + \left(C + A\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 25 Error 56.5 Cost 8196
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -60:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-4 \cdot \left(A \cdot \left(C \cdot \left(F \cdot \left(C + 2 \cdot A\right)\right)\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 26 Error 56.3 Cost 8196
\[\begin{array}{l}
t_0 := B \cdot B + -4 \cdot \left(C \cdot A\right)\\
\mathbf{if}\;C \leq -560:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{t_0}\\
\mathbf{else}:\\
\;\;\;\;\frac{-\sqrt{2 \cdot \left(\left(A + \left(C + A\right)\right) \cdot \left(-4 \cdot \left(F \cdot \left(C \cdot A\right)\right)\right)\right)}}{t_0}\\
\end{array}
\]
Alternative 27 Error 58.0 Cost 7808
\[\frac{-\sqrt{2 \cdot \left(-8 \cdot \left(\left(A \cdot A\right) \cdot \left(C \cdot F\right)\right)\right)}}{B \cdot B + -4 \cdot \left(C \cdot A\right)}
\]
Alternative 28 Error 61.3 Cost 6976
\[-2 \cdot \sqrt{F \cdot \frac{A}{B \cdot B}}
\]
Alternative 29 Error 62.0 Cost 6848
\[-2 \cdot \frac{\sqrt{A \cdot F}}{B}
\]
Alternative 30 Error 62.1 Cost 6848
\[2 \cdot \frac{\sqrt{A \cdot F}}{B}
\]