ABCF->ab-angle a

Percentage Accurate: 18.9% → 54.3%
Time: 37.3s
Alternatives: 18
Speedup: 5.1×

Specification

?
\[\begin{array}{l} \\ \begin{array}{l} t_0 := {B}^{2} - \left(4 \cdot A\right) \cdot C\\ \frac{-\sqrt{\left(2 \cdot \left(t_0 \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{t_0} \end{array} \end{array} \]
(FPCore (A B C F)
 :precision binary64
 (let* ((t_0 (- (pow B 2.0) (* (* 4.0 A) C))))
   (/
    (-
     (sqrt
      (*
       (* 2.0 (* t_0 F))
       (+ (+ A C) (sqrt (+ (pow (- A C) 2.0) (pow B 2.0)))))))
    t_0)))
double code(double A, double B, double C, double F) {
	double t_0 = pow(B, 2.0) - ((4.0 * A) * C);
	return -sqrt(((2.0 * (t_0 * F)) * ((A + C) + sqrt((pow((A - C), 2.0) + pow(B, 2.0)))))) / t_0;
}
real(8) function code(a, b, c, f)
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: f
    real(8) :: t_0
    t_0 = (b ** 2.0d0) - ((4.0d0 * a) * c)
    code = -sqrt(((2.0d0 * (t_0 * f)) * ((a + c) + sqrt((((a - c) ** 2.0d0) + (b ** 2.0d0)))))) / t_0
end function
public static double code(double A, double B, double C, double F) {
	double t_0 = Math.pow(B, 2.0) - ((4.0 * A) * C);
	return -Math.sqrt(((2.0 * (t_0 * F)) * ((A + C) + Math.sqrt((Math.pow((A - C), 2.0) + Math.pow(B, 2.0)))))) / t_0;
}
def code(A, B, C, F):
	t_0 = math.pow(B, 2.0) - ((4.0 * A) * C)
	return -math.sqrt(((2.0 * (t_0 * F)) * ((A + C) + math.sqrt((math.pow((A - C), 2.0) + math.pow(B, 2.0)))))) / t_0
function code(A, B, C, F)
	t_0 = Float64((B ^ 2.0) - Float64(Float64(4.0 * A) * C))
	return Float64(Float64(-sqrt(Float64(Float64(2.0 * Float64(t_0 * F)) * Float64(Float64(A + C) + sqrt(Float64((Float64(A - C) ^ 2.0) + (B ^ 2.0))))))) / t_0)
end
function tmp = code(A, B, C, F)
	t_0 = (B ^ 2.0) - ((4.0 * A) * C);
	tmp = -sqrt(((2.0 * (t_0 * F)) * ((A + C) + sqrt((((A - C) ^ 2.0) + (B ^ 2.0)))))) / t_0;
end
code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Power[B, 2.0], $MachinePrecision] - N[(N[(4.0 * A), $MachinePrecision] * C), $MachinePrecision]), $MachinePrecision]}, N[((-N[Sqrt[N[(N[(2.0 * N[(t$95$0 * 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]) / t$95$0), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := {B}^{2} - \left(4 \cdot A\right) \cdot C\\
\frac{-\sqrt{\left(2 \cdot \left(t_0 \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{t_0}
\end{array}
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 18 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 18.9% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := {B}^{2} - \left(4 \cdot A\right) \cdot C\\ \frac{-\sqrt{\left(2 \cdot \left(t_0 \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{t_0} \end{array} \end{array} \]
(FPCore (A B C F)
 :precision binary64
 (let* ((t_0 (- (pow B 2.0) (* (* 4.0 A) C))))
   (/
    (-
     (sqrt
      (*
       (* 2.0 (* t_0 F))
       (+ (+ A C) (sqrt (+ (pow (- A C) 2.0) (pow B 2.0)))))))
    t_0)))
double code(double A, double B, double C, double F) {
	double t_0 = pow(B, 2.0) - ((4.0 * A) * C);
	return -sqrt(((2.0 * (t_0 * F)) * ((A + C) + sqrt((pow((A - C), 2.0) + pow(B, 2.0)))))) / t_0;
}
real(8) function code(a, b, c, f)
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8), intent (in) :: f
    real(8) :: t_0
    t_0 = (b ** 2.0d0) - ((4.0d0 * a) * c)
    code = -sqrt(((2.0d0 * (t_0 * f)) * ((a + c) + sqrt((((a - c) ** 2.0d0) + (b ** 2.0d0)))))) / t_0
end function
public static double code(double A, double B, double C, double F) {
	double t_0 = Math.pow(B, 2.0) - ((4.0 * A) * C);
	return -Math.sqrt(((2.0 * (t_0 * F)) * ((A + C) + Math.sqrt((Math.pow((A - C), 2.0) + Math.pow(B, 2.0)))))) / t_0;
}
def code(A, B, C, F):
	t_0 = math.pow(B, 2.0) - ((4.0 * A) * C)
	return -math.sqrt(((2.0 * (t_0 * F)) * ((A + C) + math.sqrt((math.pow((A - C), 2.0) + math.pow(B, 2.0)))))) / t_0
function code(A, B, C, F)
	t_0 = Float64((B ^ 2.0) - Float64(Float64(4.0 * A) * C))
	return Float64(Float64(-sqrt(Float64(Float64(2.0 * Float64(t_0 * F)) * Float64(Float64(A + C) + sqrt(Float64((Float64(A - C) ^ 2.0) + (B ^ 2.0))))))) / t_0)
end
function tmp = code(A, B, C, F)
	t_0 = (B ^ 2.0) - ((4.0 * A) * C);
	tmp = -sqrt(((2.0 * (t_0 * F)) * ((A + C) + sqrt((((A - C) ^ 2.0) + (B ^ 2.0)))))) / t_0;
end
code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Power[B, 2.0], $MachinePrecision] - N[(N[(4.0 * A), $MachinePrecision] * C), $MachinePrecision]), $MachinePrecision]}, N[((-N[Sqrt[N[(N[(2.0 * N[(t$95$0 * 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]) / t$95$0), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := {B}^{2} - \left(4 \cdot A\right) \cdot C\\
\frac{-\sqrt{\left(2 \cdot \left(t_0 \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{{\left(A - C\right)}^{2} + {B}^{2}}\right)}}{t_0}
\end{array}
\end{array}

Alternative 1: 54.3% accurate, 1.2× speedup?

\[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\\ t_1 := \mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)\\ t_2 := -4 \cdot \left(A \cdot C\right)\\ t_3 := \frac{\sqrt{2}}{B}\\ t_4 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\ \mathbf{if}\;B \leq -2 \cdot 10^{+153}:\\ \;\;\;\;t_3 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -3.1 \cdot 10^{+84}:\\ \;\;\;\;t_3 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(\sqrt{t_0} \cdot \frac{1}{\mathsf{fma}\left(B, B, t_2\right)}\right)\\ \mathbf{elif}\;B \leq -1.25 \cdot 10^{-82}:\\ \;\;\;\;-\frac{\sqrt{\left(2 \cdot \left(F \cdot t_4\right)\right) \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)}}{t_4}\\ \mathbf{elif}\;B \leq -9.6 \cdot 10^{-98}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(F \cdot t_0\right)\right)}}{t_1}\\ \mathbf{elif}\;B \leq 0.0068:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + t_2\right)\right)} \cdot \sqrt{2 \cdot C}}{t_4}\\ \mathbf{else}:\\ \;\;\;\;t_3 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \end{array} \]
NOTE: A and C should be sorted in increasing order before calling this function.
(FPCore (A B C F)
 :precision binary64
 (let* ((t_0 (+ C (+ A (hypot B (- A C)))))
        (t_1 (fma C (* A -4.0) (* B B)))
        (t_2 (* -4.0 (* A C)))
        (t_3 (/ (sqrt 2.0) B))
        (t_4 (- (* B B) (* 4.0 (* A C)))))
   (if (<= B -2e+153)
     (* t_3 (* (sqrt (+ A (hypot A B))) (sqrt F)))
     (if (<= B -3.1e+84)
       (* t_3 (sqrt (* F (/ (- (* B B)) (- A (hypot A B))))))
       (if (<= B -1.9e+51)
         (* (* (sqrt 2.0) (* B (sqrt F))) (* (sqrt t_0) (/ 1.0 (fma B B t_2))))
         (if (<= B -1.25e-82)
           (-
            (/
             (sqrt (* (* 2.0 (* F t_4)) (fma 2.0 C (* -0.5 (/ (* B B) A)))))
             t_4))
           (if (<= B -9.6e-98)
             (- (/ (sqrt (* 2.0 (* t_1 (* F t_0)))) t_1))
             (if (<= B 0.0068)
               (-
                (/
                 (* (sqrt (* 2.0 (* F (+ (* B B) t_2)))) (sqrt (* 2.0 C)))
                 t_4))
               (* t_3 (* (sqrt (+ C (hypot C B))) (- (sqrt F))))))))))))
assert(A < C);
double code(double A, double B, double C, double F) {
	double t_0 = C + (A + hypot(B, (A - C)));
	double t_1 = fma(C, (A * -4.0), (B * B));
	double t_2 = -4.0 * (A * C);
	double t_3 = sqrt(2.0) / B;
	double t_4 = (B * B) - (4.0 * (A * C));
	double tmp;
	if (B <= -2e+153) {
		tmp = t_3 * (sqrt((A + hypot(A, B))) * sqrt(F));
	} else if (B <= -3.1e+84) {
		tmp = t_3 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
	} else if (B <= -1.9e+51) {
		tmp = (sqrt(2.0) * (B * sqrt(F))) * (sqrt(t_0) * (1.0 / fma(B, B, t_2)));
	} else if (B <= -1.25e-82) {
		tmp = -(sqrt(((2.0 * (F * t_4)) * fma(2.0, C, (-0.5 * ((B * B) / A))))) / t_4);
	} else if (B <= -9.6e-98) {
		tmp = -(sqrt((2.0 * (t_1 * (F * t_0)))) / t_1);
	} else if (B <= 0.0068) {
		tmp = -((sqrt((2.0 * (F * ((B * B) + t_2)))) * sqrt((2.0 * C))) / t_4);
	} else {
		tmp = t_3 * (sqrt((C + hypot(C, B))) * -sqrt(F));
	}
	return tmp;
}
A, C = sort([A, C])
function code(A, B, C, F)
	t_0 = Float64(C + Float64(A + hypot(B, Float64(A - C))))
	t_1 = fma(C, Float64(A * -4.0), Float64(B * B))
	t_2 = Float64(-4.0 * Float64(A * C))
	t_3 = Float64(sqrt(2.0) / B)
	t_4 = Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))
	tmp = 0.0
	if (B <= -2e+153)
		tmp = Float64(t_3 * Float64(sqrt(Float64(A + hypot(A, B))) * sqrt(F)));
	elseif (B <= -3.1e+84)
		tmp = Float64(t_3 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))));
	elseif (B <= -1.9e+51)
		tmp = Float64(Float64(sqrt(2.0) * Float64(B * sqrt(F))) * Float64(sqrt(t_0) * Float64(1.0 / fma(B, B, t_2))));
	elseif (B <= -1.25e-82)
		tmp = Float64(-Float64(sqrt(Float64(Float64(2.0 * Float64(F * t_4)) * fma(2.0, C, Float64(-0.5 * Float64(Float64(B * B) / A))))) / t_4));
	elseif (B <= -9.6e-98)
		tmp = Float64(-Float64(sqrt(Float64(2.0 * Float64(t_1 * Float64(F * t_0)))) / t_1));
	elseif (B <= 0.0068)
		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + t_2)))) * sqrt(Float64(2.0 * C))) / t_4));
	else
		tmp = Float64(t_3 * Float64(sqrt(Float64(C + hypot(C, B))) * Float64(-sqrt(F))));
	end
	return tmp
end
NOTE: A and C should be sorted in increasing order before calling this function.
code[A_, B_, C_, F_] := Block[{t$95$0 = N[(C + N[(A + N[Sqrt[B ^ 2 + N[(A - C), $MachinePrecision] ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(C * N[(A * -4.0), $MachinePrecision] + N[(B * B), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, Block[{t$95$4 = N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[B, -2e+153], N[(t$95$3 * N[(N[Sqrt[N[(A + N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -3.1e+84], N[(t$95$3 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -1.9e+51], N[(N[(N[Sqrt[2.0], $MachinePrecision] * N[(B * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(N[Sqrt[t$95$0], $MachinePrecision] * N[(1.0 / N[(B * B + t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -1.25e-82], (-N[(N[Sqrt[N[(N[(2.0 * N[(F * t$95$4), $MachinePrecision]), $MachinePrecision] * N[(2.0 * C + N[(-0.5 * N[(N[(B * B), $MachinePrecision] / A), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / t$95$4), $MachinePrecision]), If[LessEqual[B, -9.6e-98], (-N[(N[Sqrt[N[(2.0 * N[(t$95$1 * N[(F * t$95$0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / t$95$1), $MachinePrecision]), If[LessEqual[B, 0.0068], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t$95$4), $MachinePrecision]), N[(t$95$3 * N[(N[Sqrt[N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * (-N[Sqrt[F], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]
\begin{array}{l}
[A, C] = \mathsf{sort}([A, C])\\
\\
\begin{array}{l}
t_0 := C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\\
t_1 := \mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)\\
t_2 := -4 \cdot \left(A \cdot C\right)\\
t_3 := \frac{\sqrt{2}}{B}\\
t_4 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\
\mathbf{if}\;B \leq -2 \cdot 10^{+153}:\\
\;\;\;\;t_3 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\

\mathbf{elif}\;B \leq -3.1 \cdot 10^{+84}:\\
\;\;\;\;t_3 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\

\mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\
\;\;\;\;\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(\sqrt{t_0} \cdot \frac{1}{\mathsf{fma}\left(B, B, t_2\right)}\right)\\

\mathbf{elif}\;B \leq -1.25 \cdot 10^{-82}:\\
\;\;\;\;-\frac{\sqrt{\left(2 \cdot \left(F \cdot t_4\right)\right) \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)}}{t_4}\\

\mathbf{elif}\;B \leq -9.6 \cdot 10^{-98}:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(t_1 \cdot \left(F \cdot t_0\right)\right)}}{t_1}\\

\mathbf{elif}\;B \leq 0.0068:\\
\;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + t_2\right)\right)} \cdot \sqrt{2 \cdot C}}{t_4}\\

\mathbf{else}:\\
\;\;\;\;t_3 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 7 regimes
  2. if B < -2e153

    1. Initial program 0.0%

      \[\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} \]
    2. Step-by-step derivation
      1. associate-*l*0.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
      2. unpow20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
      3. +-commutative0.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      4. unpow20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      5. associate-*l*0.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
      6. unpow20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
    3. Simplified0.0%

      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
    4. Step-by-step derivation
      1. sqrt-prod0.0%

        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      2. *-commutative0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      3. *-commutative0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      4. associate-+l+0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      5. unpow20.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      6. hypot-udef0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      7. associate-+r+0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      8. +-commutative0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      9. associate-+r+0.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    5. Applied egg-rr0.0%

      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    6. Taylor expanded in B around -inf 1.6%

      \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg1.6%

        \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    8. Simplified1.6%

      \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    9. Taylor expanded in C around 0 2.6%

      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
    10. Step-by-step derivation
      1. +-commutative2.6%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
      2. unpow22.6%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
      3. unpow22.6%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
      4. hypot-def39.3%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
    11. Simplified39.3%

      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
    12. Step-by-step derivation
      1. sqrt-prod83.4%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]
    13. Applied egg-rr83.4%

      \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]

    if -2e153 < B < -3.10000000000000003e84

    1. Initial program 20.0%

      \[\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} \]
    2. Step-by-step derivation
      1. associate-*l*20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
      2. unpow220.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
      3. +-commutative20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      4. unpow220.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      5. associate-*l*20.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
      6. unpow220.0%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
    3. Simplified20.0%

      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
    4. Step-by-step derivation
      1. sqrt-prod31.2%

        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      2. *-commutative31.2%

        \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      3. *-commutative31.2%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      4. associate-+l+31.2%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      5. unpow231.2%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      6. hypot-udef31.5%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      7. associate-+r+31.4%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      8. +-commutative31.4%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      9. associate-+r+30.9%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    5. Applied egg-rr30.9%

      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    6. Taylor expanded in B around -inf 53.8%

      \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg53.8%

        \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    8. Simplified53.8%

      \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    9. Taylor expanded in C around 0 54.7%

      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
    10. Step-by-step derivation
      1. +-commutative54.7%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
      2. unpow254.7%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
      3. unpow254.7%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
      4. hypot-def55.1%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
    11. Simplified55.1%

      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
    12. Step-by-step derivation
      1. flip-+54.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
      2. hypot-udef54.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      3. hypot-udef54.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      4. add-sqr-sqrt54.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
    13. Applied egg-rr54.5%

      \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
    14. Step-by-step derivation
      1. unpow254.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      2. unpow254.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      3. unpow254.5%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      4. associate--r+65.6%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      5. +-inverses77.3%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
      6. unpow277.3%

        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
    15. Simplified77.3%

      \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

    if -3.10000000000000003e84 < B < -1.8999999999999999e51

    1. Initial program 25.2%

      \[\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} \]
    2. Step-by-step derivation
      1. associate-*l*25.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
      2. unpow225.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
      3. +-commutative25.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      4. unpow225.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      5. associate-*l*25.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
      6. unpow225.2%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
    3. Simplified25.2%

      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
    4. Step-by-step derivation
      1. sqrt-prod25.0%

        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      2. *-commutative25.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      3. *-commutative25.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      4. associate-+l+25.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      5. unpow225.0%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      6. hypot-udef25.6%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      7. associate-+r+25.6%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      8. +-commutative25.6%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      9. associate-+r+25.8%

        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    5. Applied egg-rr25.8%

      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    6. Taylor expanded in B around -inf 71.0%

      \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    7. Step-by-step derivation
      1. mul-1-neg71.0%

        \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    8. Simplified71.0%

      \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    9. Step-by-step derivation
      1. div-inv71.0%

        \[\leadsto \color{blue}{\left(-\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right) \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right) \cdot \frac{1}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
      2. distribute-rgt-neg-in71.0%

        \[\leadsto \color{blue}{\left(\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)} \cdot \frac{1}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      3. associate-*l*71.2%

        \[\leadsto \left(\left(-\color{blue}{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      4. cancel-sign-sub-inv71.2%

        \[\leadsto \left(\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{\color{blue}{B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)}} \]
      5. metadata-eval71.2%

        \[\leadsto \left(\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)} \]
      6. *-commutative71.2%

        \[\leadsto \left(\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{B \cdot B + -4 \cdot \color{blue}{\left(C \cdot A\right)}} \]
      7. fma-def71.2%

        \[\leadsto \left(\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{\color{blue}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}} \]
    10. Applied egg-rr71.2%

      \[\leadsto \color{blue}{\left(\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right) \cdot \frac{1}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}} \]
    11. Step-by-step derivation
      1. associate-*l*81.6%

        \[\leadsto \color{blue}{\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right) \cdot \frac{1}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}\right)} \]
      2. distribute-rgt-neg-in81.6%

        \[\leadsto \color{blue}{\left(\sqrt{2} \cdot \left(-B \cdot \sqrt{F}\right)\right)} \cdot \left(\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right) \cdot \frac{1}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}\right) \]
    12. Simplified81.6%

      \[\leadsto \color{blue}{\left(\sqrt{2} \cdot \left(-B \cdot \sqrt{F}\right)\right) \cdot \left(\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right) \cdot \frac{1}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}\right)} \]

    if -1.8999999999999999e51 < B < -1.25e-82

    1. Initial program 20.8%

      \[\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} \]
    2. Step-by-step derivation
      1. associate-*l*20.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
      2. unpow220.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
      3. +-commutative20.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      4. unpow220.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
      5. associate-*l*20.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
      6. unpow220.8%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
    3. Simplified20.8%

      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
    4. Taylor expanded in A around -inf 30.9%

      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C + -0.5 \cdot \frac{{B}^{2}}{A}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    5. Step-by-step derivation
      1. fma-def30.9%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\mathsf{fma}\left(2, C, -0.5 \cdot \frac{{B}^{2}}{A}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      2. unpow230.9%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{\color{blue}{B \cdot B}}{A}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
    6. Simplified30.9%

      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

    if -1.25e-82 < B < -9.60000000000000019e-98

    1. Initial program 82.8%

      \[\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} \]
    2. Step-by-step derivation
      1. Simplified84.3%

        \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
      2. Step-by-step derivation
        1. distribute-frac-neg84.3%

          \[\leadsto \color{blue}{-\frac{\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
        2. associate-*l*84.9%

          \[\leadsto -\frac{\sqrt{2 \cdot \color{blue}{\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot \left(F \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)\right)}}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)} \]
      3. Applied egg-rr84.9%

        \[\leadsto \color{blue}{-\frac{\sqrt{2 \cdot \left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot \left(F \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]

      if -9.60000000000000019e-98 < B < 0.00679999999999999962

      1. Initial program 19.6%

        \[\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} \]
      2. Step-by-step derivation
        1. associate-*l*19.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
        2. unpow219.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
        3. +-commutative19.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
        4. unpow219.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
        5. associate-*l*19.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
        6. unpow219.6%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
      3. Simplified19.6%

        \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
      4. Taylor expanded in A around -inf 15.6%

        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      5. Step-by-step derivation
        1. sqrt-prod16.5%

          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        2. *-commutative16.5%

          \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        3. cancel-sign-sub-inv16.5%

          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        4. *-commutative16.5%

          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. metadata-eval16.5%

          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
      6. Applied egg-rr16.5%

        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

      if 0.00679999999999999962 < B

      1. Initial program 14.4%

        \[\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} \]
      2. Step-by-step derivation
        1. Simplified17.6%

          \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
        2. Taylor expanded in A around 0 24.2%

          \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
        3. Step-by-step derivation
          1. mul-1-neg24.2%

            \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
          2. *-commutative24.2%

            \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
          3. distribute-rgt-neg-in24.2%

            \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
          4. *-commutative24.2%

            \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          5. unpow224.2%

            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          6. unpow224.2%

            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          7. hypot-def45.8%

            \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
        4. Simplified45.8%

          \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
        5. Step-by-step derivation
          1. sqrt-prod58.8%

            \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
        6. Applied egg-rr58.8%

          \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
        7. Step-by-step derivation
          1. hypot-def27.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\sqrt{B \cdot B + C \cdot C}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          2. unpow227.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{B}^{2}} + C \cdot C}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          3. unpow227.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{{B}^{2} + \color{blue}{{C}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          4. +-commutative27.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          5. unpow227.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          6. unpow227.4%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          7. hypot-def58.8%

            \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\mathsf{hypot}\left(C, B\right)}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
        8. Simplified58.8%

          \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(C, B\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
      3. Recombined 7 regimes into one program.
      4. Final simplification45.2%

        \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2 \cdot 10^{+153}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -3.1 \cdot 10^{+84}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \frac{1}{\mathsf{fma}\left(B, B, -4 \cdot \left(A \cdot C\right)\right)}\right)\\ \mathbf{elif}\;B \leq -1.25 \cdot 10^{-82}:\\ \;\;\;\;-\frac{\sqrt{\left(2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)\right) \cdot \mathsf{fma}\left(2, C, -0.5 \cdot \frac{B \cdot B}{A}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -9.6 \cdot 10^{-98}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot \left(F \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}\\ \mathbf{elif}\;B \leq 0.0068:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \]

      Alternative 2: 54.6% accurate, 1.2× speedup?

      \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\\ t_1 := \frac{\sqrt{2}}{B}\\ t_2 := t_1 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ t_3 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\ \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\ \;\;\;\;t_1 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -7 \cdot 10^{+78}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}{\frac{\mathsf{fma}\left(B, B, A \cdot \left(C \cdot -4\right)\right)}{\sqrt{\mathsf{hypot}\left(B, A - C\right) + \left(A + C\right)}}}\\ \mathbf{elif}\;B \leq -0.0085:\\ \;\;\;\;\frac{-\sqrt{t_0 \cdot \left(C \cdot 4\right)}}{t_3}\\ \mathbf{elif}\;B \leq -3.6 \cdot 10^{-27}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;B \leq 0.0146:\\ \;\;\;\;-\frac{\sqrt{2 \cdot t_0} \cdot \sqrt{2 \cdot C}}{t_3}\\ \mathbf{else}:\\ \;\;\;\;t_1 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \end{array} \]
      NOTE: A and C should be sorted in increasing order before calling this function.
      (FPCore (A B C F)
       :precision binary64
       (let* ((t_0 (* F (+ (* B B) (* -4.0 (* A C)))))
              (t_1 (/ (sqrt 2.0) B))
              (t_2 (* t_1 (sqrt (* F (/ (- (* B B)) (- A (hypot A B)))))))
              (t_3 (- (* B B) (* 4.0 (* A C)))))
         (if (<= B -1.4e+154)
           (* t_1 (* (sqrt (+ A (hypot A B))) (sqrt F)))
           (if (<= B -7e+78)
             t_2
             (if (<= B -1.9e+51)
               (/
                (* (sqrt 2.0) (* B (sqrt F)))
                (/ (fma B B (* A (* C -4.0))) (sqrt (+ (hypot B (- A C)) (+ A C)))))
               (if (<= B -0.0085)
                 (/ (- (sqrt (* t_0 (* C 4.0)))) t_3)
                 (if (<= B -3.6e-27)
                   t_2
                   (if (<= B 0.0146)
                     (- (/ (* (sqrt (* 2.0 t_0)) (sqrt (* 2.0 C))) t_3))
                     (* t_1 (* (sqrt (+ C (hypot C B))) (- (sqrt F))))))))))))
      assert(A < C);
      double code(double A, double B, double C, double F) {
      	double t_0 = F * ((B * B) + (-4.0 * (A * C)));
      	double t_1 = sqrt(2.0) / B;
      	double t_2 = t_1 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
      	double t_3 = (B * B) - (4.0 * (A * C));
      	double tmp;
      	if (B <= -1.4e+154) {
      		tmp = t_1 * (sqrt((A + hypot(A, B))) * sqrt(F));
      	} else if (B <= -7e+78) {
      		tmp = t_2;
      	} else if (B <= -1.9e+51) {
      		tmp = (sqrt(2.0) * (B * sqrt(F))) / (fma(B, B, (A * (C * -4.0))) / sqrt((hypot(B, (A - C)) + (A + C))));
      	} else if (B <= -0.0085) {
      		tmp = -sqrt((t_0 * (C * 4.0))) / t_3;
      	} else if (B <= -3.6e-27) {
      		tmp = t_2;
      	} else if (B <= 0.0146) {
      		tmp = -((sqrt((2.0 * t_0)) * sqrt((2.0 * C))) / t_3);
      	} else {
      		tmp = t_1 * (sqrt((C + hypot(C, B))) * -sqrt(F));
      	}
      	return tmp;
      }
      
      A, C = sort([A, C])
      function code(A, B, C, F)
      	t_0 = Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C))))
      	t_1 = Float64(sqrt(2.0) / B)
      	t_2 = Float64(t_1 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))))
      	t_3 = Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))
      	tmp = 0.0
      	if (B <= -1.4e+154)
      		tmp = Float64(t_1 * Float64(sqrt(Float64(A + hypot(A, B))) * sqrt(F)));
      	elseif (B <= -7e+78)
      		tmp = t_2;
      	elseif (B <= -1.9e+51)
      		tmp = Float64(Float64(sqrt(2.0) * Float64(B * sqrt(F))) / Float64(fma(B, B, Float64(A * Float64(C * -4.0))) / sqrt(Float64(hypot(B, Float64(A - C)) + Float64(A + C)))));
      	elseif (B <= -0.0085)
      		tmp = Float64(Float64(-sqrt(Float64(t_0 * Float64(C * 4.0)))) / t_3);
      	elseif (B <= -3.6e-27)
      		tmp = t_2;
      	elseif (B <= 0.0146)
      		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * t_0)) * sqrt(Float64(2.0 * C))) / t_3));
      	else
      		tmp = Float64(t_1 * Float64(sqrt(Float64(C + hypot(C, B))) * Float64(-sqrt(F))));
      	end
      	return tmp
      end
      
      NOTE: A and C should be sorted in increasing order before calling this function.
      code[A_, B_, C_, F_] := Block[{t$95$0 = N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[B, -1.4e+154], N[(t$95$1 * N[(N[Sqrt[N[(A + N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -7e+78], t$95$2, If[LessEqual[B, -1.9e+51], N[(N[(N[Sqrt[2.0], $MachinePrecision] * N[(B * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(B * B + N[(A * N[(C * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[Sqrt[N[(N[Sqrt[B ^ 2 + N[(A - C), $MachinePrecision] ^ 2], $MachinePrecision] + N[(A + C), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -0.0085], N[((-N[Sqrt[N[(t$95$0 * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$3), $MachinePrecision], If[LessEqual[B, -3.6e-27], t$95$2, If[LessEqual[B, 0.0146], (-N[(N[(N[Sqrt[N[(2.0 * t$95$0), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t$95$3), $MachinePrecision]), N[(t$95$1 * N[(N[Sqrt[N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * (-N[Sqrt[F], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
      
      \begin{array}{l}
      [A, C] = \mathsf{sort}([A, C])\\
      \\
      \begin{array}{l}
      t_0 := F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\\
      t_1 := \frac{\sqrt{2}}{B}\\
      t_2 := t_1 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\
      t_3 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\
      \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\
      \;\;\;\;t_1 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\
      
      \mathbf{elif}\;B \leq -7 \cdot 10^{+78}:\\
      \;\;\;\;t_2\\
      
      \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\
      \;\;\;\;\frac{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}{\frac{\mathsf{fma}\left(B, B, A \cdot \left(C \cdot -4\right)\right)}{\sqrt{\mathsf{hypot}\left(B, A - C\right) + \left(A + C\right)}}}\\
      
      \mathbf{elif}\;B \leq -0.0085:\\
      \;\;\;\;\frac{-\sqrt{t_0 \cdot \left(C \cdot 4\right)}}{t_3}\\
      
      \mathbf{elif}\;B \leq -3.6 \cdot 10^{-27}:\\
      \;\;\;\;t_2\\
      
      \mathbf{elif}\;B \leq 0.0146:\\
      \;\;\;\;-\frac{\sqrt{2 \cdot t_0} \cdot \sqrt{2 \cdot C}}{t_3}\\
      
      \mathbf{else}:\\
      \;\;\;\;t_1 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 6 regimes
      2. if B < -1.4e154

        1. Initial program 0.0%

          \[\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} \]
        2. Step-by-step derivation
          1. associate-*l*0.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
          2. unpow20.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
          3. +-commutative0.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          4. unpow20.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          5. associate-*l*0.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
          6. unpow20.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
        3. Simplified0.0%

          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
        4. Step-by-step derivation
          1. sqrt-prod0.0%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. *-commutative0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. *-commutative0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          4. associate-+l+0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. unpow20.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. hypot-udef0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. associate-+r+0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. +-commutative0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          9. associate-+r+0.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. Applied egg-rr0.0%

          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        6. Taylor expanded in B around -inf 1.6%

          \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        7. Step-by-step derivation
          1. mul-1-neg1.6%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        8. Simplified1.6%

          \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        9. Taylor expanded in C around 0 2.6%

          \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
        10. Step-by-step derivation
          1. +-commutative2.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
          2. unpow22.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
          3. unpow22.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
          4. hypot-def39.3%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
        11. Simplified39.3%

          \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
        12. Step-by-step derivation
          1. sqrt-prod83.4%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]
        13. Applied egg-rr83.4%

          \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]

        if -1.4e154 < B < -7.0000000000000003e78 or -0.0085000000000000006 < B < -3.5999999999999999e-27

        1. Initial program 29.4%

          \[\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} \]
        2. Step-by-step derivation
          1. associate-*l*29.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
          2. unpow229.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
          3. +-commutative29.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          4. unpow229.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          5. associate-*l*29.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
          6. unpow229.4%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
        3. Simplified29.4%

          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
        4. Step-by-step derivation
          1. sqrt-prod37.8%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. *-commutative37.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. *-commutative37.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          4. associate-+l+37.6%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. unpow237.6%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. hypot-udef37.9%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. associate-+r+38.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. +-commutative38.0%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          9. associate-+r+37.6%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. Applied egg-rr37.6%

          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        6. Taylor expanded in B around -inf 55.5%

          \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        7. Step-by-step derivation
          1. mul-1-neg55.5%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        8. Simplified55.5%

          \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        9. Taylor expanded in C around 0 56.3%

          \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
        10. Step-by-step derivation
          1. +-commutative56.3%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
          2. unpow256.3%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
          3. unpow256.3%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
          4. hypot-def56.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
        11. Simplified56.6%

          \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
        12. Step-by-step derivation
          1. flip-+56.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
          2. hypot-udef56.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          3. hypot-udef56.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          4. add-sqr-sqrt56.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
        13. Applied egg-rr56.0%

          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
        14. Step-by-step derivation
          1. unpow256.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          2. unpow256.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          3. unpow256.0%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          4. associate--r+64.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          5. +-inverses73.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          6. unpow273.6%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
        15. Simplified73.6%

          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

        if -7.0000000000000003e78 < B < -1.8999999999999999e51

        1. Initial program 15.8%

          \[\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} \]
        2. Step-by-step derivation
          1. associate-*l*15.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
          2. unpow215.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
          3. +-commutative15.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          4. unpow215.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          5. associate-*l*15.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
          6. unpow215.8%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
        3. Simplified15.8%

          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
        4. Step-by-step derivation
          1. sqrt-prod15.8%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. *-commutative15.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. *-commutative15.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          4. associate-+l+15.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. unpow215.8%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. hypot-udef16.5%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. associate-+r+16.5%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. +-commutative16.5%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          9. associate-+r+16.7%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. Applied egg-rr16.7%

          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        6. Taylor expanded in B around -inf 67.4%

          \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        7. Step-by-step derivation
          1. mul-1-neg67.4%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        8. Simplified67.4%

          \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        9. Step-by-step derivation
          1. distribute-lft-neg-out67.4%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right) \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. associate-*l*67.6%

            \[\leadsto \frac{-\left(-\color{blue}{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        10. Applied egg-rr67.6%

          \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        11. Step-by-step derivation
          1. distribute-rgt-neg-in67.6%

            \[\leadsto \frac{-\color{blue}{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        12. Simplified67.6%

          \[\leadsto \frac{-\color{blue}{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        13. Step-by-step derivation
          1. *-un-lft-identity67.6%

            \[\leadsto \color{blue}{1 \cdot \frac{-\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          2. distribute-rgt-neg-in67.6%

            \[\leadsto 1 \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. cancel-sign-sub-inv67.6%

            \[\leadsto 1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{\color{blue}{B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)}} \]
          4. metadata-eval67.6%

            \[\leadsto 1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)} \]
          5. *-commutative67.6%

            \[\leadsto 1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{B \cdot B + -4 \cdot \color{blue}{\left(C \cdot A\right)}} \]
          6. fma-udef67.6%

            \[\leadsto 1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{\color{blue}{\mathsf{fma}\left(B, B, -4 \cdot \left(C \cdot A\right)\right)}} \]
          7. associate-*r*67.6%

            \[\leadsto 1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{\mathsf{fma}\left(B, B, \color{blue}{\left(-4 \cdot C\right) \cdot A}\right)} \]
        14. Applied egg-rr67.6%

          \[\leadsto \color{blue}{1 \cdot \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{\mathsf{fma}\left(B, B, \left(-4 \cdot C\right) \cdot A\right)}} \]
        15. Step-by-step derivation
          1. *-lft-identity67.6%

            \[\leadsto \color{blue}{\frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \left(-\left(-\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}\right)\right)}{\mathsf{fma}\left(B, B, \left(-4 \cdot C\right) \cdot A\right)}} \]
          2. remove-double-neg67.6%

            \[\leadsto \frac{\left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right) \cdot \color{blue}{\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{\mathsf{fma}\left(B, B, \left(-4 \cdot C\right) \cdot A\right)} \]
          3. associate-/l*78.9%

            \[\leadsto \color{blue}{\frac{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}{\frac{\mathsf{fma}\left(B, B, \left(-4 \cdot C\right) \cdot A\right)}{\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}} \]
        16. Simplified78.7%

          \[\leadsto \color{blue}{\frac{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}{\frac{\mathsf{fma}\left(B, B, A \cdot \left(C \cdot -4\right)\right)}{\sqrt{\left(C + A\right) + \mathsf{hypot}\left(B, A - C\right)}}}} \]

        if -1.8999999999999999e51 < B < -0.0085000000000000006

        1. Initial program 19.0%

          \[\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} \]
        2. Step-by-step derivation
          1. associate-*l*19.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
          2. unpow219.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
          3. +-commutative19.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          4. unpow219.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          5. associate-*l*19.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
          6. unpow219.0%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
        3. Simplified19.0%

          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
        4. Taylor expanded in A around -inf 14.3%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. Taylor expanded in F around 0 14.3%

          \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        6. Step-by-step derivation
          1. associate-*r*14.3%

            \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. cancel-sign-sub-inv14.3%

            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. unpow214.3%

            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          4. metadata-eval14.3%

            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        7. Simplified14.3%

          \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

        if -3.5999999999999999e-27 < B < 0.0146000000000000001

        1. Initial program 21.9%

          \[\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} \]
        2. Step-by-step derivation
          1. associate-*l*21.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
          2. unpow221.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
          3. +-commutative21.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          4. unpow221.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
          5. associate-*l*21.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
          6. unpow221.9%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
        3. Simplified21.9%

          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
        4. Taylor expanded in A around -inf 20.5%

          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        5. Step-by-step derivation
          1. sqrt-prod20.4%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          2. *-commutative20.4%

            \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          3. cancel-sign-sub-inv20.4%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          4. *-commutative20.4%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. metadata-eval20.4%

            \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
        6. Applied egg-rr20.4%

          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

        if 0.0146000000000000001 < B

        1. Initial program 14.4%

          \[\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} \]
        2. Step-by-step derivation
          1. Simplified17.6%

            \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
          2. Taylor expanded in A around 0 24.2%

            \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
          3. Step-by-step derivation
            1. mul-1-neg24.2%

              \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
            2. *-commutative24.2%

              \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
            3. distribute-rgt-neg-in24.2%

              \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
            4. *-commutative24.2%

              \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            5. unpow224.2%

              \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            6. unpow224.2%

              \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            7. hypot-def45.8%

              \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          4. Simplified45.8%

            \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
          5. Step-by-step derivation
            1. sqrt-prod58.8%

              \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          6. Applied egg-rr58.8%

            \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          7. Step-by-step derivation
            1. hypot-def27.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\sqrt{B \cdot B + C \cdot C}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            2. unpow227.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{B}^{2}} + C \cdot C}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            3. unpow227.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{{B}^{2} + \color{blue}{{C}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            4. +-commutative27.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            5. unpow227.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            6. unpow227.4%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            7. hypot-def58.8%

              \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\mathsf{hypot}\left(C, B\right)}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          8. Simplified58.8%

            \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(C, B\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
        3. Recombined 6 regimes into one program.
        4. Final simplification44.7%

          \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -7 \cdot 10^{+78}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}{\frac{\mathsf{fma}\left(B, B, A \cdot \left(C \cdot -4\right)\right)}{\sqrt{\mathsf{hypot}\left(B, A - C\right) + \left(A + C\right)}}}\\ \mathbf{elif}\;B \leq -0.0085:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -3.6 \cdot 10^{-27}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 0.0146:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \]

        Alternative 3: 54.5% accurate, 1.5× speedup?

        \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\\ t_1 := \frac{\sqrt{2}}{B}\\ t_2 := t_1 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ t_3 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\ \mathbf{if}\;B \leq -2.7 \cdot 10^{+153}:\\ \;\;\;\;t_1 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.5 \cdot 10^{+83}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right)}{t_3}\\ \mathbf{elif}\;B \leq -1.7 \cdot 10^{-7}:\\ \;\;\;\;\frac{-\sqrt{t_0 \cdot \left(C \cdot 4\right)}}{t_3}\\ \mathbf{elif}\;B \leq -2.32 \cdot 10^{-26}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;B \leq 0.245:\\ \;\;\;\;-\frac{\sqrt{2 \cdot t_0} \cdot \sqrt{2 \cdot C}}{t_3}\\ \mathbf{else}:\\ \;\;\;\;t_1 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \end{array} \]
        NOTE: A and C should be sorted in increasing order before calling this function.
        (FPCore (A B C F)
         :precision binary64
         (let* ((t_0 (* F (+ (* B B) (* -4.0 (* A C)))))
                (t_1 (/ (sqrt 2.0) B))
                (t_2 (* t_1 (sqrt (* F (/ (- (* B B)) (- A (hypot A B)))))))
                (t_3 (- (* B B) (* 4.0 (* A C)))))
           (if (<= B -2.7e+153)
             (* t_1 (* (sqrt (+ A (hypot A B))) (sqrt F)))
             (if (<= B -2.5e+83)
               t_2
               (if (<= B -1.9e+51)
                 (/
                  (*
                   (sqrt (+ C (+ A (hypot B (- A C)))))
                   (* (sqrt 2.0) (* B (sqrt F))))
                  t_3)
                 (if (<= B -1.7e-7)
                   (/ (- (sqrt (* t_0 (* C 4.0)))) t_3)
                   (if (<= B -2.32e-26)
                     t_2
                     (if (<= B 0.245)
                       (- (/ (* (sqrt (* 2.0 t_0)) (sqrt (* 2.0 C))) t_3))
                       (* t_1 (* (sqrt (+ C (hypot C B))) (- (sqrt F))))))))))))
        assert(A < C);
        double code(double A, double B, double C, double F) {
        	double t_0 = F * ((B * B) + (-4.0 * (A * C)));
        	double t_1 = sqrt(2.0) / B;
        	double t_2 = t_1 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
        	double t_3 = (B * B) - (4.0 * (A * C));
        	double tmp;
        	if (B <= -2.7e+153) {
        		tmp = t_1 * (sqrt((A + hypot(A, B))) * sqrt(F));
        	} else if (B <= -2.5e+83) {
        		tmp = t_2;
        	} else if (B <= -1.9e+51) {
        		tmp = (sqrt((C + (A + hypot(B, (A - C))))) * (sqrt(2.0) * (B * sqrt(F)))) / t_3;
        	} else if (B <= -1.7e-7) {
        		tmp = -sqrt((t_0 * (C * 4.0))) / t_3;
        	} else if (B <= -2.32e-26) {
        		tmp = t_2;
        	} else if (B <= 0.245) {
        		tmp = -((sqrt((2.0 * t_0)) * sqrt((2.0 * C))) / t_3);
        	} else {
        		tmp = t_1 * (sqrt((C + hypot(C, B))) * -sqrt(F));
        	}
        	return tmp;
        }
        
        assert A < C;
        public static double code(double A, double B, double C, double F) {
        	double t_0 = F * ((B * B) + (-4.0 * (A * C)));
        	double t_1 = Math.sqrt(2.0) / B;
        	double t_2 = t_1 * Math.sqrt((F * (-(B * B) / (A - Math.hypot(A, B)))));
        	double t_3 = (B * B) - (4.0 * (A * C));
        	double tmp;
        	if (B <= -2.7e+153) {
        		tmp = t_1 * (Math.sqrt((A + Math.hypot(A, B))) * Math.sqrt(F));
        	} else if (B <= -2.5e+83) {
        		tmp = t_2;
        	} else if (B <= -1.9e+51) {
        		tmp = (Math.sqrt((C + (A + Math.hypot(B, (A - C))))) * (Math.sqrt(2.0) * (B * Math.sqrt(F)))) / t_3;
        	} else if (B <= -1.7e-7) {
        		tmp = -Math.sqrt((t_0 * (C * 4.0))) / t_3;
        	} else if (B <= -2.32e-26) {
        		tmp = t_2;
        	} else if (B <= 0.245) {
        		tmp = -((Math.sqrt((2.0 * t_0)) * Math.sqrt((2.0 * C))) / t_3);
        	} else {
        		tmp = t_1 * (Math.sqrt((C + Math.hypot(C, B))) * -Math.sqrt(F));
        	}
        	return tmp;
        }
        
        [A, C] = sort([A, C])
        def code(A, B, C, F):
        	t_0 = F * ((B * B) + (-4.0 * (A * C)))
        	t_1 = math.sqrt(2.0) / B
        	t_2 = t_1 * math.sqrt((F * (-(B * B) / (A - math.hypot(A, B)))))
        	t_3 = (B * B) - (4.0 * (A * C))
        	tmp = 0
        	if B <= -2.7e+153:
        		tmp = t_1 * (math.sqrt((A + math.hypot(A, B))) * math.sqrt(F))
        	elif B <= -2.5e+83:
        		tmp = t_2
        	elif B <= -1.9e+51:
        		tmp = (math.sqrt((C + (A + math.hypot(B, (A - C))))) * (math.sqrt(2.0) * (B * math.sqrt(F)))) / t_3
        	elif B <= -1.7e-7:
        		tmp = -math.sqrt((t_0 * (C * 4.0))) / t_3
        	elif B <= -2.32e-26:
        		tmp = t_2
        	elif B <= 0.245:
        		tmp = -((math.sqrt((2.0 * t_0)) * math.sqrt((2.0 * C))) / t_3)
        	else:
        		tmp = t_1 * (math.sqrt((C + math.hypot(C, B))) * -math.sqrt(F))
        	return tmp
        
        A, C = sort([A, C])
        function code(A, B, C, F)
        	t_0 = Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C))))
        	t_1 = Float64(sqrt(2.0) / B)
        	t_2 = Float64(t_1 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))))
        	t_3 = Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))
        	tmp = 0.0
        	if (B <= -2.7e+153)
        		tmp = Float64(t_1 * Float64(sqrt(Float64(A + hypot(A, B))) * sqrt(F)));
        	elseif (B <= -2.5e+83)
        		tmp = t_2;
        	elseif (B <= -1.9e+51)
        		tmp = Float64(Float64(sqrt(Float64(C + Float64(A + hypot(B, Float64(A - C))))) * Float64(sqrt(2.0) * Float64(B * sqrt(F)))) / t_3);
        	elseif (B <= -1.7e-7)
        		tmp = Float64(Float64(-sqrt(Float64(t_0 * Float64(C * 4.0)))) / t_3);
        	elseif (B <= -2.32e-26)
        		tmp = t_2;
        	elseif (B <= 0.245)
        		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * t_0)) * sqrt(Float64(2.0 * C))) / t_3));
        	else
        		tmp = Float64(t_1 * Float64(sqrt(Float64(C + hypot(C, B))) * Float64(-sqrt(F))));
        	end
        	return tmp
        end
        
        A, C = num2cell(sort([A, C])){:}
        function tmp_2 = code(A, B, C, F)
        	t_0 = F * ((B * B) + (-4.0 * (A * C)));
        	t_1 = sqrt(2.0) / B;
        	t_2 = t_1 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
        	t_3 = (B * B) - (4.0 * (A * C));
        	tmp = 0.0;
        	if (B <= -2.7e+153)
        		tmp = t_1 * (sqrt((A + hypot(A, B))) * sqrt(F));
        	elseif (B <= -2.5e+83)
        		tmp = t_2;
        	elseif (B <= -1.9e+51)
        		tmp = (sqrt((C + (A + hypot(B, (A - C))))) * (sqrt(2.0) * (B * sqrt(F)))) / t_3;
        	elseif (B <= -1.7e-7)
        		tmp = -sqrt((t_0 * (C * 4.0))) / t_3;
        	elseif (B <= -2.32e-26)
        		tmp = t_2;
        	elseif (B <= 0.245)
        		tmp = -((sqrt((2.0 * t_0)) * sqrt((2.0 * C))) / t_3);
        	else
        		tmp = t_1 * (sqrt((C + hypot(C, B))) * -sqrt(F));
        	end
        	tmp_2 = tmp;
        end
        
        NOTE: A and C should be sorted in increasing order before calling this function.
        code[A_, B_, C_, F_] := Block[{t$95$0 = N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[B, -2.7e+153], N[(t$95$1 * N[(N[Sqrt[N[(A + N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -2.5e+83], t$95$2, If[LessEqual[B, -1.9e+51], N[(N[(N[Sqrt[N[(C + N[(A + N[Sqrt[B ^ 2 + N[(A - C), $MachinePrecision] ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(N[Sqrt[2.0], $MachinePrecision] * N[(B * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$3), $MachinePrecision], If[LessEqual[B, -1.7e-7], N[((-N[Sqrt[N[(t$95$0 * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$3), $MachinePrecision], If[LessEqual[B, -2.32e-26], t$95$2, If[LessEqual[B, 0.245], (-N[(N[(N[Sqrt[N[(2.0 * t$95$0), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t$95$3), $MachinePrecision]), N[(t$95$1 * N[(N[Sqrt[N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * (-N[Sqrt[F], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]
        
        \begin{array}{l}
        [A, C] = \mathsf{sort}([A, C])\\
        \\
        \begin{array}{l}
        t_0 := F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\\
        t_1 := \frac{\sqrt{2}}{B}\\
        t_2 := t_1 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\
        t_3 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\
        \mathbf{if}\;B \leq -2.7 \cdot 10^{+153}:\\
        \;\;\;\;t_1 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\
        
        \mathbf{elif}\;B \leq -2.5 \cdot 10^{+83}:\\
        \;\;\;\;t_2\\
        
        \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\
        \;\;\;\;\frac{\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right)}{t_3}\\
        
        \mathbf{elif}\;B \leq -1.7 \cdot 10^{-7}:\\
        \;\;\;\;\frac{-\sqrt{t_0 \cdot \left(C \cdot 4\right)}}{t_3}\\
        
        \mathbf{elif}\;B \leq -2.32 \cdot 10^{-26}:\\
        \;\;\;\;t_2\\
        
        \mathbf{elif}\;B \leq 0.245:\\
        \;\;\;\;-\frac{\sqrt{2 \cdot t_0} \cdot \sqrt{2 \cdot C}}{t_3}\\
        
        \mathbf{else}:\\
        \;\;\;\;t_1 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 6 regimes
        2. if B < -2.7000000000000001e153

          1. Initial program 0.0%

            \[\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} \]
          2. Step-by-step derivation
            1. associate-*l*0.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
            2. unpow20.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
            3. +-commutative0.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            4. unpow20.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            5. associate-*l*0.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
            6. unpow20.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
          3. Simplified0.0%

            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          4. Step-by-step derivation
            1. sqrt-prod0.0%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. *-commutative0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            3. *-commutative0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            4. associate-+l+0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. unpow20.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. hypot-udef0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            7. associate-+r+0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            8. +-commutative0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            9. associate-+r+0.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. Applied egg-rr0.0%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. Taylor expanded in B around -inf 1.6%

            \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. Step-by-step derivation
            1. mul-1-neg1.6%

              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. Simplified1.6%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          9. Taylor expanded in C around 0 2.6%

            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
          10. Step-by-step derivation
            1. +-commutative2.6%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
            2. unpow22.6%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
            3. unpow22.6%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
            4. hypot-def39.3%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
          11. Simplified39.3%

            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
          12. Step-by-step derivation
            1. sqrt-prod83.4%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]
          13. Applied egg-rr83.4%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]

          if -2.7000000000000001e153 < B < -2.50000000000000014e83 or -1.69999999999999987e-7 < B < -2.32000000000000003e-26

          1. Initial program 26.0%

            \[\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} \]
          2. Step-by-step derivation
            1. associate-*l*26.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
            2. unpow226.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
            3. +-commutative26.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            4. unpow226.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            5. associate-*l*26.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
            6. unpow226.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
          3. Simplified26.0%

            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          4. Step-by-step derivation
            1. sqrt-prod34.9%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. *-commutative34.9%

              \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            3. *-commutative34.9%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            4. associate-+l+34.7%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. unpow234.7%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. hypot-udef35.1%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            7. associate-+r+35.1%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            8. +-commutative35.1%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            9. associate-+r+34.7%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. Applied egg-rr34.7%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. Taylor expanded in B around -inf 53.4%

            \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. Step-by-step derivation
            1. mul-1-neg53.4%

              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. Simplified53.4%

            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          9. Taylor expanded in C around 0 54.3%

            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
          10. Step-by-step derivation
            1. +-commutative54.3%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
            2. unpow254.3%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
            3. unpow254.3%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
            4. hypot-def54.6%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
          11. Simplified54.6%

            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
          12. Step-by-step derivation
            1. flip-+53.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
            2. hypot-udef53.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            3. hypot-udef53.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            4. add-sqr-sqrt53.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          13. Applied egg-rr53.9%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
          14. Step-by-step derivation
            1. unpow253.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            2. unpow253.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            3. unpow253.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            4. associate--r+62.9%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            5. +-inverses72.4%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            6. unpow272.4%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
          15. Simplified72.4%

            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

          if -2.50000000000000014e83 < B < -1.8999999999999999e51

          1. Initial program 25.2%

            \[\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} \]
          2. Step-by-step derivation
            1. associate-*l*25.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
            2. unpow225.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
            3. +-commutative25.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            4. unpow225.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            5. associate-*l*25.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
            6. unpow225.2%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
          3. Simplified25.2%

            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          4. Step-by-step derivation
            1. sqrt-prod25.0%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. *-commutative25.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            3. *-commutative25.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            4. associate-+l+25.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. unpow225.0%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. hypot-udef25.6%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            7. associate-+r+25.6%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            8. +-commutative25.6%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            9. associate-+r+25.8%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. Applied egg-rr25.8%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. Taylor expanded in B around -inf 71.0%

            \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. Step-by-step derivation
            1. mul-1-neg71.0%

              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. associate-*l*71.2%

              \[\leadsto \frac{-\left(-\color{blue}{\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)}\right) \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          8. Simplified71.2%

            \[\leadsto \frac{-\color{blue}{\left(-\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

          if -1.8999999999999999e51 < B < -1.69999999999999987e-7

          1. Initial program 19.0%

            \[\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} \]
          2. Step-by-step derivation
            1. associate-*l*19.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
            2. unpow219.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
            3. +-commutative19.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            4. unpow219.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            5. associate-*l*19.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
            6. unpow219.0%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
          3. Simplified19.0%

            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          4. Taylor expanded in A around -inf 14.3%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. Taylor expanded in F around 0 14.3%

            \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. Step-by-step derivation
            1. associate-*r*14.3%

              \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. cancel-sign-sub-inv14.3%

              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            3. unpow214.3%

              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            4. metadata-eval14.3%

              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          7. Simplified14.3%

            \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

          if -2.32000000000000003e-26 < B < 0.245

          1. Initial program 21.9%

            \[\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} \]
          2. Step-by-step derivation
            1. associate-*l*21.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
            2. unpow221.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
            3. +-commutative21.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            4. unpow221.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
            5. associate-*l*21.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
            6. unpow221.9%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
          3. Simplified21.9%

            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
          4. Taylor expanded in A around -inf 20.5%

            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          5. Step-by-step derivation
            1. sqrt-prod20.4%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            2. *-commutative20.4%

              \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            3. cancel-sign-sub-inv20.4%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            4. *-commutative20.4%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. metadata-eval20.4%

              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
          6. Applied egg-rr20.4%

            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

          if 0.245 < B

          1. Initial program 14.4%

            \[\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} \]
          2. Step-by-step derivation
            1. Simplified17.6%

              \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
            2. Taylor expanded in A around 0 24.2%

              \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
            3. Step-by-step derivation
              1. mul-1-neg24.2%

                \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
              2. *-commutative24.2%

                \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
              3. distribute-rgt-neg-in24.2%

                \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
              4. *-commutative24.2%

                \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              5. unpow224.2%

                \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              6. unpow224.2%

                \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              7. hypot-def45.8%

                \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            4. Simplified45.8%

              \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
            5. Step-by-step derivation
              1. sqrt-prod58.8%

                \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            6. Applied egg-rr58.8%

              \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            7. Step-by-step derivation
              1. hypot-def27.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\sqrt{B \cdot B + C \cdot C}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              2. unpow227.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{B}^{2}} + C \cdot C}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              3. unpow227.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{{B}^{2} + \color{blue}{{C}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              4. +-commutative27.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              5. unpow227.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              6. unpow227.4%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              7. hypot-def58.8%

                \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\mathsf{hypot}\left(C, B\right)}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            8. Simplified58.8%

              \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(C, B\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
          3. Recombined 6 regimes into one program.
          4. Final simplification44.3%

            \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2.7 \cdot 10^{+153}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.5 \cdot 10^{+83}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)} \cdot \left(\sqrt{2} \cdot \left(B \cdot \sqrt{F}\right)\right)}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -1.7 \cdot 10^{-7}:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -2.32 \cdot 10^{-26}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 0.245:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \]

          Alternative 4: 55.9% accurate, 1.5× speedup?

          \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \frac{\sqrt{2}}{B}\\ \mathbf{if}\;B \leq -4 \cdot 10^{+153}:\\ \;\;\;\;t_0 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.6 \cdot 10^{-27}:\\ \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 0.013:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;t_0 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \end{array} \]
          NOTE: A and C should be sorted in increasing order before calling this function.
          (FPCore (A B C F)
           :precision binary64
           (let* ((t_0 (/ (sqrt 2.0) B)))
             (if (<= B -4e+153)
               (* t_0 (* (sqrt (+ A (hypot A B))) (sqrt F)))
               (if (<= B -2.6e-27)
                 (* t_0 (sqrt (* F (/ (- (* B B)) (- A (hypot A B))))))
                 (if (<= B 0.013)
                   (-
                    (/
                     (*
                      (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C))))))
                      (sqrt (* 2.0 C)))
                     (- (* B B) (* 4.0 (* A C)))))
                   (* t_0 (* (sqrt (+ C (hypot C B))) (- (sqrt F)))))))))
          assert(A < C);
          double code(double A, double B, double C, double F) {
          	double t_0 = sqrt(2.0) / B;
          	double tmp;
          	if (B <= -4e+153) {
          		tmp = t_0 * (sqrt((A + hypot(A, B))) * sqrt(F));
          	} else if (B <= -2.6e-27) {
          		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
          	} else if (B <= 0.013) {
          		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
          	} else {
          		tmp = t_0 * (sqrt((C + hypot(C, B))) * -sqrt(F));
          	}
          	return tmp;
          }
          
          assert A < C;
          public static double code(double A, double B, double C, double F) {
          	double t_0 = Math.sqrt(2.0) / B;
          	double tmp;
          	if (B <= -4e+153) {
          		tmp = t_0 * (Math.sqrt((A + Math.hypot(A, B))) * Math.sqrt(F));
          	} else if (B <= -2.6e-27) {
          		tmp = t_0 * Math.sqrt((F * (-(B * B) / (A - Math.hypot(A, B)))));
          	} else if (B <= 0.013) {
          		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
          	} else {
          		tmp = t_0 * (Math.sqrt((C + Math.hypot(C, B))) * -Math.sqrt(F));
          	}
          	return tmp;
          }
          
          [A, C] = sort([A, C])
          def code(A, B, C, F):
          	t_0 = math.sqrt(2.0) / B
          	tmp = 0
          	if B <= -4e+153:
          		tmp = t_0 * (math.sqrt((A + math.hypot(A, B))) * math.sqrt(F))
          	elif B <= -2.6e-27:
          		tmp = t_0 * math.sqrt((F * (-(B * B) / (A - math.hypot(A, B)))))
          	elif B <= 0.013:
          		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
          	else:
          		tmp = t_0 * (math.sqrt((C + math.hypot(C, B))) * -math.sqrt(F))
          	return tmp
          
          A, C = sort([A, C])
          function code(A, B, C, F)
          	t_0 = Float64(sqrt(2.0) / B)
          	tmp = 0.0
          	if (B <= -4e+153)
          		tmp = Float64(t_0 * Float64(sqrt(Float64(A + hypot(A, B))) * sqrt(F)));
          	elseif (B <= -2.6e-27)
          		tmp = Float64(t_0 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))));
          	elseif (B <= 0.013)
          		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
          	else
          		tmp = Float64(t_0 * Float64(sqrt(Float64(C + hypot(C, B))) * Float64(-sqrt(F))));
          	end
          	return tmp
          end
          
          A, C = num2cell(sort([A, C])){:}
          function tmp_2 = code(A, B, C, F)
          	t_0 = sqrt(2.0) / B;
          	tmp = 0.0;
          	if (B <= -4e+153)
          		tmp = t_0 * (sqrt((A + hypot(A, B))) * sqrt(F));
          	elseif (B <= -2.6e-27)
          		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
          	elseif (B <= 0.013)
          		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
          	else
          		tmp = t_0 * (sqrt((C + hypot(C, B))) * -sqrt(F));
          	end
          	tmp_2 = tmp;
          end
          
          NOTE: A and C should be sorted in increasing order before calling this function.
          code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, If[LessEqual[B, -4e+153], N[(t$95$0 * N[(N[Sqrt[N[(A + N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -2.6e-27], N[(t$95$0 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 0.013], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(t$95$0 * N[(N[Sqrt[N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * (-N[Sqrt[F], $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]]
          
          \begin{array}{l}
          [A, C] = \mathsf{sort}([A, C])\\
          \\
          \begin{array}{l}
          t_0 := \frac{\sqrt{2}}{B}\\
          \mathbf{if}\;B \leq -4 \cdot 10^{+153}:\\
          \;\;\;\;t_0 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\
          
          \mathbf{elif}\;B \leq -2.6 \cdot 10^{-27}:\\
          \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\
          
          \mathbf{elif}\;B \leq 0.013:\\
          \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
          
          \mathbf{else}:\\
          \;\;\;\;t_0 \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 4 regimes
          2. if B < -4e153

            1. Initial program 0.0%

              \[\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} \]
            2. Step-by-step derivation
              1. associate-*l*0.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
              2. unpow20.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
              3. +-commutative0.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              4. unpow20.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              5. associate-*l*0.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
              6. unpow20.0%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
            3. Simplified0.0%

              \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
            4. Step-by-step derivation
              1. sqrt-prod0.0%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              2. *-commutative0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              3. *-commutative0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              4. associate-+l+0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. unpow20.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              6. hypot-udef0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              7. associate-+r+0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              8. +-commutative0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              9. associate-+r+0.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. Applied egg-rr0.0%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. Taylor expanded in B around -inf 1.6%

              \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            7. Step-by-step derivation
              1. mul-1-neg1.6%

                \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            8. Simplified1.6%

              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            9. Taylor expanded in C around 0 2.6%

              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
            10. Step-by-step derivation
              1. +-commutative2.6%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
              2. unpow22.6%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
              3. unpow22.6%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
              4. hypot-def39.3%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
            11. Simplified39.3%

              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
            12. Step-by-step derivation
              1. sqrt-prod83.4%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]
            13. Applied egg-rr83.4%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]

            if -4e153 < B < -2.60000000000000017e-27

            1. Initial program 24.2%

              \[\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} \]
            2. Step-by-step derivation
              1. associate-*l*24.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
              2. unpow224.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
              3. +-commutative24.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              4. unpow224.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              5. associate-*l*24.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
              6. unpow224.2%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
            3. Simplified24.2%

              \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
            4. Step-by-step derivation
              1. sqrt-prod27.7%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              2. *-commutative27.7%

                \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              3. *-commutative27.7%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              4. associate-+l+28.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. unpow228.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              6. hypot-udef33.2%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              7. associate-+r+33.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              8. +-commutative33.0%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              9. associate-+r+32.8%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. Applied egg-rr32.8%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. Taylor expanded in B around -inf 51.7%

              \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            7. Step-by-step derivation
              1. mul-1-neg51.7%

                \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            8. Simplified51.7%

              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            9. Taylor expanded in C around 0 41.3%

              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
            10. Step-by-step derivation
              1. +-commutative41.3%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
              2. unpow241.3%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
              3. unpow241.3%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
              4. hypot-def42.7%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
            11. Simplified42.7%

              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
            12. Step-by-step derivation
              1. flip-+38.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
              2. hypot-udef38.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              3. hypot-udef38.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              4. add-sqr-sqrt38.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            13. Applied egg-rr38.2%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
            14. Step-by-step derivation
              1. unpow238.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              2. unpow238.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              3. unpow238.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              4. associate--r+44.8%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              5. +-inverses50.1%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              6. unpow250.1%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
            15. Simplified50.1%

              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

            if -2.60000000000000017e-27 < B < 0.0129999999999999994

            1. Initial program 21.9%

              \[\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} \]
            2. Step-by-step derivation
              1. associate-*l*21.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
              2. unpow221.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
              3. +-commutative21.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              4. unpow221.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
              5. associate-*l*21.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
              6. unpow221.9%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
            3. Simplified21.9%

              \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
            4. Taylor expanded in A around -inf 20.5%

              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            5. Step-by-step derivation
              1. sqrt-prod20.4%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              2. *-commutative20.4%

                \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              3. cancel-sign-sub-inv20.4%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              4. *-commutative20.4%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. metadata-eval20.4%

                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
            6. Applied egg-rr20.4%

              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

            if 0.0129999999999999994 < B

            1. Initial program 14.4%

              \[\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} \]
            2. Step-by-step derivation
              1. Simplified17.6%

                \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
              2. Taylor expanded in A around 0 24.2%

                \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
              3. Step-by-step derivation
                1. mul-1-neg24.2%

                  \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                2. *-commutative24.2%

                  \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                3. distribute-rgt-neg-in24.2%

                  \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                4. *-commutative24.2%

                  \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                5. unpow224.2%

                  \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                6. unpow224.2%

                  \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                7. hypot-def45.8%

                  \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              4. Simplified45.8%

                \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
              5. Step-by-step derivation
                1. sqrt-prod58.8%

                  \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              6. Applied egg-rr58.8%

                \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              7. Step-by-step derivation
                1. hypot-def27.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\sqrt{B \cdot B + C \cdot C}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                2. unpow227.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{B}^{2}} + C \cdot C}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                3. unpow227.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{{B}^{2} + \color{blue}{{C}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                4. +-commutative27.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                5. unpow227.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                6. unpow227.4%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                7. hypot-def58.8%

                  \[\leadsto \left(\sqrt{F} \cdot \sqrt{C + \color{blue}{\mathsf{hypot}\left(C, B\right)}}\right) \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
              8. Simplified58.8%

                \[\leadsto \color{blue}{\left(\sqrt{F} \cdot \sqrt{C + \mathsf{hypot}\left(C, B\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
            3. Recombined 4 regimes into one program.
            4. Final simplification43.0%

              \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -4 \cdot 10^{+153}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.6 \cdot 10^{-27}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 0.013:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{C + \mathsf{hypot}\left(C, B\right)} \cdot \left(-\sqrt{F}\right)\right)\\ \end{array} \]

            Alternative 5: 53.3% accurate, 1.5× speedup?

            \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \frac{\sqrt{2}}{B}\\ \mathbf{if}\;B \leq -1 \cdot 10^{+154}:\\ \;\;\;\;t_0 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\ \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 4.6 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \end{array} \]
            NOTE: A and C should be sorted in increasing order before calling this function.
            (FPCore (A B C F)
             :precision binary64
             (let* ((t_0 (/ (sqrt 2.0) B)))
               (if (<= B -1e+154)
                 (* t_0 (* (sqrt (+ A (hypot A B))) (sqrt F)))
                 (if (<= B -2.55e-27)
                   (* t_0 (sqrt (* F (/ (- (* B B)) (- A (hypot A B))))))
                   (if (<= B 4.6e+35)
                     (-
                      (/
                       (*
                        (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C))))))
                        (sqrt (* 2.0 C)))
                       (- (* B B) (* 4.0 (* A C)))))
                     (* (/ (sqrt F) (sqrt B)) (- (sqrt 2.0))))))))
            assert(A < C);
            double code(double A, double B, double C, double F) {
            	double t_0 = sqrt(2.0) / B;
            	double tmp;
            	if (B <= -1e+154) {
            		tmp = t_0 * (sqrt((A + hypot(A, B))) * sqrt(F));
            	} else if (B <= -2.55e-27) {
            		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
            	} else if (B <= 4.6e+35) {
            		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
            	} else {
            		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
            	}
            	return tmp;
            }
            
            assert A < C;
            public static double code(double A, double B, double C, double F) {
            	double t_0 = Math.sqrt(2.0) / B;
            	double tmp;
            	if (B <= -1e+154) {
            		tmp = t_0 * (Math.sqrt((A + Math.hypot(A, B))) * Math.sqrt(F));
            	} else if (B <= -2.55e-27) {
            		tmp = t_0 * Math.sqrt((F * (-(B * B) / (A - Math.hypot(A, B)))));
            	} else if (B <= 4.6e+35) {
            		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
            	} else {
            		tmp = (Math.sqrt(F) / Math.sqrt(B)) * -Math.sqrt(2.0);
            	}
            	return tmp;
            }
            
            [A, C] = sort([A, C])
            def code(A, B, C, F):
            	t_0 = math.sqrt(2.0) / B
            	tmp = 0
            	if B <= -1e+154:
            		tmp = t_0 * (math.sqrt((A + math.hypot(A, B))) * math.sqrt(F))
            	elif B <= -2.55e-27:
            		tmp = t_0 * math.sqrt((F * (-(B * B) / (A - math.hypot(A, B)))))
            	elif B <= 4.6e+35:
            		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
            	else:
            		tmp = (math.sqrt(F) / math.sqrt(B)) * -math.sqrt(2.0)
            	return tmp
            
            A, C = sort([A, C])
            function code(A, B, C, F)
            	t_0 = Float64(sqrt(2.0) / B)
            	tmp = 0.0
            	if (B <= -1e+154)
            		tmp = Float64(t_0 * Float64(sqrt(Float64(A + hypot(A, B))) * sqrt(F)));
            	elseif (B <= -2.55e-27)
            		tmp = Float64(t_0 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))));
            	elseif (B <= 4.6e+35)
            		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
            	else
            		tmp = Float64(Float64(sqrt(F) / sqrt(B)) * Float64(-sqrt(2.0)));
            	end
            	return tmp
            end
            
            A, C = num2cell(sort([A, C])){:}
            function tmp_2 = code(A, B, C, F)
            	t_0 = sqrt(2.0) / B;
            	tmp = 0.0;
            	if (B <= -1e+154)
            		tmp = t_0 * (sqrt((A + hypot(A, B))) * sqrt(F));
            	elseif (B <= -2.55e-27)
            		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
            	elseif (B <= 4.6e+35)
            		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
            	else
            		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
            	end
            	tmp_2 = tmp;
            end
            
            NOTE: A and C should be sorted in increasing order before calling this function.
            code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, If[LessEqual[B, -1e+154], N[(t$95$0 * N[(N[Sqrt[N[(A + N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[F], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -2.55e-27], N[(t$95$0 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 4.6e+35], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(N[(N[Sqrt[F], $MachinePrecision] / N[Sqrt[B], $MachinePrecision]), $MachinePrecision] * (-N[Sqrt[2.0], $MachinePrecision])), $MachinePrecision]]]]]
            
            \begin{array}{l}
            [A, C] = \mathsf{sort}([A, C])\\
            \\
            \begin{array}{l}
            t_0 := \frac{\sqrt{2}}{B}\\
            \mathbf{if}\;B \leq -1 \cdot 10^{+154}:\\
            \;\;\;\;t_0 \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\
            
            \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\
            \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\
            
            \mathbf{elif}\;B \leq 4.6 \cdot 10^{+35}:\\
            \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
            
            \mathbf{else}:\\
            \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 4 regimes
            2. if B < -1.00000000000000004e154

              1. Initial program 0.0%

                \[\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} \]
              2. Step-by-step derivation
                1. associate-*l*0.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                2. unpow20.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                3. +-commutative0.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                4. unpow20.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                5. associate-*l*0.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                6. unpow20.0%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
              3. Simplified0.0%

                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
              4. Step-by-step derivation
                1. sqrt-prod0.0%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                2. *-commutative0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                3. *-commutative0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                4. associate-+l+0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. unpow20.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                6. hypot-udef0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                7. associate-+r+0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                8. +-commutative0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                9. associate-+r+0.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. Applied egg-rr0.0%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              6. Taylor expanded in B around -inf 1.6%

                \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              7. Step-by-step derivation
                1. mul-1-neg1.6%

                  \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              8. Simplified1.6%

                \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              9. Taylor expanded in C around 0 2.6%

                \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
              10. Step-by-step derivation
                1. +-commutative2.6%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                2. unpow22.6%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                3. unpow22.6%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                4. hypot-def39.3%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
              11. Simplified39.3%

                \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
              12. Step-by-step derivation
                1. sqrt-prod83.4%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]
              13. Applied egg-rr83.4%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \color{blue}{\left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)} \]

              if -1.00000000000000004e154 < B < -2.55e-27

              1. Initial program 24.2%

                \[\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} \]
              2. Step-by-step derivation
                1. associate-*l*24.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                2. unpow224.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                3. +-commutative24.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                4. unpow224.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                5. associate-*l*24.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                6. unpow224.2%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
              3. Simplified24.2%

                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
              4. Step-by-step derivation
                1. sqrt-prod27.7%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                2. *-commutative27.7%

                  \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                3. *-commutative27.7%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                4. associate-+l+28.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. unpow228.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                6. hypot-udef33.2%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                7. associate-+r+33.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                8. +-commutative33.0%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                9. associate-+r+32.8%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. Applied egg-rr32.8%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              6. Taylor expanded in B around -inf 51.7%

                \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              7. Step-by-step derivation
                1. mul-1-neg51.7%

                  \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              8. Simplified51.7%

                \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              9. Taylor expanded in C around 0 41.3%

                \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
              10. Step-by-step derivation
                1. +-commutative41.3%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                2. unpow241.3%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                3. unpow241.3%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                4. hypot-def42.7%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
              11. Simplified42.7%

                \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
              12. Step-by-step derivation
                1. flip-+38.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
                2. hypot-udef38.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                3. hypot-udef38.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                4. add-sqr-sqrt38.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              13. Applied egg-rr38.2%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
              14. Step-by-step derivation
                1. unpow238.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                2. unpow238.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                3. unpow238.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                4. associate--r+44.8%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                5. +-inverses50.1%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                6. unpow250.1%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
              15. Simplified50.1%

                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

              if -2.55e-27 < B < 4.5999999999999996e35

              1. Initial program 23.7%

                \[\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} \]
              2. Step-by-step derivation
                1. associate-*l*23.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                2. unpow223.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                3. +-commutative23.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                4. unpow223.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                5. associate-*l*23.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                6. unpow223.7%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
              3. Simplified23.7%

                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
              4. Taylor expanded in A around -inf 20.8%

                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              5. Step-by-step derivation
                1. sqrt-prod21.4%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                2. *-commutative21.4%

                  \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                3. cancel-sign-sub-inv21.4%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                4. *-commutative21.4%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. metadata-eval21.4%

                  \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
              6. Applied egg-rr21.4%

                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

              if 4.5999999999999996e35 < B

              1. Initial program 10.0%

                \[\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} \]
              2. Step-by-step derivation
                1. Simplified13.4%

                  \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                2. Taylor expanded in A around 0 20.5%

                  \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                3. Step-by-step derivation
                  1. mul-1-neg20.5%

                    \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                  2. *-commutative20.5%

                    \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                  3. distribute-rgt-neg-in20.5%

                    \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                  4. *-commutative20.5%

                    \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                  5. unpow220.5%

                    \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                  6. unpow220.5%

                    \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                  7. hypot-def43.6%

                    \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                4. Simplified43.6%

                  \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                5. Taylor expanded in C around 0 33.4%

                  \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                6. Step-by-step derivation
                  1. mul-1-neg33.4%

                    \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                7. Simplified33.4%

                  \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                8. Step-by-step derivation
                  1. sqrt-div53.3%

                    \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                9. Applied egg-rr53.3%

                  \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
              3. Recombined 4 regimes into one program.
              4. Final simplification41.7%

                \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1 \cdot 10^{+154}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(\sqrt{A + \mathsf{hypot}\left(A, B\right)} \cdot \sqrt{F}\right)\\ \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 4.6 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \]

              Alternative 6: 50.1% accurate, 2.0× speedup?

              \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \frac{\sqrt{2}}{B}\\ \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\ \;\;\;\;t_0 \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\ \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\ \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \end{array} \]
              NOTE: A and C should be sorted in increasing order before calling this function.
              (FPCore (A B C F)
               :precision binary64
               (let* ((t_0 (/ (sqrt 2.0) B)))
                 (if (<= B -1.4e+154)
                   (* t_0 (sqrt (* F (+ C (hypot C B)))))
                   (if (<= B -2.55e-27)
                     (* t_0 (sqrt (* F (/ (- (* B B)) (- A (hypot A B))))))
                     (if (<= B 8e+35)
                       (-
                        (/
                         (*
                          (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C))))))
                          (sqrt (* 2.0 C)))
                         (- (* B B) (* 4.0 (* A C)))))
                       (* (/ (sqrt F) (sqrt B)) (- (sqrt 2.0))))))))
              assert(A < C);
              double code(double A, double B, double C, double F) {
              	double t_0 = sqrt(2.0) / B;
              	double tmp;
              	if (B <= -1.4e+154) {
              		tmp = t_0 * sqrt((F * (C + hypot(C, B))));
              	} else if (B <= -2.55e-27) {
              		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
              	} else if (B <= 8e+35) {
              		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
              	} else {
              		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
              	}
              	return tmp;
              }
              
              assert A < C;
              public static double code(double A, double B, double C, double F) {
              	double t_0 = Math.sqrt(2.0) / B;
              	double tmp;
              	if (B <= -1.4e+154) {
              		tmp = t_0 * Math.sqrt((F * (C + Math.hypot(C, B))));
              	} else if (B <= -2.55e-27) {
              		tmp = t_0 * Math.sqrt((F * (-(B * B) / (A - Math.hypot(A, B)))));
              	} else if (B <= 8e+35) {
              		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
              	} else {
              		tmp = (Math.sqrt(F) / Math.sqrt(B)) * -Math.sqrt(2.0);
              	}
              	return tmp;
              }
              
              [A, C] = sort([A, C])
              def code(A, B, C, F):
              	t_0 = math.sqrt(2.0) / B
              	tmp = 0
              	if B <= -1.4e+154:
              		tmp = t_0 * math.sqrt((F * (C + math.hypot(C, B))))
              	elif B <= -2.55e-27:
              		tmp = t_0 * math.sqrt((F * (-(B * B) / (A - math.hypot(A, B)))))
              	elif B <= 8e+35:
              		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
              	else:
              		tmp = (math.sqrt(F) / math.sqrt(B)) * -math.sqrt(2.0)
              	return tmp
              
              A, C = sort([A, C])
              function code(A, B, C, F)
              	t_0 = Float64(sqrt(2.0) / B)
              	tmp = 0.0
              	if (B <= -1.4e+154)
              		tmp = Float64(t_0 * sqrt(Float64(F * Float64(C + hypot(C, B)))));
              	elseif (B <= -2.55e-27)
              		tmp = Float64(t_0 * sqrt(Float64(F * Float64(Float64(-Float64(B * B)) / Float64(A - hypot(A, B))))));
              	elseif (B <= 8e+35)
              		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
              	else
              		tmp = Float64(Float64(sqrt(F) / sqrt(B)) * Float64(-sqrt(2.0)));
              	end
              	return tmp
              end
              
              A, C = num2cell(sort([A, C])){:}
              function tmp_2 = code(A, B, C, F)
              	t_0 = sqrt(2.0) / B;
              	tmp = 0.0;
              	if (B <= -1.4e+154)
              		tmp = t_0 * sqrt((F * (C + hypot(C, B))));
              	elseif (B <= -2.55e-27)
              		tmp = t_0 * sqrt((F * (-(B * B) / (A - hypot(A, B)))));
              	elseif (B <= 8e+35)
              		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
              	else
              		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
              	end
              	tmp_2 = tmp;
              end
              
              NOTE: A and C should be sorted in increasing order before calling this function.
              code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, If[LessEqual[B, -1.4e+154], N[(t$95$0 * N[Sqrt[N[(F * N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -2.55e-27], N[(t$95$0 * N[Sqrt[N[(F * N[((-N[(B * B), $MachinePrecision]) / N[(A - N[Sqrt[A ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 8e+35], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(N[(N[Sqrt[F], $MachinePrecision] / N[Sqrt[B], $MachinePrecision]), $MachinePrecision] * (-N[Sqrt[2.0], $MachinePrecision])), $MachinePrecision]]]]]
              
              \begin{array}{l}
              [A, C] = \mathsf{sort}([A, C])\\
              \\
              \begin{array}{l}
              t_0 := \frac{\sqrt{2}}{B}\\
              \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\
              \;\;\;\;t_0 \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\
              
              \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\
              \;\;\;\;t_0 \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\
              
              \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\
              \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
              
              \mathbf{else}:\\
              \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 4 regimes
              2. if B < -1.4e154

                1. Initial program 0.0%

                  \[\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} \]
                2. Step-by-step derivation
                  1. associate-*l*0.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                  2. unpow20.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                  3. +-commutative0.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  4. unpow20.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  5. associate-*l*0.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                  6. unpow20.0%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                3. Simplified0.0%

                  \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                4. Step-by-step derivation
                  1. sqrt-prod0.0%

                    \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  2. *-commutative0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  3. *-commutative0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  4. associate-+l+0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  5. unpow20.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  6. hypot-udef0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  7. associate-+r+0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  8. +-commutative0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  9. associate-+r+0.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. Applied egg-rr0.0%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                6. Taylor expanded in B around -inf 1.6%

                  \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                7. Step-by-step derivation
                  1. mul-1-neg1.6%

                    \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                8. Simplified1.6%

                  \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                9. Taylor expanded in A around 0 2.6%

                  \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                10. Step-by-step derivation
                  1. +-commutative2.6%

                    \[\leadsto \sqrt{\left(C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                  2. unpow22.6%

                    \[\leadsto \sqrt{\left(C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                  3. unpow22.6%

                    \[\leadsto \sqrt{\left(C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                  4. hypot-def42.6%

                    \[\leadsto \sqrt{\left(C + \color{blue}{\mathsf{hypot}\left(C, B\right)}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                11. Simplified42.6%

                  \[\leadsto \color{blue}{\sqrt{\left(C + \mathsf{hypot}\left(C, B\right)\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]

                if -1.4e154 < B < -2.55e-27

                1. Initial program 24.2%

                  \[\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} \]
                2. Step-by-step derivation
                  1. associate-*l*24.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                  2. unpow224.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                  3. +-commutative24.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  4. unpow224.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  5. associate-*l*24.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                  6. unpow224.2%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                3. Simplified24.2%

                  \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                4. Step-by-step derivation
                  1. sqrt-prod27.7%

                    \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  2. *-commutative27.7%

                    \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  3. *-commutative27.7%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  4. associate-+l+28.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  5. unpow228.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  6. hypot-udef33.2%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  7. associate-+r+33.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  8. +-commutative33.0%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  9. associate-+r+32.8%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. Applied egg-rr32.8%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                6. Taylor expanded in B around -inf 51.7%

                  \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                7. Step-by-step derivation
                  1. mul-1-neg51.7%

                    \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                8. Simplified51.7%

                  \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                9. Taylor expanded in C around 0 41.3%

                  \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
                10. Step-by-step derivation
                  1. +-commutative41.3%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                  2. unpow241.3%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                  3. unpow241.3%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                  4. hypot-def42.7%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
                11. Simplified42.7%

                  \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
                12. Step-by-step derivation
                  1. flip-+38.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \mathsf{hypot}\left(A, B\right) \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
                  2. hypot-udef38.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\sqrt{A \cdot A + B \cdot B}} \cdot \mathsf{hypot}\left(A, B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  3. hypot-udef38.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \sqrt{A \cdot A + B \cdot B} \cdot \color{blue}{\sqrt{A \cdot A + B \cdot B}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  4. add-sqr-sqrt38.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{A \cdot A - \color{blue}{\left(A \cdot A + B \cdot B\right)}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                13. Applied egg-rr38.2%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{A \cdot A - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]
                14. Step-by-step derivation
                  1. unpow238.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{{A}^{2}} - \left(A \cdot A + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  2. unpow238.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left(\color{blue}{{A}^{2}} + B \cdot B\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  3. unpow238.2%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{{A}^{2} - \left({A}^{2} + \color{blue}{{B}^{2}}\right)}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  4. associate--r+44.8%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{\left({A}^{2} - {A}^{2}\right) - {B}^{2}}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  5. +-inverses50.1%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{\color{blue}{0} - {B}^{2}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                  6. unpow250.1%

                    \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\frac{0 - \color{blue}{B \cdot B}}{A - \mathsf{hypot}\left(A, B\right)} \cdot F} \]
                15. Simplified50.1%

                  \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\frac{0 - B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}} \cdot F} \]

                if -2.55e-27 < B < 7.9999999999999997e35

                1. Initial program 23.7%

                  \[\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} \]
                2. Step-by-step derivation
                  1. associate-*l*23.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                  2. unpow223.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                  3. +-commutative23.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  4. unpow223.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                  5. associate-*l*23.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                  6. unpow223.7%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                3. Simplified23.7%

                  \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                4. Taylor expanded in A around -inf 20.8%

                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                5. Step-by-step derivation
                  1. sqrt-prod21.4%

                    \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  2. *-commutative21.4%

                    \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  3. cancel-sign-sub-inv21.4%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  4. *-commutative21.4%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  5. metadata-eval21.4%

                    \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                6. Applied egg-rr21.4%

                  \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                if 7.9999999999999997e35 < B

                1. Initial program 10.0%

                  \[\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} \]
                2. Step-by-step derivation
                  1. Simplified13.4%

                    \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                  2. Taylor expanded in A around 0 20.5%

                    \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                  3. Step-by-step derivation
                    1. mul-1-neg20.5%

                      \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                    2. *-commutative20.5%

                      \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                    3. distribute-rgt-neg-in20.5%

                      \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                    4. *-commutative20.5%

                      \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                    5. unpow220.5%

                      \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                    6. unpow220.5%

                      \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                    7. hypot-def43.6%

                      \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                  4. Simplified43.6%

                    \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                  5. Taylor expanded in C around 0 33.4%

                    \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                  6. Step-by-step derivation
                    1. mul-1-neg33.4%

                      \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                  7. Simplified33.4%

                    \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                  8. Step-by-step derivation
                    1. sqrt-div53.3%

                      \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                  9. Applied egg-rr53.3%

                    \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                3. Recombined 4 regimes into one program.
                4. Final simplification35.8%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.4 \cdot 10^{+154}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\ \mathbf{elif}\;B \leq -2.55 \cdot 10^{-27}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \frac{-B \cdot B}{A - \mathsf{hypot}\left(A, B\right)}}\\ \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \]

                Alternative 7: 48.2% accurate, 2.0× speedup?

                \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\ \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \end{array} \]
                NOTE: A and C should be sorted in increasing order before calling this function.
                (FPCore (A B C F)
                 :precision binary64
                 (if (<= B -1.9e+51)
                   (* (/ (sqrt 2.0) B) (sqrt (* F (+ C (hypot C B)))))
                   (if (<= B 8e+35)
                     (-
                      (/
                       (* (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C)))))) (sqrt (* 2.0 C)))
                       (- (* B B) (* 4.0 (* A C)))))
                     (* (/ (sqrt F) (sqrt B)) (- (sqrt 2.0))))))
                assert(A < C);
                double code(double A, double B, double C, double F) {
                	double tmp;
                	if (B <= -1.9e+51) {
                		tmp = (sqrt(2.0) / B) * sqrt((F * (C + hypot(C, B))));
                	} else if (B <= 8e+35) {
                		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                	} else {
                		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
                	}
                	return tmp;
                }
                
                assert A < C;
                public static double code(double A, double B, double C, double F) {
                	double tmp;
                	if (B <= -1.9e+51) {
                		tmp = (Math.sqrt(2.0) / B) * Math.sqrt((F * (C + Math.hypot(C, B))));
                	} else if (B <= 8e+35) {
                		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                	} else {
                		tmp = (Math.sqrt(F) / Math.sqrt(B)) * -Math.sqrt(2.0);
                	}
                	return tmp;
                }
                
                [A, C] = sort([A, C])
                def code(A, B, C, F):
                	tmp = 0
                	if B <= -1.9e+51:
                		tmp = (math.sqrt(2.0) / B) * math.sqrt((F * (C + math.hypot(C, B))))
                	elif B <= 8e+35:
                		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
                	else:
                		tmp = (math.sqrt(F) / math.sqrt(B)) * -math.sqrt(2.0)
                	return tmp
                
                A, C = sort([A, C])
                function code(A, B, C, F)
                	tmp = 0.0
                	if (B <= -1.9e+51)
                		tmp = Float64(Float64(sqrt(2.0) / B) * sqrt(Float64(F * Float64(C + hypot(C, B)))));
                	elseif (B <= 8e+35)
                		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
                	else
                		tmp = Float64(Float64(sqrt(F) / sqrt(B)) * Float64(-sqrt(2.0)));
                	end
                	return tmp
                end
                
                A, C = num2cell(sort([A, C])){:}
                function tmp_2 = code(A, B, C, F)
                	tmp = 0.0;
                	if (B <= -1.9e+51)
                		tmp = (sqrt(2.0) / B) * sqrt((F * (C + hypot(C, B))));
                	elseif (B <= 8e+35)
                		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                	else
                		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
                	end
                	tmp_2 = tmp;
                end
                
                NOTE: A and C should be sorted in increasing order before calling this function.
                code[A_, B_, C_, F_] := If[LessEqual[B, -1.9e+51], N[(N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision] * N[Sqrt[N[(F * N[(C + N[Sqrt[C ^ 2 + B ^ 2], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 8e+35], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(N[(N[Sqrt[F], $MachinePrecision] / N[Sqrt[B], $MachinePrecision]), $MachinePrecision] * (-N[Sqrt[2.0], $MachinePrecision])), $MachinePrecision]]]
                
                \begin{array}{l}
                [A, C] = \mathsf{sort}([A, C])\\
                \\
                \begin{array}{l}
                \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\
                \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\
                
                \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\
                \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                
                \mathbf{else}:\\
                \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 3 regimes
                2. if B < -1.8999999999999999e51

                  1. Initial program 9.0%

                    \[\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} \]
                  2. Step-by-step derivation
                    1. associate-*l*9.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                    2. unpow29.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                    3. +-commutative9.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                    4. unpow29.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                    5. associate-*l*9.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                    6. unpow29.0%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                  3. Simplified9.0%

                    \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                  4. Step-by-step derivation
                    1. sqrt-prod12.0%

                      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    2. *-commutative12.0%

                      \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    3. *-commutative12.0%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    4. associate-+l+12.0%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    5. unpow212.0%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    6. hypot-udef12.2%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    7. associate-+r+12.1%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    8. +-commutative12.1%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    9. associate-+r+12.0%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  5. Applied egg-rr12.0%

                    \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  6. Taylor expanded in B around -inf 25.6%

                    \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  7. Step-by-step derivation
                    1. mul-1-neg25.6%

                      \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  8. Simplified25.6%

                    \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  9. Taylor expanded in A around 0 21.9%

                    \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                  10. Step-by-step derivation
                    1. +-commutative21.9%

                      \[\leadsto \sqrt{\left(C + \sqrt{\color{blue}{{C}^{2} + {B}^{2}}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                    2. unpow221.9%

                      \[\leadsto \sqrt{\left(C + \sqrt{\color{blue}{C \cdot C} + {B}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                    3. unpow221.9%

                      \[\leadsto \sqrt{\left(C + \sqrt{C \cdot C + \color{blue}{B \cdot B}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                    4. hypot-def45.4%

                      \[\leadsto \sqrt{\left(C + \color{blue}{\mathsf{hypot}\left(C, B\right)}\right) \cdot F} \cdot \frac{\sqrt{2}}{B} \]
                  11. Simplified45.4%

                    \[\leadsto \color{blue}{\sqrt{\left(C + \mathsf{hypot}\left(C, B\right)\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]

                  if -1.8999999999999999e51 < B < 7.9999999999999997e35

                  1. Initial program 24.2%

                    \[\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} \]
                  2. Step-by-step derivation
                    1. associate-*l*24.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                    2. unpow224.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                    3. +-commutative24.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                    4. unpow224.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                    5. associate-*l*24.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                    6. unpow224.2%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                  3. Simplified24.2%

                    \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                  4. Taylor expanded in A around -inf 19.8%

                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  5. Step-by-step derivation
                    1. sqrt-prod20.2%

                      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    2. *-commutative20.2%

                      \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    3. cancel-sign-sub-inv20.2%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    4. *-commutative20.2%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    5. metadata-eval20.2%

                      \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                  6. Applied egg-rr20.2%

                    \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                  if 7.9999999999999997e35 < B

                  1. Initial program 10.0%

                    \[\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} \]
                  2. Step-by-step derivation
                    1. Simplified13.4%

                      \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                    2. Taylor expanded in A around 0 20.5%

                      \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                    3. Step-by-step derivation
                      1. mul-1-neg20.5%

                        \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                      2. *-commutative20.5%

                        \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                      3. distribute-rgt-neg-in20.5%

                        \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                      4. *-commutative20.5%

                        \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                      5. unpow220.5%

                        \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                      6. unpow220.5%

                        \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                      7. hypot-def43.6%

                        \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                    4. Simplified43.6%

                      \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                    5. Taylor expanded in C around 0 33.4%

                      \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                    6. Step-by-step derivation
                      1. mul-1-neg33.4%

                        \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                    7. Simplified33.4%

                      \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                    8. Step-by-step derivation
                      1. sqrt-div53.3%

                        \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                    9. Applied egg-rr53.3%

                      \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                  3. Recombined 3 regimes into one program.
                  4. Final simplification33.6%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{F \cdot \left(C + \mathsf{hypot}\left(C, B\right)\right)}\\ \mathbf{elif}\;B \leq 8 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \]

                  Alternative 8: 46.7% accurate, 2.0× speedup?

                  \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 1.45 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \end{array} \]
                  NOTE: A and C should be sorted in increasing order before calling this function.
                  (FPCore (A B C F)
                   :precision binary64
                   (if (<= B -1.9e+51)
                     (* (/ (sqrt 2.0) B) (sqrt (* B (- F))))
                     (if (<= B 1.45e+35)
                       (-
                        (/
                         (* (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C)))))) (sqrt (* 2.0 C)))
                         (- (* B B) (* 4.0 (* A C)))))
                       (* (/ (sqrt F) (sqrt B)) (- (sqrt 2.0))))))
                  assert(A < C);
                  double code(double A, double B, double C, double F) {
                  	double tmp;
                  	if (B <= -1.9e+51) {
                  		tmp = (sqrt(2.0) / B) * sqrt((B * -F));
                  	} else if (B <= 1.45e+35) {
                  		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                  	} else {
                  		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
                  	}
                  	return tmp;
                  }
                  
                  NOTE: A and C should be sorted in increasing order before calling this function.
                  real(8) function code(a, b, c, f)
                      real(8), intent (in) :: a
                      real(8), intent (in) :: b
                      real(8), intent (in) :: c
                      real(8), intent (in) :: f
                      real(8) :: tmp
                      if (b <= (-1.9d+51)) then
                          tmp = (sqrt(2.0d0) / b) * sqrt((b * -f))
                      else if (b <= 1.45d+35) then
                          tmp = -((sqrt((2.0d0 * (f * ((b * b) + ((-4.0d0) * (a * c)))))) * sqrt((2.0d0 * c))) / ((b * b) - (4.0d0 * (a * c))))
                      else
                          tmp = (sqrt(f) / sqrt(b)) * -sqrt(2.0d0)
                      end if
                      code = tmp
                  end function
                  
                  assert A < C;
                  public static double code(double A, double B, double C, double F) {
                  	double tmp;
                  	if (B <= -1.9e+51) {
                  		tmp = (Math.sqrt(2.0) / B) * Math.sqrt((B * -F));
                  	} else if (B <= 1.45e+35) {
                  		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                  	} else {
                  		tmp = (Math.sqrt(F) / Math.sqrt(B)) * -Math.sqrt(2.0);
                  	}
                  	return tmp;
                  }
                  
                  [A, C] = sort([A, C])
                  def code(A, B, C, F):
                  	tmp = 0
                  	if B <= -1.9e+51:
                  		tmp = (math.sqrt(2.0) / B) * math.sqrt((B * -F))
                  	elif B <= 1.45e+35:
                  		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
                  	else:
                  		tmp = (math.sqrt(F) / math.sqrt(B)) * -math.sqrt(2.0)
                  	return tmp
                  
                  A, C = sort([A, C])
                  function code(A, B, C, F)
                  	tmp = 0.0
                  	if (B <= -1.9e+51)
                  		tmp = Float64(Float64(sqrt(2.0) / B) * sqrt(Float64(B * Float64(-F))));
                  	elseif (B <= 1.45e+35)
                  		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
                  	else
                  		tmp = Float64(Float64(sqrt(F) / sqrt(B)) * Float64(-sqrt(2.0)));
                  	end
                  	return tmp
                  end
                  
                  A, C = num2cell(sort([A, C])){:}
                  function tmp_2 = code(A, B, C, F)
                  	tmp = 0.0;
                  	if (B <= -1.9e+51)
                  		tmp = (sqrt(2.0) / B) * sqrt((B * -F));
                  	elseif (B <= 1.45e+35)
                  		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                  	else
                  		tmp = (sqrt(F) / sqrt(B)) * -sqrt(2.0);
                  	end
                  	tmp_2 = tmp;
                  end
                  
                  NOTE: A and C should be sorted in increasing order before calling this function.
                  code[A_, B_, C_, F_] := If[LessEqual[B, -1.9e+51], N[(N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision] * N[Sqrt[N[(B * (-F)), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 1.45e+35], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(N[(N[Sqrt[F], $MachinePrecision] / N[Sqrt[B], $MachinePrecision]), $MachinePrecision] * (-N[Sqrt[2.0], $MachinePrecision])), $MachinePrecision]]]
                  
                  \begin{array}{l}
                  [A, C] = \mathsf{sort}([A, C])\\
                  \\
                  \begin{array}{l}
                  \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\
                  \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\
                  
                  \mathbf{elif}\;B \leq 1.45 \cdot 10^{+35}:\\
                  \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if B < -1.8999999999999999e51

                    1. Initial program 9.0%

                      \[\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} \]
                    2. Step-by-step derivation
                      1. associate-*l*9.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                      2. unpow29.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                      3. +-commutative9.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                      4. unpow29.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                      5. associate-*l*9.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                      6. unpow29.0%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                    3. Simplified9.0%

                      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                    4. Step-by-step derivation
                      1. sqrt-prod12.0%

                        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      2. *-commutative12.0%

                        \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      3. *-commutative12.0%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      4. associate-+l+12.0%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      5. unpow212.0%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      6. hypot-udef12.2%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      7. associate-+r+12.1%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      8. +-commutative12.1%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      9. associate-+r+12.0%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    5. Applied egg-rr12.0%

                      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    6. Taylor expanded in B around -inf 25.6%

                      \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    7. Step-by-step derivation
                      1. mul-1-neg25.6%

                        \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    8. Simplified25.6%

                      \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    9. Taylor expanded in C around 0 23.3%

                      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
                    10. Step-by-step derivation
                      1. +-commutative23.3%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                      2. unpow223.3%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                      3. unpow223.3%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                      4. hypot-def45.0%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
                    11. Simplified45.0%

                      \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
                    12. Taylor expanded in B around -inf 42.2%

                      \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-1 \cdot B\right)} \cdot F} \]
                    13. Step-by-step derivation
                      1. mul-1-neg42.2%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]
                    14. Simplified42.2%

                      \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]

                    if -1.8999999999999999e51 < B < 1.44999999999999997e35

                    1. Initial program 24.2%

                      \[\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} \]
                    2. Step-by-step derivation
                      1. associate-*l*24.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                      2. unpow224.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                      3. +-commutative24.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                      4. unpow224.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                      5. associate-*l*24.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                      6. unpow224.2%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                    3. Simplified24.2%

                      \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                    4. Taylor expanded in A around -inf 19.8%

                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    5. Step-by-step derivation
                      1. sqrt-prod20.2%

                        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      2. *-commutative20.2%

                        \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      3. cancel-sign-sub-inv20.2%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      4. *-commutative20.2%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      5. metadata-eval20.2%

                        \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                    6. Applied egg-rr20.2%

                      \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                    if 1.44999999999999997e35 < B

                    1. Initial program 10.0%

                      \[\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} \]
                    2. Step-by-step derivation
                      1. Simplified13.4%

                        \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                      2. Taylor expanded in A around 0 20.5%

                        \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                      3. Step-by-step derivation
                        1. mul-1-neg20.5%

                          \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                        2. *-commutative20.5%

                          \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                        3. distribute-rgt-neg-in20.5%

                          \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                        4. *-commutative20.5%

                          \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                        5. unpow220.5%

                          \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                        6. unpow220.5%

                          \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                        7. hypot-def43.6%

                          \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                      4. Simplified43.6%

                        \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                      5. Taylor expanded in C around 0 33.4%

                        \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                      6. Step-by-step derivation
                        1. mul-1-neg33.4%

                          \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                      7. Simplified33.4%

                        \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                      8. Step-by-step derivation
                        1. sqrt-div53.3%

                          \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                      9. Applied egg-rr53.3%

                        \[\leadsto -\sqrt{2} \cdot \color{blue}{\frac{\sqrt{F}}{\sqrt{B}}} \]
                    3. Recombined 3 regimes into one program.
                    4. Final simplification32.9%

                      \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 1.45 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{F}}{\sqrt{B}} \cdot \left(-\sqrt{2}\right)\\ \end{array} \]

                    Alternative 9: 42.7% accurate, 2.7× speedup?

                    \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \frac{\sqrt{2}}{B}\\ \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;t_0 \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 1.9 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;t_0 \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\ \end{array} \end{array} \]
                    NOTE: A and C should be sorted in increasing order before calling this function.
                    (FPCore (A B C F)
                     :precision binary64
                     (let* ((t_0 (/ (sqrt 2.0) B)))
                       (if (<= B -2e+51)
                         (* t_0 (sqrt (* B (- F))))
                         (if (<= B 1.9e+35)
                           (-
                            (/
                             (* (sqrt (* 2.0 (* F (+ (* B B) (* -4.0 (* A C)))))) (sqrt (* 2.0 C)))
                             (- (* B B) (* 4.0 (* A C)))))
                           (* t_0 (- (sqrt (+ (* B F) (* F C)))))))))
                    assert(A < C);
                    double code(double A, double B, double C, double F) {
                    	double t_0 = sqrt(2.0) / B;
                    	double tmp;
                    	if (B <= -2e+51) {
                    		tmp = t_0 * sqrt((B * -F));
                    	} else if (B <= 1.9e+35) {
                    		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                    	} else {
                    		tmp = t_0 * -sqrt(((B * F) + (F * C)));
                    	}
                    	return tmp;
                    }
                    
                    NOTE: A and C should be sorted in increasing order before calling this function.
                    real(8) function code(a, b, c, f)
                        real(8), intent (in) :: a
                        real(8), intent (in) :: b
                        real(8), intent (in) :: c
                        real(8), intent (in) :: f
                        real(8) :: t_0
                        real(8) :: tmp
                        t_0 = sqrt(2.0d0) / b
                        if (b <= (-2d+51)) then
                            tmp = t_0 * sqrt((b * -f))
                        else if (b <= 1.9d+35) then
                            tmp = -((sqrt((2.0d0 * (f * ((b * b) + ((-4.0d0) * (a * c)))))) * sqrt((2.0d0 * c))) / ((b * b) - (4.0d0 * (a * c))))
                        else
                            tmp = t_0 * -sqrt(((b * f) + (f * c)))
                        end if
                        code = tmp
                    end function
                    
                    assert A < C;
                    public static double code(double A, double B, double C, double F) {
                    	double t_0 = Math.sqrt(2.0) / B;
                    	double tmp;
                    	if (B <= -2e+51) {
                    		tmp = t_0 * Math.sqrt((B * -F));
                    	} else if (B <= 1.9e+35) {
                    		tmp = -((Math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * Math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                    	} else {
                    		tmp = t_0 * -Math.sqrt(((B * F) + (F * C)));
                    	}
                    	return tmp;
                    }
                    
                    [A, C] = sort([A, C])
                    def code(A, B, C, F):
                    	t_0 = math.sqrt(2.0) / B
                    	tmp = 0
                    	if B <= -2e+51:
                    		tmp = t_0 * math.sqrt((B * -F))
                    	elif B <= 1.9e+35:
                    		tmp = -((math.sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * math.sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))))
                    	else:
                    		tmp = t_0 * -math.sqrt(((B * F) + (F * C)))
                    	return tmp
                    
                    A, C = sort([A, C])
                    function code(A, B, C, F)
                    	t_0 = Float64(sqrt(2.0) / B)
                    	tmp = 0.0
                    	if (B <= -2e+51)
                    		tmp = Float64(t_0 * sqrt(Float64(B * Float64(-F))));
                    	elseif (B <= 1.9e+35)
                    		tmp = Float64(-Float64(Float64(sqrt(Float64(2.0 * Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))))) * sqrt(Float64(2.0 * C))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
                    	else
                    		tmp = Float64(t_0 * Float64(-sqrt(Float64(Float64(B * F) + Float64(F * C)))));
                    	end
                    	return tmp
                    end
                    
                    A, C = num2cell(sort([A, C])){:}
                    function tmp_2 = code(A, B, C, F)
                    	t_0 = sqrt(2.0) / B;
                    	tmp = 0.0;
                    	if (B <= -2e+51)
                    		tmp = t_0 * sqrt((B * -F));
                    	elseif (B <= 1.9e+35)
                    		tmp = -((sqrt((2.0 * (F * ((B * B) + (-4.0 * (A * C)))))) * sqrt((2.0 * C))) / ((B * B) - (4.0 * (A * C))));
                    	else
                    		tmp = t_0 * -sqrt(((B * F) + (F * C)));
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    NOTE: A and C should be sorted in increasing order before calling this function.
                    code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, If[LessEqual[B, -2e+51], N[(t$95$0 * N[Sqrt[N[(B * (-F)), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 1.9e+35], (-N[(N[(N[Sqrt[N[(2.0 * N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), N[(t$95$0 * (-N[Sqrt[N[(N[(B * F), $MachinePrecision] + N[(F * C), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])), $MachinePrecision]]]]
                    
                    \begin{array}{l}
                    [A, C] = \mathsf{sort}([A, C])\\
                    \\
                    \begin{array}{l}
                    t_0 := \frac{\sqrt{2}}{B}\\
                    \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\
                    \;\;\;\;t_0 \cdot \sqrt{B \cdot \left(-F\right)}\\
                    
                    \mathbf{elif}\;B \leq 1.9 \cdot 10^{+35}:\\
                    \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;t_0 \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 3 regimes
                    2. if B < -2e51

                      1. Initial program 9.0%

                        \[\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} \]
                      2. Step-by-step derivation
                        1. associate-*l*9.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                        2. unpow29.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                        3. +-commutative9.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                        4. unpow29.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                        5. associate-*l*9.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                        6. unpow29.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                      3. Simplified9.0%

                        \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                      4. Step-by-step derivation
                        1. sqrt-prod12.0%

                          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        2. *-commutative12.0%

                          \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        3. *-commutative12.0%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        4. associate-+l+12.0%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. unpow212.0%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        6. hypot-udef12.2%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        7. associate-+r+12.1%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        8. +-commutative12.1%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        9. associate-+r+12.0%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      5. Applied egg-rr12.0%

                        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      6. Taylor expanded in B around -inf 25.6%

                        \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      7. Step-by-step derivation
                        1. mul-1-neg25.6%

                          \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      8. Simplified25.6%

                        \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      9. Taylor expanded in C around 0 23.3%

                        \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
                      10. Step-by-step derivation
                        1. +-commutative23.3%

                          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                        2. unpow223.3%

                          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                        3. unpow223.3%

                          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                        4. hypot-def45.0%

                          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
                      11. Simplified45.0%

                        \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
                      12. Taylor expanded in B around -inf 42.2%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-1 \cdot B\right)} \cdot F} \]
                      13. Step-by-step derivation
                        1. mul-1-neg42.2%

                          \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]
                      14. Simplified42.2%

                        \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]

                      if -2e51 < B < 1.9e35

                      1. Initial program 24.2%

                        \[\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} \]
                      2. Step-by-step derivation
                        1. associate-*l*24.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                        2. unpow224.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                        3. +-commutative24.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                        4. unpow224.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                        5. associate-*l*24.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                        6. unpow224.2%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                      3. Simplified24.2%

                        \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                      4. Taylor expanded in A around -inf 19.8%

                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      5. Step-by-step derivation
                        1. sqrt-prod20.2%

                          \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        2. *-commutative20.2%

                          \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        3. cancel-sign-sub-inv20.2%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \color{blue}{\left(B \cdot B + \left(-4\right) \cdot \left(A \cdot C\right)\right)}\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        4. *-commutative20.2%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \left(-4\right) \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. metadata-eval20.2%

                          \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + \color{blue}{-4} \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                      6. Applied egg-rr20.2%

                        \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{2 \cdot C}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                      if 1.9e35 < B

                      1. Initial program 10.0%

                        \[\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} \]
                      2. Step-by-step derivation
                        1. Simplified13.4%

                          \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                        2. Taylor expanded in A around 0 20.5%

                          \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                        3. Step-by-step derivation
                          1. mul-1-neg20.5%

                            \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                          2. *-commutative20.5%

                            \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                          3. distribute-rgt-neg-in20.5%

                            \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                          4. *-commutative20.5%

                            \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                          5. unpow220.5%

                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                          6. unpow220.5%

                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                          7. hypot-def43.6%

                            \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                        4. Simplified43.6%

                          \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                        5. Taylor expanded in C around 0 40.1%

                          \[\leadsto \sqrt{\color{blue}{F \cdot B + C \cdot F}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                      3. Recombined 3 regimes into one program.
                      4. Final simplification30.0%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 1.9 \cdot 10^{+35}:\\ \;\;\;\;-\frac{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right)} \cdot \sqrt{2 \cdot C}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\ \end{array} \]

                      Alternative 10: 36.0% accurate, 2.9× speedup?

                      \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\ t_1 := \sqrt{F \cdot C}\\ \mathbf{if}\;B \leq -7.2 \cdot 10^{+152}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_1\right)\\ \mathbf{elif}\;B \leq -7 \cdot 10^{+77}:\\ \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot t_0\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{t_0}\\ \mathbf{elif}\;B \leq -3.6 \cdot 10^{+51}:\\ \;\;\;\;\frac{-2 \cdot \left(-B \cdot t_1\right)}{t_0}\\ \mathbf{elif}\;B \leq 5500:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{t_0}\\ \mathbf{else}:\\ \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\ \end{array} \end{array} \]
                      NOTE: A and C should be sorted in increasing order before calling this function.
                      (FPCore (A B C F)
                       :precision binary64
                       (let* ((t_0 (- (* B B) (* 4.0 (* A C)))) (t_1 (sqrt (* F C))))
                         (if (<= B -7.2e+152)
                           (* 2.0 (* (/ 1.0 B) t_1))
                           (if (<= B -7e+77)
                             (/ (- (sqrt (* (* 2.0 (* F t_0)) (+ A (- C B))))) t_0)
                             (if (<= B -3.6e+51)
                               (/ (* -2.0 (- (* B t_1))) t_0)
                               (if (<= B 5500.0)
                                 (/ (- (sqrt (* (* F (+ (* B B) (* -4.0 (* A C)))) (* C 4.0)))) t_0)
                                 (* (/ (- (sqrt 2.0)) B) (sqrt (* B F)))))))))
                      assert(A < C);
                      double code(double A, double B, double C, double F) {
                      	double t_0 = (B * B) - (4.0 * (A * C));
                      	double t_1 = sqrt((F * C));
                      	double tmp;
                      	if (B <= -7.2e+152) {
                      		tmp = 2.0 * ((1.0 / B) * t_1);
                      	} else if (B <= -7e+77) {
                      		tmp = -sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                      	} else if (B <= -3.6e+51) {
                      		tmp = (-2.0 * -(B * t_1)) / t_0;
                      	} else if (B <= 5500.0) {
                      		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                      	} else {
                      		tmp = (-sqrt(2.0) / B) * sqrt((B * F));
                      	}
                      	return tmp;
                      }
                      
                      NOTE: A and C should be sorted in increasing order before calling this function.
                      real(8) function code(a, b, c, f)
                          real(8), intent (in) :: a
                          real(8), intent (in) :: b
                          real(8), intent (in) :: c
                          real(8), intent (in) :: f
                          real(8) :: t_0
                          real(8) :: t_1
                          real(8) :: tmp
                          t_0 = (b * b) - (4.0d0 * (a * c))
                          t_1 = sqrt((f * c))
                          if (b <= (-7.2d+152)) then
                              tmp = 2.0d0 * ((1.0d0 / b) * t_1)
                          else if (b <= (-7d+77)) then
                              tmp = -sqrt(((2.0d0 * (f * t_0)) * (a + (c - b)))) / t_0
                          else if (b <= (-3.6d+51)) then
                              tmp = ((-2.0d0) * -(b * t_1)) / t_0
                          else if (b <= 5500.0d0) then
                              tmp = -sqrt(((f * ((b * b) + ((-4.0d0) * (a * c)))) * (c * 4.0d0))) / t_0
                          else
                              tmp = (-sqrt(2.0d0) / b) * sqrt((b * f))
                          end if
                          code = tmp
                      end function
                      
                      assert A < C;
                      public static double code(double A, double B, double C, double F) {
                      	double t_0 = (B * B) - (4.0 * (A * C));
                      	double t_1 = Math.sqrt((F * C));
                      	double tmp;
                      	if (B <= -7.2e+152) {
                      		tmp = 2.0 * ((1.0 / B) * t_1);
                      	} else if (B <= -7e+77) {
                      		tmp = -Math.sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                      	} else if (B <= -3.6e+51) {
                      		tmp = (-2.0 * -(B * t_1)) / t_0;
                      	} else if (B <= 5500.0) {
                      		tmp = -Math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                      	} else {
                      		tmp = (-Math.sqrt(2.0) / B) * Math.sqrt((B * F));
                      	}
                      	return tmp;
                      }
                      
                      [A, C] = sort([A, C])
                      def code(A, B, C, F):
                      	t_0 = (B * B) - (4.0 * (A * C))
                      	t_1 = math.sqrt((F * C))
                      	tmp = 0
                      	if B <= -7.2e+152:
                      		tmp = 2.0 * ((1.0 / B) * t_1)
                      	elif B <= -7e+77:
                      		tmp = -math.sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0
                      	elif B <= -3.6e+51:
                      		tmp = (-2.0 * -(B * t_1)) / t_0
                      	elif B <= 5500.0:
                      		tmp = -math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0
                      	else:
                      		tmp = (-math.sqrt(2.0) / B) * math.sqrt((B * F))
                      	return tmp
                      
                      A, C = sort([A, C])
                      function code(A, B, C, F)
                      	t_0 = Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))
                      	t_1 = sqrt(Float64(F * C))
                      	tmp = 0.0
                      	if (B <= -7.2e+152)
                      		tmp = Float64(2.0 * Float64(Float64(1.0 / B) * t_1));
                      	elseif (B <= -7e+77)
                      		tmp = Float64(Float64(-sqrt(Float64(Float64(2.0 * Float64(F * t_0)) * Float64(A + Float64(C - B))))) / t_0);
                      	elseif (B <= -3.6e+51)
                      		tmp = Float64(Float64(-2.0 * Float64(-Float64(B * t_1))) / t_0);
                      	elseif (B <= 5500.0)
                      		tmp = Float64(Float64(-sqrt(Float64(Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))) * Float64(C * 4.0)))) / t_0);
                      	else
                      		tmp = Float64(Float64(Float64(-sqrt(2.0)) / B) * sqrt(Float64(B * F)));
                      	end
                      	return tmp
                      end
                      
                      A, C = num2cell(sort([A, C])){:}
                      function tmp_2 = code(A, B, C, F)
                      	t_0 = (B * B) - (4.0 * (A * C));
                      	t_1 = sqrt((F * C));
                      	tmp = 0.0;
                      	if (B <= -7.2e+152)
                      		tmp = 2.0 * ((1.0 / B) * t_1);
                      	elseif (B <= -7e+77)
                      		tmp = -sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                      	elseif (B <= -3.6e+51)
                      		tmp = (-2.0 * -(B * t_1)) / t_0;
                      	elseif (B <= 5500.0)
                      		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                      	else
                      		tmp = (-sqrt(2.0) / B) * sqrt((B * F));
                      	end
                      	tmp_2 = tmp;
                      end
                      
                      NOTE: A and C should be sorted in increasing order before calling this function.
                      code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[Sqrt[N[(F * C), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[B, -7.2e+152], N[(2.0 * N[(N[(1.0 / B), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -7e+77], N[((-N[Sqrt[N[(N[(2.0 * N[(F * t$95$0), $MachinePrecision]), $MachinePrecision] * N[(A + N[(C - B), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$0), $MachinePrecision], If[LessEqual[B, -3.6e+51], N[(N[(-2.0 * (-N[(B * t$95$1), $MachinePrecision])), $MachinePrecision] / t$95$0), $MachinePrecision], If[LessEqual[B, 5500.0], N[((-N[Sqrt[N[(N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$0), $MachinePrecision], N[(N[((-N[Sqrt[2.0], $MachinePrecision]) / B), $MachinePrecision] * N[Sqrt[N[(B * F), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]]]
                      
                      \begin{array}{l}
                      [A, C] = \mathsf{sort}([A, C])\\
                      \\
                      \begin{array}{l}
                      t_0 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\
                      t_1 := \sqrt{F \cdot C}\\
                      \mathbf{if}\;B \leq -7.2 \cdot 10^{+152}:\\
                      \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_1\right)\\
                      
                      \mathbf{elif}\;B \leq -7 \cdot 10^{+77}:\\
                      \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot t_0\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{t_0}\\
                      
                      \mathbf{elif}\;B \leq -3.6 \cdot 10^{+51}:\\
                      \;\;\;\;\frac{-2 \cdot \left(-B \cdot t_1\right)}{t_0}\\
                      
                      \mathbf{elif}\;B \leq 5500:\\
                      \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{t_0}\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 5 regimes
                      2. if B < -7.1999999999999998e152

                        1. Initial program 0.1%

                          \[\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} \]
                        2. Step-by-step derivation
                          1. associate-*l*0.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                          2. unpow20.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                          3. +-commutative0.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          4. unpow20.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          5. associate-*l*0.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                          6. unpow20.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                        3. Simplified0.1%

                          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                        4. Taylor expanded in A around -inf 0.0%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. Taylor expanded in B around -inf 6.3%

                          \[\leadsto \color{blue}{2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]

                        if -7.1999999999999998e152 < B < -7.0000000000000003e77

                        1. Initial program 29.8%

                          \[\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} \]
                        2. Step-by-step derivation
                          1. associate-*l*29.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                          2. unpow229.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                          3. +-commutative29.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          4. unpow229.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          5. associate-*l*29.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                          6. unpow229.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                        3. Simplified29.8%

                          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                        4. Taylor expanded in B around -inf 28.9%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(A + \left(C + -1 \cdot B\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. Step-by-step derivation
                          1. mul-1-neg28.9%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(A + \left(C + \color{blue}{\left(-B\right)}\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          2. unsub-neg28.9%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(A + \color{blue}{\left(C - B\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        6. Simplified28.9%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(A + \left(C - B\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                        if -7.0000000000000003e77 < B < -3.60000000000000011e51

                        1. Initial program 3.8%

                          \[\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} \]
                        2. Step-by-step derivation
                          1. associate-*l*3.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                          2. unpow23.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                          3. +-commutative3.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          4. unpow23.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          5. associate-*l*3.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                          6. unpow23.8%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                        3. Simplified3.8%

                          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                        4. Taylor expanded in A around -inf 4.1%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. Taylor expanded in B around -inf 4.9%

                          \[\leadsto \frac{-\color{blue}{-2 \cdot \left(\sqrt{C \cdot F} \cdot B\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                        if -3.60000000000000011e51 < B < 5500

                        1. Initial program 23.2%

                          \[\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} \]
                        2. Step-by-step derivation
                          1. associate-*l*23.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                          2. unpow223.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                          3. +-commutative23.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          4. unpow223.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                          5. associate-*l*23.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                          6. unpow223.2%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                        3. Simplified23.2%

                          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                        4. Taylor expanded in A around -inf 20.1%

                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        5. Taylor expanded in F around 0 20.1%

                          \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        6. Step-by-step derivation
                          1. associate-*r*20.1%

                            \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          2. cancel-sign-sub-inv20.1%

                            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          3. unpow220.1%

                            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          4. metadata-eval20.1%

                            \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                        7. Simplified20.1%

                          \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                        if 5500 < B

                        1. Initial program 13.0%

                          \[\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} \]
                        2. Step-by-step derivation
                          1. Simplified16.2%

                            \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                          2. Taylor expanded in A around 0 22.9%

                            \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                          3. Step-by-step derivation
                            1. mul-1-neg22.9%

                              \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                            2. *-commutative22.9%

                              \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                            3. distribute-rgt-neg-in22.9%

                              \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                            4. *-commutative22.9%

                              \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                            5. unpow222.9%

                              \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                            6. unpow222.9%

                              \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                            7. hypot-def44.9%

                              \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                          4. Simplified44.9%

                            \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                          5. Taylor expanded in C around 0 40.5%

                            \[\leadsto \color{blue}{\sqrt{F \cdot B}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                        3. Recombined 5 regimes into one program.
                        4. Final simplification23.0%

                          \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -7.2 \cdot 10^{+152}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\ \mathbf{elif}\;B \leq -7 \cdot 10^{+77}:\\ \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -3.6 \cdot 10^{+51}:\\ \;\;\;\;\frac{-2 \cdot \left(-B \cdot \sqrt{F \cdot C}\right)}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq 5500:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\ \end{array} \]

                        Alternative 11: 43.3% accurate, 2.9× speedup?

                        \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \frac{\sqrt{2}}{B}\\ \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;t_0 \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 3700:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;t_0 \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\ \end{array} \end{array} \]
                        NOTE: A and C should be sorted in increasing order before calling this function.
                        (FPCore (A B C F)
                         :precision binary64
                         (let* ((t_0 (/ (sqrt 2.0) B)))
                           (if (<= B -1.9e+51)
                             (* t_0 (sqrt (* B (- F))))
                             (if (<= B 3700.0)
                               (/
                                (- (sqrt (* (* F (+ (* B B) (* -4.0 (* A C)))) (* C 4.0))))
                                (- (* B B) (* 4.0 (* A C))))
                               (* t_0 (- (sqrt (+ (* B F) (* F C)))))))))
                        assert(A < C);
                        double code(double A, double B, double C, double F) {
                        	double t_0 = sqrt(2.0) / B;
                        	double tmp;
                        	if (B <= -1.9e+51) {
                        		tmp = t_0 * sqrt((B * -F));
                        	} else if (B <= 3700.0) {
                        		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                        	} else {
                        		tmp = t_0 * -sqrt(((B * F) + (F * C)));
                        	}
                        	return tmp;
                        }
                        
                        NOTE: A and C should be sorted in increasing order before calling this function.
                        real(8) function code(a, b, c, f)
                            real(8), intent (in) :: a
                            real(8), intent (in) :: b
                            real(8), intent (in) :: c
                            real(8), intent (in) :: f
                            real(8) :: t_0
                            real(8) :: tmp
                            t_0 = sqrt(2.0d0) / b
                            if (b <= (-1.9d+51)) then
                                tmp = t_0 * sqrt((b * -f))
                            else if (b <= 3700.0d0) then
                                tmp = -sqrt(((f * ((b * b) + ((-4.0d0) * (a * c)))) * (c * 4.0d0))) / ((b * b) - (4.0d0 * (a * c)))
                            else
                                tmp = t_0 * -sqrt(((b * f) + (f * c)))
                            end if
                            code = tmp
                        end function
                        
                        assert A < C;
                        public static double code(double A, double B, double C, double F) {
                        	double t_0 = Math.sqrt(2.0) / B;
                        	double tmp;
                        	if (B <= -1.9e+51) {
                        		tmp = t_0 * Math.sqrt((B * -F));
                        	} else if (B <= 3700.0) {
                        		tmp = -Math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                        	} else {
                        		tmp = t_0 * -Math.sqrt(((B * F) + (F * C)));
                        	}
                        	return tmp;
                        }
                        
                        [A, C] = sort([A, C])
                        def code(A, B, C, F):
                        	t_0 = math.sqrt(2.0) / B
                        	tmp = 0
                        	if B <= -1.9e+51:
                        		tmp = t_0 * math.sqrt((B * -F))
                        	elif B <= 3700.0:
                        		tmp = -math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)))
                        	else:
                        		tmp = t_0 * -math.sqrt(((B * F) + (F * C)))
                        	return tmp
                        
                        A, C = sort([A, C])
                        function code(A, B, C, F)
                        	t_0 = Float64(sqrt(2.0) / B)
                        	tmp = 0.0
                        	if (B <= -1.9e+51)
                        		tmp = Float64(t_0 * sqrt(Float64(B * Float64(-F))));
                        	elseif (B <= 3700.0)
                        		tmp = Float64(Float64(-sqrt(Float64(Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))) * Float64(C * 4.0)))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C))));
                        	else
                        		tmp = Float64(t_0 * Float64(-sqrt(Float64(Float64(B * F) + Float64(F * C)))));
                        	end
                        	return tmp
                        end
                        
                        A, C = num2cell(sort([A, C])){:}
                        function tmp_2 = code(A, B, C, F)
                        	t_0 = sqrt(2.0) / B;
                        	tmp = 0.0;
                        	if (B <= -1.9e+51)
                        		tmp = t_0 * sqrt((B * -F));
                        	elseif (B <= 3700.0)
                        		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                        	else
                        		tmp = t_0 * -sqrt(((B * F) + (F * C)));
                        	end
                        	tmp_2 = tmp;
                        end
                        
                        NOTE: A and C should be sorted in increasing order before calling this function.
                        code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision]}, If[LessEqual[B, -1.9e+51], N[(t$95$0 * N[Sqrt[N[(B * (-F)), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 3700.0], N[((-N[Sqrt[N[(N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$0 * (-N[Sqrt[N[(N[(B * F), $MachinePrecision] + N[(F * C), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])), $MachinePrecision]]]]
                        
                        \begin{array}{l}
                        [A, C] = \mathsf{sort}([A, C])\\
                        \\
                        \begin{array}{l}
                        t_0 := \frac{\sqrt{2}}{B}\\
                        \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\
                        \;\;\;\;t_0 \cdot \sqrt{B \cdot \left(-F\right)}\\
                        
                        \mathbf{elif}\;B \leq 3700:\\
                        \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;t_0 \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 3 regimes
                        2. if B < -1.8999999999999999e51

                          1. Initial program 9.0%

                            \[\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} \]
                          2. Step-by-step derivation
                            1. associate-*l*9.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                            2. unpow29.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                            3. +-commutative9.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                            4. unpow29.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                            5. associate-*l*9.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                            6. unpow29.0%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                          3. Simplified9.0%

                            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                          4. Step-by-step derivation
                            1. sqrt-prod12.0%

                              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            2. *-commutative12.0%

                              \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            3. *-commutative12.0%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            4. associate-+l+12.0%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            5. unpow212.0%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            6. hypot-udef12.2%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            7. associate-+r+12.1%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            8. +-commutative12.1%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            9. associate-+r+12.0%

                              \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          5. Applied egg-rr12.0%

                            \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          6. Taylor expanded in B around -inf 25.6%

                            \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          7. Step-by-step derivation
                            1. mul-1-neg25.6%

                              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          8. Simplified25.6%

                            \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          9. Taylor expanded in C around 0 23.3%

                            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
                          10. Step-by-step derivation
                            1. +-commutative23.3%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                            2. unpow223.3%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                            3. unpow223.3%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                            4. hypot-def45.0%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
                          11. Simplified45.0%

                            \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
                          12. Taylor expanded in B around -inf 42.2%

                            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-1 \cdot B\right)} \cdot F} \]
                          13. Step-by-step derivation
                            1. mul-1-neg42.2%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]
                          14. Simplified42.2%

                            \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]

                          if -1.8999999999999999e51 < B < 3700

                          1. Initial program 23.2%

                            \[\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} \]
                          2. Step-by-step derivation
                            1. associate-*l*23.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                            2. unpow223.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                            3. +-commutative23.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                            4. unpow223.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                            5. associate-*l*23.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                            6. unpow223.2%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                          3. Simplified23.2%

                            \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                          4. Taylor expanded in A around -inf 20.1%

                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          5. Taylor expanded in F around 0 20.1%

                            \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          6. Step-by-step derivation
                            1. associate-*r*20.1%

                              \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            2. cancel-sign-sub-inv20.1%

                              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            3. unpow220.1%

                              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            4. metadata-eval20.1%

                              \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                          7. Simplified20.1%

                            \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                          if 3700 < B

                          1. Initial program 13.0%

                            \[\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} \]
                          2. Step-by-step derivation
                            1. Simplified16.2%

                              \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                            2. Taylor expanded in A around 0 22.9%

                              \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                            3. Step-by-step derivation
                              1. mul-1-neg22.9%

                                \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                              2. *-commutative22.9%

                                \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                              3. distribute-rgt-neg-in22.9%

                                \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                              4. *-commutative22.9%

                                \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                              5. unpow222.9%

                                \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                              6. unpow222.9%

                                \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                              7. hypot-def44.9%

                                \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                            4. Simplified44.9%

                              \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                            5. Taylor expanded in C around 0 40.3%

                              \[\leadsto \sqrt{\color{blue}{F \cdot B + C \cdot F}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                          3. Recombined 3 regimes into one program.
                          4. Final simplification30.2%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.9 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 3700:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \left(-\sqrt{B \cdot F + F \cdot C}\right)\\ \end{array} \]

                          Alternative 12: 43.1% accurate, 3.0× speedup?

                          \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 32:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\ \end{array} \end{array} \]
                          NOTE: A and C should be sorted in increasing order before calling this function.
                          (FPCore (A B C F)
                           :precision binary64
                           (if (<= B -2e+51)
                             (* (/ (sqrt 2.0) B) (sqrt (* B (- F))))
                             (if (<= B 32.0)
                               (/
                                (- (sqrt (* (* F (+ (* B B) (* -4.0 (* A C)))) (* C 4.0))))
                                (- (* B B) (* 4.0 (* A C))))
                               (* (/ (- (sqrt 2.0)) B) (sqrt (* B F))))))
                          assert(A < C);
                          double code(double A, double B, double C, double F) {
                          	double tmp;
                          	if (B <= -2e+51) {
                          		tmp = (sqrt(2.0) / B) * sqrt((B * -F));
                          	} else if (B <= 32.0) {
                          		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                          	} else {
                          		tmp = (-sqrt(2.0) / B) * sqrt((B * F));
                          	}
                          	return tmp;
                          }
                          
                          NOTE: A and C should be sorted in increasing order before calling this function.
                          real(8) function code(a, b, c, f)
                              real(8), intent (in) :: a
                              real(8), intent (in) :: b
                              real(8), intent (in) :: c
                              real(8), intent (in) :: f
                              real(8) :: tmp
                              if (b <= (-2d+51)) then
                                  tmp = (sqrt(2.0d0) / b) * sqrt((b * -f))
                              else if (b <= 32.0d0) then
                                  tmp = -sqrt(((f * ((b * b) + ((-4.0d0) * (a * c)))) * (c * 4.0d0))) / ((b * b) - (4.0d0 * (a * c)))
                              else
                                  tmp = (-sqrt(2.0d0) / b) * sqrt((b * f))
                              end if
                              code = tmp
                          end function
                          
                          assert A < C;
                          public static double code(double A, double B, double C, double F) {
                          	double tmp;
                          	if (B <= -2e+51) {
                          		tmp = (Math.sqrt(2.0) / B) * Math.sqrt((B * -F));
                          	} else if (B <= 32.0) {
                          		tmp = -Math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                          	} else {
                          		tmp = (-Math.sqrt(2.0) / B) * Math.sqrt((B * F));
                          	}
                          	return tmp;
                          }
                          
                          [A, C] = sort([A, C])
                          def code(A, B, C, F):
                          	tmp = 0
                          	if B <= -2e+51:
                          		tmp = (math.sqrt(2.0) / B) * math.sqrt((B * -F))
                          	elif B <= 32.0:
                          		tmp = -math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)))
                          	else:
                          		tmp = (-math.sqrt(2.0) / B) * math.sqrt((B * F))
                          	return tmp
                          
                          A, C = sort([A, C])
                          function code(A, B, C, F)
                          	tmp = 0.0
                          	if (B <= -2e+51)
                          		tmp = Float64(Float64(sqrt(2.0) / B) * sqrt(Float64(B * Float64(-F))));
                          	elseif (B <= 32.0)
                          		tmp = Float64(Float64(-sqrt(Float64(Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))) * Float64(C * 4.0)))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C))));
                          	else
                          		tmp = Float64(Float64(Float64(-sqrt(2.0)) / B) * sqrt(Float64(B * F)));
                          	end
                          	return tmp
                          end
                          
                          A, C = num2cell(sort([A, C])){:}
                          function tmp_2 = code(A, B, C, F)
                          	tmp = 0.0;
                          	if (B <= -2e+51)
                          		tmp = (sqrt(2.0) / B) * sqrt((B * -F));
                          	elseif (B <= 32.0)
                          		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                          	else
                          		tmp = (-sqrt(2.0) / B) * sqrt((B * F));
                          	end
                          	tmp_2 = tmp;
                          end
                          
                          NOTE: A and C should be sorted in increasing order before calling this function.
                          code[A_, B_, C_, F_] := If[LessEqual[B, -2e+51], N[(N[(N[Sqrt[2.0], $MachinePrecision] / B), $MachinePrecision] * N[Sqrt[N[(B * (-F)), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 32.0], N[((-N[Sqrt[N[(N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-N[Sqrt[2.0], $MachinePrecision]) / B), $MachinePrecision] * N[Sqrt[N[(B * F), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]
                          
                          \begin{array}{l}
                          [A, C] = \mathsf{sort}([A, C])\\
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\
                          \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\
                          
                          \mathbf{elif}\;B \leq 32:\\
                          \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 3 regimes
                          2. if B < -2e51

                            1. Initial program 9.0%

                              \[\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} \]
                            2. Step-by-step derivation
                              1. associate-*l*9.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                              2. unpow29.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                              3. +-commutative9.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                              4. unpow29.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                              5. associate-*l*9.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                              6. unpow29.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                            3. Simplified9.0%

                              \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                            4. Step-by-step derivation
                              1. sqrt-prod12.0%

                                \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              2. *-commutative12.0%

                                \[\leadsto \frac{-\sqrt{2 \cdot \color{blue}{\left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)}} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              3. *-commutative12.0%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \color{blue}{\left(C \cdot A\right)}\right)\right)} \cdot \sqrt{\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              4. associate-+l+12.0%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{A + \left(C + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              5. unpow212.0%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \sqrt{B \cdot B + \color{blue}{\left(A - C\right) \cdot \left(A - C\right)}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              6. hypot-udef12.2%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{A + \left(C + \color{blue}{\mathsf{hypot}\left(B, A - C\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              7. associate-+r+12.1%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(A + C\right) + \mathsf{hypot}\left(B, A - C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              8. +-commutative12.1%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{\left(C + A\right)} + \mathsf{hypot}\left(B, A - C\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              9. associate-+r+12.0%

                                \[\leadsto \frac{-\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{\color{blue}{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            5. Applied egg-rr12.0%

                              \[\leadsto \frac{-\color{blue}{\sqrt{2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(C \cdot A\right)\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            6. Taylor expanded in B around -inf 25.6%

                              \[\leadsto \frac{-\color{blue}{\left(-1 \cdot \left(\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            7. Step-by-step derivation
                              1. mul-1-neg25.6%

                                \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            8. Simplified25.6%

                              \[\leadsto \frac{-\color{blue}{\left(-\left(\sqrt{2} \cdot B\right) \cdot \sqrt{F}\right)} \cdot \sqrt{C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            9. Taylor expanded in C around 0 23.3%

                              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{{B}^{2} + {A}^{2}}\right) \cdot F}} \]
                            10. Step-by-step derivation
                              1. +-commutative23.3%

                                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{{A}^{2} + {B}^{2}}}\right) \cdot F} \]
                              2. unpow223.3%

                                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{\color{blue}{A \cdot A} + {B}^{2}}\right) \cdot F} \]
                              3. unpow223.3%

                                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \sqrt{A \cdot A + \color{blue}{B \cdot B}}\right) \cdot F} \]
                              4. hypot-def45.0%

                                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \color{blue}{\mathsf{hypot}\left(A, B\right)}\right) \cdot F} \]
                            11. Simplified45.0%

                              \[\leadsto \color{blue}{\frac{\sqrt{2}}{B} \cdot \sqrt{\left(A + \mathsf{hypot}\left(A, B\right)\right) \cdot F}} \]
                            12. Taylor expanded in B around -inf 42.2%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-1 \cdot B\right)} \cdot F} \]
                            13. Step-by-step derivation
                              1. mul-1-neg42.2%

                                \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]
                            14. Simplified42.2%

                              \[\leadsto \frac{\sqrt{2}}{B} \cdot \sqrt{\color{blue}{\left(-B\right)} \cdot F} \]

                            if -2e51 < B < 32

                            1. Initial program 23.2%

                              \[\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} \]
                            2. Step-by-step derivation
                              1. associate-*l*23.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                              2. unpow223.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                              3. +-commutative23.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                              4. unpow223.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                              5. associate-*l*23.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                              6. unpow223.2%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                            3. Simplified23.2%

                              \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                            4. Taylor expanded in A around -inf 20.1%

                              \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            5. Taylor expanded in F around 0 20.1%

                              \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            6. Step-by-step derivation
                              1. associate-*r*20.1%

                                \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              2. cancel-sign-sub-inv20.1%

                                \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              3. unpow220.1%

                                \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              4. metadata-eval20.1%

                                \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                            7. Simplified20.1%

                              \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                            if 32 < B

                            1. Initial program 13.0%

                              \[\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} \]
                            2. Step-by-step derivation
                              1. Simplified16.2%

                                \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                              2. Taylor expanded in A around 0 22.9%

                                \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                              3. Step-by-step derivation
                                1. mul-1-neg22.9%

                                  \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                2. *-commutative22.9%

                                  \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                3. distribute-rgt-neg-in22.9%

                                  \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                4. *-commutative22.9%

                                  \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                5. unpow222.9%

                                  \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                6. unpow222.9%

                                  \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                7. hypot-def44.9%

                                  \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                              4. Simplified44.9%

                                \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                              5. Taylor expanded in C around 0 40.5%

                                \[\leadsto \color{blue}{\sqrt{F \cdot B}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                            3. Recombined 3 regimes into one program.
                            4. Final simplification30.2%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;\frac{\sqrt{2}}{B} \cdot \sqrt{B \cdot \left(-F\right)}\\ \mathbf{elif}\;B \leq 32:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{-\sqrt{2}}{B} \cdot \sqrt{B \cdot F}\\ \end{array} \]

                            Alternative 13: 36.7% accurate, 4.7× speedup?

                            \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\ t_1 := \sqrt{F \cdot C}\\ \mathbf{if}\;B \leq -1.85 \cdot 10^{+152}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_1\right)\\ \mathbf{elif}\;B \leq -4.6 \cdot 10^{+77}:\\ \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot t_0\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{t_0}\\ \mathbf{elif}\;B \leq -2.5 \cdot 10^{+51}:\\ \;\;\;\;\frac{-2 \cdot \left(-B \cdot t_1\right)}{t_0}\\ \mathbf{elif}\;B \leq 185:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{t_0}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \end{array} \]
                            NOTE: A and C should be sorted in increasing order before calling this function.
                            (FPCore (A B C F)
                             :precision binary64
                             (let* ((t_0 (- (* B B) (* 4.0 (* A C)))) (t_1 (sqrt (* F C))))
                               (if (<= B -1.85e+152)
                                 (* 2.0 (* (/ 1.0 B) t_1))
                                 (if (<= B -4.6e+77)
                                   (/ (- (sqrt (* (* 2.0 (* F t_0)) (+ A (- C B))))) t_0)
                                   (if (<= B -2.5e+51)
                                     (/ (* -2.0 (- (* B t_1))) t_0)
                                     (if (<= B 185.0)
                                       (/ (- (sqrt (* (* F (+ (* B B) (* -4.0 (* A C)))) (* C 4.0)))) t_0)
                                       (- (sqrt (* 2.0 (/ F B))))))))))
                            assert(A < C);
                            double code(double A, double B, double C, double F) {
                            	double t_0 = (B * B) - (4.0 * (A * C));
                            	double t_1 = sqrt((F * C));
                            	double tmp;
                            	if (B <= -1.85e+152) {
                            		tmp = 2.0 * ((1.0 / B) * t_1);
                            	} else if (B <= -4.6e+77) {
                            		tmp = -sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                            	} else if (B <= -2.5e+51) {
                            		tmp = (-2.0 * -(B * t_1)) / t_0;
                            	} else if (B <= 185.0) {
                            		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                            	} else {
                            		tmp = -sqrt((2.0 * (F / B)));
                            	}
                            	return tmp;
                            }
                            
                            NOTE: A and C should be sorted in increasing order before calling this function.
                            real(8) function code(a, b, c, f)
                                real(8), intent (in) :: a
                                real(8), intent (in) :: b
                                real(8), intent (in) :: c
                                real(8), intent (in) :: f
                                real(8) :: t_0
                                real(8) :: t_1
                                real(8) :: tmp
                                t_0 = (b * b) - (4.0d0 * (a * c))
                                t_1 = sqrt((f * c))
                                if (b <= (-1.85d+152)) then
                                    tmp = 2.0d0 * ((1.0d0 / b) * t_1)
                                else if (b <= (-4.6d+77)) then
                                    tmp = -sqrt(((2.0d0 * (f * t_0)) * (a + (c - b)))) / t_0
                                else if (b <= (-2.5d+51)) then
                                    tmp = ((-2.0d0) * -(b * t_1)) / t_0
                                else if (b <= 185.0d0) then
                                    tmp = -sqrt(((f * ((b * b) + ((-4.0d0) * (a * c)))) * (c * 4.0d0))) / t_0
                                else
                                    tmp = -sqrt((2.0d0 * (f / b)))
                                end if
                                code = tmp
                            end function
                            
                            assert A < C;
                            public static double code(double A, double B, double C, double F) {
                            	double t_0 = (B * B) - (4.0 * (A * C));
                            	double t_1 = Math.sqrt((F * C));
                            	double tmp;
                            	if (B <= -1.85e+152) {
                            		tmp = 2.0 * ((1.0 / B) * t_1);
                            	} else if (B <= -4.6e+77) {
                            		tmp = -Math.sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                            	} else if (B <= -2.5e+51) {
                            		tmp = (-2.0 * -(B * t_1)) / t_0;
                            	} else if (B <= 185.0) {
                            		tmp = -Math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                            	} else {
                            		tmp = -Math.sqrt((2.0 * (F / B)));
                            	}
                            	return tmp;
                            }
                            
                            [A, C] = sort([A, C])
                            def code(A, B, C, F):
                            	t_0 = (B * B) - (4.0 * (A * C))
                            	t_1 = math.sqrt((F * C))
                            	tmp = 0
                            	if B <= -1.85e+152:
                            		tmp = 2.0 * ((1.0 / B) * t_1)
                            	elif B <= -4.6e+77:
                            		tmp = -math.sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0
                            	elif B <= -2.5e+51:
                            		tmp = (-2.0 * -(B * t_1)) / t_0
                            	elif B <= 185.0:
                            		tmp = -math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0
                            	else:
                            		tmp = -math.sqrt((2.0 * (F / B)))
                            	return tmp
                            
                            A, C = sort([A, C])
                            function code(A, B, C, F)
                            	t_0 = Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))
                            	t_1 = sqrt(Float64(F * C))
                            	tmp = 0.0
                            	if (B <= -1.85e+152)
                            		tmp = Float64(2.0 * Float64(Float64(1.0 / B) * t_1));
                            	elseif (B <= -4.6e+77)
                            		tmp = Float64(Float64(-sqrt(Float64(Float64(2.0 * Float64(F * t_0)) * Float64(A + Float64(C - B))))) / t_0);
                            	elseif (B <= -2.5e+51)
                            		tmp = Float64(Float64(-2.0 * Float64(-Float64(B * t_1))) / t_0);
                            	elseif (B <= 185.0)
                            		tmp = Float64(Float64(-sqrt(Float64(Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))) * Float64(C * 4.0)))) / t_0);
                            	else
                            		tmp = Float64(-sqrt(Float64(2.0 * Float64(F / B))));
                            	end
                            	return tmp
                            end
                            
                            A, C = num2cell(sort([A, C])){:}
                            function tmp_2 = code(A, B, C, F)
                            	t_0 = (B * B) - (4.0 * (A * C));
                            	t_1 = sqrt((F * C));
                            	tmp = 0.0;
                            	if (B <= -1.85e+152)
                            		tmp = 2.0 * ((1.0 / B) * t_1);
                            	elseif (B <= -4.6e+77)
                            		tmp = -sqrt(((2.0 * (F * t_0)) * (A + (C - B)))) / t_0;
                            	elseif (B <= -2.5e+51)
                            		tmp = (-2.0 * -(B * t_1)) / t_0;
                            	elseif (B <= 185.0)
                            		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / t_0;
                            	else
                            		tmp = -sqrt((2.0 * (F / B)));
                            	end
                            	tmp_2 = tmp;
                            end
                            
                            NOTE: A and C should be sorted in increasing order before calling this function.
                            code[A_, B_, C_, F_] := Block[{t$95$0 = N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[Sqrt[N[(F * C), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[B, -1.85e+152], N[(2.0 * N[(N[(1.0 / B), $MachinePrecision] * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, -4.6e+77], N[((-N[Sqrt[N[(N[(2.0 * N[(F * t$95$0), $MachinePrecision]), $MachinePrecision] * N[(A + N[(C - B), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$0), $MachinePrecision], If[LessEqual[B, -2.5e+51], N[(N[(-2.0 * (-N[(B * t$95$1), $MachinePrecision])), $MachinePrecision] / t$95$0), $MachinePrecision], If[LessEqual[B, 185.0], N[((-N[Sqrt[N[(N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / t$95$0), $MachinePrecision], (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])]]]]]]
                            
                            \begin{array}{l}
                            [A, C] = \mathsf{sort}([A, C])\\
                            \\
                            \begin{array}{l}
                            t_0 := B \cdot B - 4 \cdot \left(A \cdot C\right)\\
                            t_1 := \sqrt{F \cdot C}\\
                            \mathbf{if}\;B \leq -1.85 \cdot 10^{+152}:\\
                            \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_1\right)\\
                            
                            \mathbf{elif}\;B \leq -4.6 \cdot 10^{+77}:\\
                            \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot t_0\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{t_0}\\
                            
                            \mathbf{elif}\;B \leq -2.5 \cdot 10^{+51}:\\
                            \;\;\;\;\frac{-2 \cdot \left(-B \cdot t_1\right)}{t_0}\\
                            
                            \mathbf{elif}\;B \leq 185:\\
                            \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{t_0}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 5 regimes
                            2. if B < -1.84999999999999998e152

                              1. Initial program 0.1%

                                \[\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} \]
                              2. Step-by-step derivation
                                1. associate-*l*0.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                2. unpow20.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                3. +-commutative0.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                4. unpow20.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                5. associate-*l*0.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                6. unpow20.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                              3. Simplified0.1%

                                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                              4. Taylor expanded in A around -inf 0.0%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              5. Taylor expanded in B around -inf 6.3%

                                \[\leadsto \color{blue}{2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]

                              if -1.84999999999999998e152 < B < -4.5999999999999999e77

                              1. Initial program 29.8%

                                \[\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} \]
                              2. Step-by-step derivation
                                1. associate-*l*29.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                2. unpow229.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                3. +-commutative29.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                4. unpow229.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                5. associate-*l*29.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                6. unpow229.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                              3. Simplified29.8%

                                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                              4. Taylor expanded in B around -inf 28.9%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(A + \left(C + -1 \cdot B\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              5. Step-by-step derivation
                                1. mul-1-neg28.9%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(A + \left(C + \color{blue}{\left(-B\right)}\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                2. unsub-neg28.9%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(A + \color{blue}{\left(C - B\right)}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              6. Simplified28.9%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(A + \left(C - B\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                              if -4.5999999999999999e77 < B < -2.5e51

                              1. Initial program 3.8%

                                \[\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} \]
                              2. Step-by-step derivation
                                1. associate-*l*3.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                2. unpow23.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                3. +-commutative3.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                4. unpow23.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                5. associate-*l*3.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                6. unpow23.8%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                              3. Simplified3.8%

                                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                              4. Taylor expanded in A around -inf 4.1%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              5. Taylor expanded in B around -inf 4.9%

                                \[\leadsto \frac{-\color{blue}{-2 \cdot \left(\sqrt{C \cdot F} \cdot B\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                              if -2.5e51 < B < 185

                              1. Initial program 23.2%

                                \[\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} \]
                              2. Step-by-step derivation
                                1. associate-*l*23.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                2. unpow223.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                3. +-commutative23.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                4. unpow223.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                5. associate-*l*23.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                6. unpow223.2%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                              3. Simplified23.2%

                                \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                              4. Taylor expanded in A around -inf 20.1%

                                \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              5. Taylor expanded in F around 0 20.1%

                                \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              6. Step-by-step derivation
                                1. associate-*r*20.1%

                                  \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                2. cancel-sign-sub-inv20.1%

                                  \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                3. unpow220.1%

                                  \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                4. metadata-eval20.1%

                                  \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                              7. Simplified20.1%

                                \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                              if 185 < B

                              1. Initial program 13.0%

                                \[\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} \]
                              2. Step-by-step derivation
                                1. Simplified16.2%

                                  \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                2. Taylor expanded in A around 0 22.9%

                                  \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                3. Step-by-step derivation
                                  1. mul-1-neg22.9%

                                    \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                  2. *-commutative22.9%

                                    \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                  3. distribute-rgt-neg-in22.9%

                                    \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                  4. *-commutative22.9%

                                    \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                  5. unpow222.9%

                                    \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                  6. unpow222.9%

                                    \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                  7. hypot-def44.9%

                                    \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                4. Simplified44.9%

                                  \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                5. Taylor expanded in C around 0 33.7%

                                  \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                6. Step-by-step derivation
                                  1. mul-1-neg33.7%

                                    \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                7. Simplified33.7%

                                  \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                8. Step-by-step derivation
                                  1. pow133.7%

                                    \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                  2. sqrt-unprod33.8%

                                    \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                9. Applied egg-rr33.8%

                                  \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                10. Step-by-step derivation
                                  1. unpow133.8%

                                    \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                11. Simplified33.8%

                                  \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                              3. Recombined 5 regimes into one program.
                              4. Final simplification21.4%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -1.85 \cdot 10^{+152}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\ \mathbf{elif}\;B \leq -4.6 \cdot 10^{+77}:\\ \;\;\;\;\frac{-\sqrt{\left(2 \cdot \left(F \cdot \left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right)\right)\right) \cdot \left(A + \left(C - B\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq -2.5 \cdot 10^{+51}:\\ \;\;\;\;\frac{-2 \cdot \left(-B \cdot \sqrt{F \cdot C}\right)}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq 185:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \]

                              Alternative 14: 36.3% accurate, 4.9× speedup?

                              \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;B \leq -2.9 \cdot 10^{+51}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\ \mathbf{elif}\;B \leq 57:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \end{array} \]
                              NOTE: A and C should be sorted in increasing order before calling this function.
                              (FPCore (A B C F)
                               :precision binary64
                               (if (<= B -2.9e+51)
                                 (* 2.0 (* (/ 1.0 B) (sqrt (* F C))))
                                 (if (<= B 57.0)
                                   (/
                                    (- (sqrt (* (* F (+ (* B B) (* -4.0 (* A C)))) (* C 4.0))))
                                    (- (* B B) (* 4.0 (* A C))))
                                   (- (sqrt (* 2.0 (/ F B)))))))
                              assert(A < C);
                              double code(double A, double B, double C, double F) {
                              	double tmp;
                              	if (B <= -2.9e+51) {
                              		tmp = 2.0 * ((1.0 / B) * sqrt((F * C)));
                              	} else if (B <= 57.0) {
                              		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                              	} else {
                              		tmp = -sqrt((2.0 * (F / B)));
                              	}
                              	return tmp;
                              }
                              
                              NOTE: A and C should be sorted in increasing order before calling this function.
                              real(8) function code(a, b, c, f)
                                  real(8), intent (in) :: a
                                  real(8), intent (in) :: b
                                  real(8), intent (in) :: c
                                  real(8), intent (in) :: f
                                  real(8) :: tmp
                                  if (b <= (-2.9d+51)) then
                                      tmp = 2.0d0 * ((1.0d0 / b) * sqrt((f * c)))
                                  else if (b <= 57.0d0) then
                                      tmp = -sqrt(((f * ((b * b) + ((-4.0d0) * (a * c)))) * (c * 4.0d0))) / ((b * b) - (4.0d0 * (a * c)))
                                  else
                                      tmp = -sqrt((2.0d0 * (f / b)))
                                  end if
                                  code = tmp
                              end function
                              
                              assert A < C;
                              public static double code(double A, double B, double C, double F) {
                              	double tmp;
                              	if (B <= -2.9e+51) {
                              		tmp = 2.0 * ((1.0 / B) * Math.sqrt((F * C)));
                              	} else if (B <= 57.0) {
                              		tmp = -Math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                              	} else {
                              		tmp = -Math.sqrt((2.0 * (F / B)));
                              	}
                              	return tmp;
                              }
                              
                              [A, C] = sort([A, C])
                              def code(A, B, C, F):
                              	tmp = 0
                              	if B <= -2.9e+51:
                              		tmp = 2.0 * ((1.0 / B) * math.sqrt((F * C)))
                              	elif B <= 57.0:
                              		tmp = -math.sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)))
                              	else:
                              		tmp = -math.sqrt((2.0 * (F / B)))
                              	return tmp
                              
                              A, C = sort([A, C])
                              function code(A, B, C, F)
                              	tmp = 0.0
                              	if (B <= -2.9e+51)
                              		tmp = Float64(2.0 * Float64(Float64(1.0 / B) * sqrt(Float64(F * C))));
                              	elseif (B <= 57.0)
                              		tmp = Float64(Float64(-sqrt(Float64(Float64(F * Float64(Float64(B * B) + Float64(-4.0 * Float64(A * C)))) * Float64(C * 4.0)))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C))));
                              	else
                              		tmp = Float64(-sqrt(Float64(2.0 * Float64(F / B))));
                              	end
                              	return tmp
                              end
                              
                              A, C = num2cell(sort([A, C])){:}
                              function tmp_2 = code(A, B, C, F)
                              	tmp = 0.0;
                              	if (B <= -2.9e+51)
                              		tmp = 2.0 * ((1.0 / B) * sqrt((F * C)));
                              	elseif (B <= 57.0)
                              		tmp = -sqrt(((F * ((B * B) + (-4.0 * (A * C)))) * (C * 4.0))) / ((B * B) - (4.0 * (A * C)));
                              	else
                              		tmp = -sqrt((2.0 * (F / B)));
                              	end
                              	tmp_2 = tmp;
                              end
                              
                              NOTE: A and C should be sorted in increasing order before calling this function.
                              code[A_, B_, C_, F_] := If[LessEqual[B, -2.9e+51], N[(2.0 * N[(N[(1.0 / B), $MachinePrecision] * N[Sqrt[N[(F * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 57.0], N[((-N[Sqrt[N[(N[(F * N[(N[(B * B), $MachinePrecision] + N[(-4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(C * 4.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]) / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])]]
                              
                              \begin{array}{l}
                              [A, C] = \mathsf{sort}([A, C])\\
                              \\
                              \begin{array}{l}
                              \mathbf{if}\;B \leq -2.9 \cdot 10^{+51}:\\
                              \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\
                              
                              \mathbf{elif}\;B \leq 57:\\
                              \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 3 regimes
                              2. if B < -2.8999999999999998e51

                                1. Initial program 9.0%

                                  \[\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} \]
                                2. Step-by-step derivation
                                  1. associate-*l*9.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                  2. unpow29.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                  3. +-commutative9.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                  4. unpow29.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                  5. associate-*l*9.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                  6. unpow29.0%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                3. Simplified9.0%

                                  \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                4. Taylor expanded in A around -inf 1.3%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                5. Taylor expanded in B around -inf 5.4%

                                  \[\leadsto \color{blue}{2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]

                                if -2.8999999999999998e51 < B < 57

                                1. Initial program 23.2%

                                  \[\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} \]
                                2. Step-by-step derivation
                                  1. associate-*l*23.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                  2. unpow223.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                  3. +-commutative23.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                  4. unpow223.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                  5. associate-*l*23.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                  6. unpow223.2%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                3. Simplified23.2%

                                  \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                4. Taylor expanded in A around -inf 20.1%

                                  \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                5. Taylor expanded in F around 0 20.1%

                                  \[\leadsto \frac{-\sqrt{\color{blue}{4 \cdot \left(C \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                6. Step-by-step derivation
                                  1. associate-*r*20.1%

                                    \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left({B}^{2} - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  2. cancel-sign-sub-inv20.1%

                                    \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\color{blue}{\left({B}^{2} + \left(-4\right) \cdot \left(A \cdot C\right)\right)} \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  3. unpow220.1%

                                    \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(\color{blue}{B \cdot B} + \left(-4\right) \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  4. metadata-eval20.1%

                                    \[\leadsto \frac{-\sqrt{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + \color{blue}{-4} \cdot \left(A \cdot C\right)\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                7. Simplified20.1%

                                  \[\leadsto \frac{-\sqrt{\color{blue}{\left(4 \cdot C\right) \cdot \left(\left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                                if 57 < B

                                1. Initial program 13.0%

                                  \[\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} \]
                                2. Step-by-step derivation
                                  1. Simplified16.2%

                                    \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                  2. Taylor expanded in A around 0 22.9%

                                    \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                  3. Step-by-step derivation
                                    1. mul-1-neg22.9%

                                      \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                    2. *-commutative22.9%

                                      \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                    3. distribute-rgt-neg-in22.9%

                                      \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                    4. *-commutative22.9%

                                      \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                    5. unpow222.9%

                                      \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                    6. unpow222.9%

                                      \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                    7. hypot-def44.9%

                                      \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                  4. Simplified44.9%

                                    \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                  5. Taylor expanded in C around 0 33.7%

                                    \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                  6. Step-by-step derivation
                                    1. mul-1-neg33.7%

                                      \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                  7. Simplified33.7%

                                    \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                  8. Step-by-step derivation
                                    1. pow133.7%

                                      \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                    2. sqrt-unprod33.8%

                                      \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                  9. Applied egg-rr33.8%

                                    \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                  10. Step-by-step derivation
                                    1. unpow133.8%

                                      \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                  11. Simplified33.8%

                                    \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                3. Recombined 3 regimes into one program.
                                4. Final simplification19.7%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2.9 \cdot 10^{+51}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\ \mathbf{elif}\;B \leq 57:\\ \;\;\;\;\frac{-\sqrt{\left(F \cdot \left(B \cdot B + -4 \cdot \left(A \cdot C\right)\right)\right) \cdot \left(C \cdot 4\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \]

                                Alternative 15: 26.2% accurate, 5.1× speedup?

                                \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} t_0 := \sqrt{F \cdot C}\\ \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_0\right)\\ \mathbf{elif}\;B \leq 4.6 \cdot 10^{-32}:\\ \;\;\;\;-\frac{\sqrt{-16 \cdot \left(F \cdot \left(A \cdot \left(C \cdot C\right)\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq 1.25 \cdot 10^{+58}:\\ \;\;\;\;\frac{-2 \cdot t_0}{B}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \end{array} \]
                                NOTE: A and C should be sorted in increasing order before calling this function.
                                (FPCore (A B C F)
                                 :precision binary64
                                 (let* ((t_0 (sqrt (* F C))))
                                   (if (<= B -2e+51)
                                     (* 2.0 (* (/ 1.0 B) t_0))
                                     (if (<= B 4.6e-32)
                                       (- (/ (sqrt (* -16.0 (* F (* A (* C C))))) (- (* B B) (* 4.0 (* A C)))))
                                       (if (<= B 1.25e+58) (/ (* -2.0 t_0) B) (- (sqrt (* 2.0 (/ F B)))))))))
                                assert(A < C);
                                double code(double A, double B, double C, double F) {
                                	double t_0 = sqrt((F * C));
                                	double tmp;
                                	if (B <= -2e+51) {
                                		tmp = 2.0 * ((1.0 / B) * t_0);
                                	} else if (B <= 4.6e-32) {
                                		tmp = -(sqrt((-16.0 * (F * (A * (C * C))))) / ((B * B) - (4.0 * (A * C))));
                                	} else if (B <= 1.25e+58) {
                                		tmp = (-2.0 * t_0) / B;
                                	} else {
                                		tmp = -sqrt((2.0 * (F / B)));
                                	}
                                	return tmp;
                                }
                                
                                NOTE: A and C should be sorted in increasing order before calling this function.
                                real(8) function code(a, b, c, f)
                                    real(8), intent (in) :: a
                                    real(8), intent (in) :: b
                                    real(8), intent (in) :: c
                                    real(8), intent (in) :: f
                                    real(8) :: t_0
                                    real(8) :: tmp
                                    t_0 = sqrt((f * c))
                                    if (b <= (-2d+51)) then
                                        tmp = 2.0d0 * ((1.0d0 / b) * t_0)
                                    else if (b <= 4.6d-32) then
                                        tmp = -(sqrt(((-16.0d0) * (f * (a * (c * c))))) / ((b * b) - (4.0d0 * (a * c))))
                                    else if (b <= 1.25d+58) then
                                        tmp = ((-2.0d0) * t_0) / b
                                    else
                                        tmp = -sqrt((2.0d0 * (f / b)))
                                    end if
                                    code = tmp
                                end function
                                
                                assert A < C;
                                public static double code(double A, double B, double C, double F) {
                                	double t_0 = Math.sqrt((F * C));
                                	double tmp;
                                	if (B <= -2e+51) {
                                		tmp = 2.0 * ((1.0 / B) * t_0);
                                	} else if (B <= 4.6e-32) {
                                		tmp = -(Math.sqrt((-16.0 * (F * (A * (C * C))))) / ((B * B) - (4.0 * (A * C))));
                                	} else if (B <= 1.25e+58) {
                                		tmp = (-2.0 * t_0) / B;
                                	} else {
                                		tmp = -Math.sqrt((2.0 * (F / B)));
                                	}
                                	return tmp;
                                }
                                
                                [A, C] = sort([A, C])
                                def code(A, B, C, F):
                                	t_0 = math.sqrt((F * C))
                                	tmp = 0
                                	if B <= -2e+51:
                                		tmp = 2.0 * ((1.0 / B) * t_0)
                                	elif B <= 4.6e-32:
                                		tmp = -(math.sqrt((-16.0 * (F * (A * (C * C))))) / ((B * B) - (4.0 * (A * C))))
                                	elif B <= 1.25e+58:
                                		tmp = (-2.0 * t_0) / B
                                	else:
                                		tmp = -math.sqrt((2.0 * (F / B)))
                                	return tmp
                                
                                A, C = sort([A, C])
                                function code(A, B, C, F)
                                	t_0 = sqrt(Float64(F * C))
                                	tmp = 0.0
                                	if (B <= -2e+51)
                                		tmp = Float64(2.0 * Float64(Float64(1.0 / B) * t_0));
                                	elseif (B <= 4.6e-32)
                                		tmp = Float64(-Float64(sqrt(Float64(-16.0 * Float64(F * Float64(A * Float64(C * C))))) / Float64(Float64(B * B) - Float64(4.0 * Float64(A * C)))));
                                	elseif (B <= 1.25e+58)
                                		tmp = Float64(Float64(-2.0 * t_0) / B);
                                	else
                                		tmp = Float64(-sqrt(Float64(2.0 * Float64(F / B))));
                                	end
                                	return tmp
                                end
                                
                                A, C = num2cell(sort([A, C])){:}
                                function tmp_2 = code(A, B, C, F)
                                	t_0 = sqrt((F * C));
                                	tmp = 0.0;
                                	if (B <= -2e+51)
                                		tmp = 2.0 * ((1.0 / B) * t_0);
                                	elseif (B <= 4.6e-32)
                                		tmp = -(sqrt((-16.0 * (F * (A * (C * C))))) / ((B * B) - (4.0 * (A * C))));
                                	elseif (B <= 1.25e+58)
                                		tmp = (-2.0 * t_0) / B;
                                	else
                                		tmp = -sqrt((2.0 * (F / B)));
                                	end
                                	tmp_2 = tmp;
                                end
                                
                                NOTE: A and C should be sorted in increasing order before calling this function.
                                code[A_, B_, C_, F_] := Block[{t$95$0 = N[Sqrt[N[(F * C), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[B, -2e+51], N[(2.0 * N[(N[(1.0 / B), $MachinePrecision] * t$95$0), $MachinePrecision]), $MachinePrecision], If[LessEqual[B, 4.6e-32], (-N[(N[Sqrt[N[(-16.0 * N[(F * N[(A * N[(C * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / N[(N[(B * B), $MachinePrecision] - N[(4.0 * N[(A * C), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), If[LessEqual[B, 1.25e+58], N[(N[(-2.0 * t$95$0), $MachinePrecision] / B), $MachinePrecision], (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])]]]]
                                
                                \begin{array}{l}
                                [A, C] = \mathsf{sort}([A, C])\\
                                \\
                                \begin{array}{l}
                                t_0 := \sqrt{F \cdot C}\\
                                \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\
                                \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot t_0\right)\\
                                
                                \mathbf{elif}\;B \leq 4.6 \cdot 10^{-32}:\\
                                \;\;\;\;-\frac{\sqrt{-16 \cdot \left(F \cdot \left(A \cdot \left(C \cdot C\right)\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\
                                
                                \mathbf{elif}\;B \leq 1.25 \cdot 10^{+58}:\\
                                \;\;\;\;\frac{-2 \cdot t_0}{B}\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 4 regimes
                                2. if B < -2e51

                                  1. Initial program 9.0%

                                    \[\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} \]
                                  2. Step-by-step derivation
                                    1. associate-*l*9.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                    2. unpow29.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                    3. +-commutative9.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    4. unpow29.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    5. associate-*l*9.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                    6. unpow29.0%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                  3. Simplified9.0%

                                    \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                  4. Taylor expanded in A around -inf 1.3%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  5. Taylor expanded in B around -inf 5.4%

                                    \[\leadsto \color{blue}{2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]

                                  if -2e51 < B < 4.6000000000000001e-32

                                  1. Initial program 21.7%

                                    \[\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} \]
                                  2. Step-by-step derivation
                                    1. associate-*l*21.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                    2. unpow221.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                    3. +-commutative21.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    4. unpow221.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    5. associate-*l*21.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                    6. unpow221.7%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                  3. Simplified21.7%

                                    \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                  4. Taylor expanded in A around -inf 20.1%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  5. Taylor expanded in B around 0 12.9%

                                    \[\leadsto \frac{-\sqrt{\color{blue}{-16 \cdot \left(A \cdot \left({C}^{2} \cdot F\right)\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  6. Step-by-step derivation
                                    1. associate-*r*14.3%

                                      \[\leadsto \frac{-\sqrt{-16 \cdot \color{blue}{\left(\left(A \cdot {C}^{2}\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                    2. unpow214.3%

                                      \[\leadsto \frac{-\sqrt{-16 \cdot \left(\left(A \cdot \color{blue}{\left(C \cdot C\right)}\right) \cdot F\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  7. Simplified14.3%

                                    \[\leadsto \frac{-\sqrt{\color{blue}{-16 \cdot \left(\left(A \cdot \left(C \cdot C\right)\right) \cdot F\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]

                                  if 4.6000000000000001e-32 < B < 1.24999999999999996e58

                                  1. Initial program 55.6%

                                    \[\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} \]
                                  2. Step-by-step derivation
                                    1. associate-*l*55.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                    2. unpow255.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                    3. +-commutative55.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    4. unpow255.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                    5. associate-*l*55.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                    6. unpow255.6%

                                      \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                  3. Simplified55.6%

                                    \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                  4. Taylor expanded in A around -inf 10.6%

                                    \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                  5. Taylor expanded in B around inf 25.3%

                                    \[\leadsto \color{blue}{-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]
                                  6. Step-by-step derivation
                                    1. pow125.3%

                                      \[\leadsto \color{blue}{{\left(-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)\right)}^{1}} \]
                                    2. *-commutative25.3%

                                      \[\leadsto {\color{blue}{\left(\left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right) \cdot -2\right)}}^{1} \]
                                    3. un-div-inv25.4%

                                      \[\leadsto {\left(\color{blue}{\frac{\sqrt{C \cdot F}}{B}} \cdot -2\right)}^{1} \]
                                    4. *-commutative25.4%

                                      \[\leadsto {\left(\frac{\sqrt{\color{blue}{F \cdot C}}}{B} \cdot -2\right)}^{1} \]
                                  7. Applied egg-rr25.4%

                                    \[\leadsto \color{blue}{{\left(\frac{\sqrt{F \cdot C}}{B} \cdot -2\right)}^{1}} \]
                                  8. Step-by-step derivation
                                    1. unpow125.4%

                                      \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C}}{B} \cdot -2} \]
                                    2. associate-*l/25.4%

                                      \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]
                                  9. Simplified25.4%

                                    \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]

                                  if 1.24999999999999996e58 < B

                                  1. Initial program 6.9%

                                    \[\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} \]
                                  2. Step-by-step derivation
                                    1. Simplified8.7%

                                      \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                    2. Taylor expanded in A around 0 16.5%

                                      \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                    3. Step-by-step derivation
                                      1. mul-1-neg16.5%

                                        \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                      2. *-commutative16.5%

                                        \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                      3. distribute-rgt-neg-in16.5%

                                        \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                      4. *-commutative16.5%

                                        \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                      5. unpow216.5%

                                        \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                      6. unpow216.5%

                                        \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                      7. hypot-def41.8%

                                        \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                    4. Simplified41.8%

                                      \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                    5. Taylor expanded in C around 0 34.2%

                                      \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                    6. Step-by-step derivation
                                      1. mul-1-neg34.2%

                                        \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                    7. Simplified34.2%

                                      \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                    8. Step-by-step derivation
                                      1. pow134.2%

                                        \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                      2. sqrt-unprod34.4%

                                        \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                    9. Applied egg-rr34.4%

                                      \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                    10. Step-by-step derivation
                                      1. unpow134.4%

                                        \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                    11. Simplified34.4%

                                      \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                  3. Recombined 4 regimes into one program.
                                  4. Final simplification16.7%

                                    \[\leadsto \begin{array}{l} \mathbf{if}\;B \leq -2 \cdot 10^{+51}:\\ \;\;\;\;2 \cdot \left(\frac{1}{B} \cdot \sqrt{F \cdot C}\right)\\ \mathbf{elif}\;B \leq 4.6 \cdot 10^{-32}:\\ \;\;\;\;-\frac{\sqrt{-16 \cdot \left(F \cdot \left(A \cdot \left(C \cdot C\right)\right)\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}\\ \mathbf{elif}\;B \leq 1.25 \cdot 10^{+58}:\\ \;\;\;\;\frac{-2 \cdot \sqrt{F \cdot C}}{B}\\ \mathbf{else}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \end{array} \]

                                  Alternative 16: 12.2% accurate, 5.8× speedup?

                                  \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;C \leq 4.1 \cdot 10^{-59}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \mathbf{else}:\\ \;\;\;\;\frac{-2 \cdot {\left(F \cdot C\right)}^{0.5}}{B}\\ \end{array} \end{array} \]
                                  NOTE: A and C should be sorted in increasing order before calling this function.
                                  (FPCore (A B C F)
                                   :precision binary64
                                   (if (<= C 4.1e-59)
                                     (- (sqrt (* 2.0 (/ F B))))
                                     (/ (* -2.0 (pow (* F C) 0.5)) B)))
                                  assert(A < C);
                                  double code(double A, double B, double C, double F) {
                                  	double tmp;
                                  	if (C <= 4.1e-59) {
                                  		tmp = -sqrt((2.0 * (F / B)));
                                  	} else {
                                  		tmp = (-2.0 * pow((F * C), 0.5)) / B;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  NOTE: A and C should be sorted in increasing order before calling this function.
                                  real(8) function code(a, b, c, f)
                                      real(8), intent (in) :: a
                                      real(8), intent (in) :: b
                                      real(8), intent (in) :: c
                                      real(8), intent (in) :: f
                                      real(8) :: tmp
                                      if (c <= 4.1d-59) then
                                          tmp = -sqrt((2.0d0 * (f / b)))
                                      else
                                          tmp = ((-2.0d0) * ((f * c) ** 0.5d0)) / b
                                      end if
                                      code = tmp
                                  end function
                                  
                                  assert A < C;
                                  public static double code(double A, double B, double C, double F) {
                                  	double tmp;
                                  	if (C <= 4.1e-59) {
                                  		tmp = -Math.sqrt((2.0 * (F / B)));
                                  	} else {
                                  		tmp = (-2.0 * Math.pow((F * C), 0.5)) / B;
                                  	}
                                  	return tmp;
                                  }
                                  
                                  [A, C] = sort([A, C])
                                  def code(A, B, C, F):
                                  	tmp = 0
                                  	if C <= 4.1e-59:
                                  		tmp = -math.sqrt((2.0 * (F / B)))
                                  	else:
                                  		tmp = (-2.0 * math.pow((F * C), 0.5)) / B
                                  	return tmp
                                  
                                  A, C = sort([A, C])
                                  function code(A, B, C, F)
                                  	tmp = 0.0
                                  	if (C <= 4.1e-59)
                                  		tmp = Float64(-sqrt(Float64(2.0 * Float64(F / B))));
                                  	else
                                  		tmp = Float64(Float64(-2.0 * (Float64(F * C) ^ 0.5)) / B);
                                  	end
                                  	return tmp
                                  end
                                  
                                  A, C = num2cell(sort([A, C])){:}
                                  function tmp_2 = code(A, B, C, F)
                                  	tmp = 0.0;
                                  	if (C <= 4.1e-59)
                                  		tmp = -sqrt((2.0 * (F / B)));
                                  	else
                                  		tmp = (-2.0 * ((F * C) ^ 0.5)) / B;
                                  	end
                                  	tmp_2 = tmp;
                                  end
                                  
                                  NOTE: A and C should be sorted in increasing order before calling this function.
                                  code[A_, B_, C_, F_] := If[LessEqual[C, 4.1e-59], (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), N[(N[(-2.0 * N[Power[N[(F * C), $MachinePrecision], 0.5], $MachinePrecision]), $MachinePrecision] / B), $MachinePrecision]]
                                  
                                  \begin{array}{l}
                                  [A, C] = \mathsf{sort}([A, C])\\
                                  \\
                                  \begin{array}{l}
                                  \mathbf{if}\;C \leq 4.1 \cdot 10^{-59}:\\
                                  \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;\frac{-2 \cdot {\left(F \cdot C\right)}^{0.5}}{B}\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 2 regimes
                                  2. if C < 4.0999999999999996e-59

                                    1. Initial program 16.4%

                                      \[\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} \]
                                    2. Step-by-step derivation
                                      1. Simplified19.6%

                                        \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                      2. Taylor expanded in A around 0 9.7%

                                        \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                      3. Step-by-step derivation
                                        1. mul-1-neg9.7%

                                          \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                        2. *-commutative9.7%

                                          \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                        3. distribute-rgt-neg-in9.7%

                                          \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                        4. *-commutative9.7%

                                          \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                        5. unpow29.7%

                                          \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                        6. unpow29.7%

                                          \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                        7. hypot-def15.1%

                                          \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                      4. Simplified15.1%

                                        \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                      5. Taylor expanded in C around 0 13.3%

                                        \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                      6. Step-by-step derivation
                                        1. mul-1-neg13.3%

                                          \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                      7. Simplified13.3%

                                        \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                      8. Step-by-step derivation
                                        1. pow113.3%

                                          \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                        2. sqrt-unprod13.4%

                                          \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                      9. Applied egg-rr13.4%

                                        \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                      10. Step-by-step derivation
                                        1. unpow113.4%

                                          \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                      11. Simplified13.4%

                                        \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]

                                      if 4.0999999999999996e-59 < C

                                      1. Initial program 20.0%

                                        \[\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} \]
                                      2. Step-by-step derivation
                                        1. associate-*l*20.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                        2. unpow220.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                        3. +-commutative20.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                        4. unpow220.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                        5. associate-*l*20.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                        6. unpow220.0%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                      3. Simplified20.0%

                                        \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                      4. Taylor expanded in A around -inf 31.9%

                                        \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                      5. Taylor expanded in B around inf 11.0%

                                        \[\leadsto \color{blue}{-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]
                                      6. Step-by-step derivation
                                        1. pow111.0%

                                          \[\leadsto \color{blue}{{\left(-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)\right)}^{1}} \]
                                        2. *-commutative11.0%

                                          \[\leadsto {\color{blue}{\left(\left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right) \cdot -2\right)}}^{1} \]
                                        3. un-div-inv11.0%

                                          \[\leadsto {\left(\color{blue}{\frac{\sqrt{C \cdot F}}{B}} \cdot -2\right)}^{1} \]
                                        4. *-commutative11.0%

                                          \[\leadsto {\left(\frac{\sqrt{\color{blue}{F \cdot C}}}{B} \cdot -2\right)}^{1} \]
                                      7. Applied egg-rr11.0%

                                        \[\leadsto \color{blue}{{\left(\frac{\sqrt{F \cdot C}}{B} \cdot -2\right)}^{1}} \]
                                      8. Step-by-step derivation
                                        1. unpow111.0%

                                          \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C}}{B} \cdot -2} \]
                                        2. associate-*l/11.0%

                                          \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]
                                      9. Simplified11.0%

                                        \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]
                                      10. Step-by-step derivation
                                        1. pow1/211.1%

                                          \[\leadsto \frac{\color{blue}{{\left(F \cdot C\right)}^{0.5}} \cdot -2}{B} \]
                                      11. Applied egg-rr11.1%

                                        \[\leadsto \frac{\color{blue}{{\left(F \cdot C\right)}^{0.5}} \cdot -2}{B} \]
                                    3. Recombined 2 regimes into one program.
                                    4. Final simplification12.8%

                                      \[\leadsto \begin{array}{l} \mathbf{if}\;C \leq 4.1 \cdot 10^{-59}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \mathbf{else}:\\ \;\;\;\;\frac{-2 \cdot {\left(F \cdot C\right)}^{0.5}}{B}\\ \end{array} \]

                                    Alternative 17: 12.2% accurate, 5.8× speedup?

                                    \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ \begin{array}{l} \mathbf{if}\;C \leq 9.2 \cdot 10^{-61}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \mathbf{else}:\\ \;\;\;\;\frac{-2 \cdot \sqrt{F \cdot C}}{B}\\ \end{array} \end{array} \]
                                    NOTE: A and C should be sorted in increasing order before calling this function.
                                    (FPCore (A B C F)
                                     :precision binary64
                                     (if (<= C 9.2e-61) (- (sqrt (* 2.0 (/ F B)))) (/ (* -2.0 (sqrt (* F C))) B)))
                                    assert(A < C);
                                    double code(double A, double B, double C, double F) {
                                    	double tmp;
                                    	if (C <= 9.2e-61) {
                                    		tmp = -sqrt((2.0 * (F / B)));
                                    	} else {
                                    		tmp = (-2.0 * sqrt((F * C))) / B;
                                    	}
                                    	return tmp;
                                    }
                                    
                                    NOTE: A and C should be sorted in increasing order before calling this function.
                                    real(8) function code(a, b, c, f)
                                        real(8), intent (in) :: a
                                        real(8), intent (in) :: b
                                        real(8), intent (in) :: c
                                        real(8), intent (in) :: f
                                        real(8) :: tmp
                                        if (c <= 9.2d-61) then
                                            tmp = -sqrt((2.0d0 * (f / b)))
                                        else
                                            tmp = ((-2.0d0) * sqrt((f * c))) / b
                                        end if
                                        code = tmp
                                    end function
                                    
                                    assert A < C;
                                    public static double code(double A, double B, double C, double F) {
                                    	double tmp;
                                    	if (C <= 9.2e-61) {
                                    		tmp = -Math.sqrt((2.0 * (F / B)));
                                    	} else {
                                    		tmp = (-2.0 * Math.sqrt((F * C))) / B;
                                    	}
                                    	return tmp;
                                    }
                                    
                                    [A, C] = sort([A, C])
                                    def code(A, B, C, F):
                                    	tmp = 0
                                    	if C <= 9.2e-61:
                                    		tmp = -math.sqrt((2.0 * (F / B)))
                                    	else:
                                    		tmp = (-2.0 * math.sqrt((F * C))) / B
                                    	return tmp
                                    
                                    A, C = sort([A, C])
                                    function code(A, B, C, F)
                                    	tmp = 0.0
                                    	if (C <= 9.2e-61)
                                    		tmp = Float64(-sqrt(Float64(2.0 * Float64(F / B))));
                                    	else
                                    		tmp = Float64(Float64(-2.0 * sqrt(Float64(F * C))) / B);
                                    	end
                                    	return tmp
                                    end
                                    
                                    A, C = num2cell(sort([A, C])){:}
                                    function tmp_2 = code(A, B, C, F)
                                    	tmp = 0.0;
                                    	if (C <= 9.2e-61)
                                    		tmp = -sqrt((2.0 * (F / B)));
                                    	else
                                    		tmp = (-2.0 * sqrt((F * C))) / B;
                                    	end
                                    	tmp_2 = tmp;
                                    end
                                    
                                    NOTE: A and C should be sorted in increasing order before calling this function.
                                    code[A_, B_, C_, F_] := If[LessEqual[C, 9.2e-61], (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), N[(N[(-2.0 * N[Sqrt[N[(F * C), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / B), $MachinePrecision]]
                                    
                                    \begin{array}{l}
                                    [A, C] = \mathsf{sort}([A, C])\\
                                    \\
                                    \begin{array}{l}
                                    \mathbf{if}\;C \leq 9.2 \cdot 10^{-61}:\\
                                    \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\
                                    
                                    \mathbf{else}:\\
                                    \;\;\;\;\frac{-2 \cdot \sqrt{F \cdot C}}{B}\\
                                    
                                    
                                    \end{array}
                                    \end{array}
                                    
                                    Derivation
                                    1. Split input into 2 regimes
                                    2. if C < 9.19999999999999967e-61

                                      1. Initial program 16.4%

                                        \[\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} \]
                                      2. Step-by-step derivation
                                        1. Simplified19.6%

                                          \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                        2. Taylor expanded in A around 0 9.7%

                                          \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                        3. Step-by-step derivation
                                          1. mul-1-neg9.7%

                                            \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                          2. *-commutative9.7%

                                            \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                          3. distribute-rgt-neg-in9.7%

                                            \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                          4. *-commutative9.7%

                                            \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          5. unpow29.7%

                                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          6. unpow29.7%

                                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          7. hypot-def15.1%

                                            \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                        4. Simplified15.1%

                                          \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                        5. Taylor expanded in C around 0 13.3%

                                          \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                        6. Step-by-step derivation
                                          1. mul-1-neg13.3%

                                            \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                        7. Simplified13.3%

                                          \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                        8. Step-by-step derivation
                                          1. pow113.3%

                                            \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                          2. sqrt-unprod13.4%

                                            \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                        9. Applied egg-rr13.4%

                                          \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                        10. Step-by-step derivation
                                          1. unpow113.4%

                                            \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                        11. Simplified13.4%

                                          \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]

                                        if 9.19999999999999967e-61 < C

                                        1. Initial program 20.0%

                                          \[\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} \]
                                        2. Step-by-step derivation
                                          1. associate-*l*20.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left({B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}\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} \]
                                          2. unpow220.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)\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} \]
                                          3. +-commutative20.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{{B}^{2} + {\left(A - C\right)}^{2}}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                          4. unpow220.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{\color{blue}{B \cdot B} + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \left(4 \cdot A\right) \cdot C} \]
                                          5. associate-*l*20.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{{B}^{2} - \color{blue}{4 \cdot \left(A \cdot C\right)}} \]
                                          6. unpow220.0%

                                            \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{\color{blue}{B \cdot B} - 4 \cdot \left(A \cdot C\right)} \]
                                        3. Simplified20.0%

                                          \[\leadsto \color{blue}{\frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \left(\left(A + C\right) + \sqrt{B \cdot B + {\left(A - C\right)}^{2}}\right)}}{B \cdot B - 4 \cdot \left(A \cdot C\right)}} \]
                                        4. Taylor expanded in A around -inf 31.9%

                                          \[\leadsto \frac{-\sqrt{\left(2 \cdot \left(\left(B \cdot B - 4 \cdot \left(A \cdot C\right)\right) \cdot F\right)\right) \cdot \color{blue}{\left(2 \cdot C\right)}}}{B \cdot B - 4 \cdot \left(A \cdot C\right)} \]
                                        5. Taylor expanded in B around inf 11.0%

                                          \[\leadsto \color{blue}{-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)} \]
                                        6. Step-by-step derivation
                                          1. pow111.0%

                                            \[\leadsto \color{blue}{{\left(-2 \cdot \left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right)\right)}^{1}} \]
                                          2. *-commutative11.0%

                                            \[\leadsto {\color{blue}{\left(\left(\sqrt{C \cdot F} \cdot \frac{1}{B}\right) \cdot -2\right)}}^{1} \]
                                          3. un-div-inv11.0%

                                            \[\leadsto {\left(\color{blue}{\frac{\sqrt{C \cdot F}}{B}} \cdot -2\right)}^{1} \]
                                          4. *-commutative11.0%

                                            \[\leadsto {\left(\frac{\sqrt{\color{blue}{F \cdot C}}}{B} \cdot -2\right)}^{1} \]
                                        7. Applied egg-rr11.0%

                                          \[\leadsto \color{blue}{{\left(\frac{\sqrt{F \cdot C}}{B} \cdot -2\right)}^{1}} \]
                                        8. Step-by-step derivation
                                          1. unpow111.0%

                                            \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C}}{B} \cdot -2} \]
                                          2. associate-*l/11.0%

                                            \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]
                                        9. Simplified11.0%

                                          \[\leadsto \color{blue}{\frac{\sqrt{F \cdot C} \cdot -2}{B}} \]
                                      3. Recombined 2 regimes into one program.
                                      4. Final simplification12.8%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;C \leq 9.2 \cdot 10^{-61}:\\ \;\;\;\;-\sqrt{2 \cdot \frac{F}{B}}\\ \mathbf{else}:\\ \;\;\;\;\frac{-2 \cdot \sqrt{F \cdot C}}{B}\\ \end{array} \]

                                      Alternative 18: 13.6% accurate, 6.0× speedup?

                                      \[\begin{array}{l} [A, C] = \mathsf{sort}([A, C])\\ \\ -\sqrt{2 \cdot \frac{F}{B}} \end{array} \]
                                      NOTE: A and C should be sorted in increasing order before calling this function.
                                      (FPCore (A B C F) :precision binary64 (- (sqrt (* 2.0 (/ F B)))))
                                      assert(A < C);
                                      double code(double A, double B, double C, double F) {
                                      	return -sqrt((2.0 * (F / B)));
                                      }
                                      
                                      NOTE: A and C should be sorted in increasing order before calling this function.
                                      real(8) function code(a, b, c, f)
                                          real(8), intent (in) :: a
                                          real(8), intent (in) :: b
                                          real(8), intent (in) :: c
                                          real(8), intent (in) :: f
                                          code = -sqrt((2.0d0 * (f / b)))
                                      end function
                                      
                                      assert A < C;
                                      public static double code(double A, double B, double C, double F) {
                                      	return -Math.sqrt((2.0 * (F / B)));
                                      }
                                      
                                      [A, C] = sort([A, C])
                                      def code(A, B, C, F):
                                      	return -math.sqrt((2.0 * (F / B)))
                                      
                                      A, C = sort([A, C])
                                      function code(A, B, C, F)
                                      	return Float64(-sqrt(Float64(2.0 * Float64(F / B))))
                                      end
                                      
                                      A, C = num2cell(sort([A, C])){:}
                                      function tmp = code(A, B, C, F)
                                      	tmp = -sqrt((2.0 * (F / B)));
                                      end
                                      
                                      NOTE: A and C should be sorted in increasing order before calling this function.
                                      code[A_, B_, C_, F_] := (-N[Sqrt[N[(2.0 * N[(F / B), $MachinePrecision]), $MachinePrecision]], $MachinePrecision])
                                      
                                      \begin{array}{l}
                                      [A, C] = \mathsf{sort}([A, C])\\
                                      \\
                                      -\sqrt{2 \cdot \frac{F}{B}}
                                      \end{array}
                                      
                                      Derivation
                                      1. Initial program 17.3%

                                        \[\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} \]
                                      2. Step-by-step derivation
                                        1. Simplified21.8%

                                          \[\leadsto \color{blue}{\frac{-\sqrt{2 \cdot \left(\left(\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right) \cdot F\right) \cdot \left(C + \left(A + \mathsf{hypot}\left(B, A - C\right)\right)\right)\right)}}{\mathsf{fma}\left(C, A \cdot -4, B \cdot B\right)}} \]
                                        2. Taylor expanded in A around 0 9.5%

                                          \[\leadsto \color{blue}{-1 \cdot \left(\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}\right)} \]
                                        3. Step-by-step derivation
                                          1. mul-1-neg9.5%

                                            \[\leadsto \color{blue}{-\frac{\sqrt{2}}{B} \cdot \sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F}} \]
                                          2. *-commutative9.5%

                                            \[\leadsto -\color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \frac{\sqrt{2}}{B}} \]
                                          3. distribute-rgt-neg-in9.5%

                                            \[\leadsto \color{blue}{\sqrt{\left(C + \sqrt{{B}^{2} + {C}^{2}}\right) \cdot F} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                          4. *-commutative9.5%

                                            \[\leadsto \sqrt{\color{blue}{F \cdot \left(C + \sqrt{{B}^{2} + {C}^{2}}\right)}} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          5. unpow29.5%

                                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{\color{blue}{B \cdot B} + {C}^{2}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          6. unpow29.5%

                                            \[\leadsto \sqrt{F \cdot \left(C + \sqrt{B \cdot B + \color{blue}{C \cdot C}}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                          7. hypot-def15.1%

                                            \[\leadsto \sqrt{F \cdot \left(C + \color{blue}{\mathsf{hypot}\left(B, C\right)}\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right) \]
                                        4. Simplified15.1%

                                          \[\leadsto \color{blue}{\sqrt{F \cdot \left(C + \mathsf{hypot}\left(B, C\right)\right)} \cdot \left(-\frac{\sqrt{2}}{B}\right)} \]
                                        5. Taylor expanded in C around 0 11.0%

                                          \[\leadsto \color{blue}{-1 \cdot \left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)} \]
                                        6. Step-by-step derivation
                                          1. mul-1-neg11.0%

                                            \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                        7. Simplified11.0%

                                          \[\leadsto \color{blue}{-\sqrt{2} \cdot \sqrt{\frac{F}{B}}} \]
                                        8. Step-by-step derivation
                                          1. pow111.0%

                                            \[\leadsto -\color{blue}{{\left(\sqrt{2} \cdot \sqrt{\frac{F}{B}}\right)}^{1}} \]
                                          2. sqrt-unprod11.0%

                                            \[\leadsto -{\color{blue}{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}}^{1} \]
                                        9. Applied egg-rr11.0%

                                          \[\leadsto -\color{blue}{{\left(\sqrt{2 \cdot \frac{F}{B}}\right)}^{1}} \]
                                        10. Step-by-step derivation
                                          1. unpow111.0%

                                            \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                        11. Simplified11.0%

                                          \[\leadsto -\color{blue}{\sqrt{2 \cdot \frac{F}{B}}} \]
                                        12. Final simplification11.0%

                                          \[\leadsto -\sqrt{2 \cdot \frac{F}{B}} \]

                                        Reproduce

                                        ?
                                        herbie shell --seed 2023178 
                                        (FPCore (A B C F)
                                          :name "ABCF->ab-angle a"
                                          :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))))