Cubic critical

Percentage Accurate: 52.5% → 85.6%
Time: 13.3s
Alternatives: 13
Speedup: 11.6×

Specification

?
\[\begin{array}{l} \\ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \end{array} \]
(FPCore (a b c)
 :precision binary64
 (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)))
double code(double a, double b, double c) {
	return (-b + sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
}
real(8) function code(a, b, c)
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    code = (-b + sqrt(((b * b) - ((3.0d0 * a) * c)))) / (3.0d0 * a)
end function
public static double code(double a, double b, double c) {
	return (-b + Math.sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
}
def code(a, b, c):
	return (-b + math.sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a)
function code(a, b, c)
	return Float64(Float64(Float64(-b) + sqrt(Float64(Float64(b * b) - Float64(Float64(3.0 * a) * c)))) / Float64(3.0 * a))
end
function tmp = code(a, b, c)
	tmp = (-b + sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
end
code[a_, b_, c_] := N[(N[((-b) + N[Sqrt[N[(N[(b * b), $MachinePrecision] - N[(N[(3.0 * a), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(3.0 * a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\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 13 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: 52.5% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \end{array} \]
(FPCore (a b c)
 :precision binary64
 (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)))
double code(double a, double b, double c) {
	return (-b + sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
}
real(8) function code(a, b, c)
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    code = (-b + sqrt(((b * b) - ((3.0d0 * a) * c)))) / (3.0d0 * a)
end function
public static double code(double a, double b, double c) {
	return (-b + Math.sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
}
def code(a, b, c):
	return (-b + math.sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a)
function code(a, b, c)
	return Float64(Float64(Float64(-b) + sqrt(Float64(Float64(b * b) - Float64(Float64(3.0 * a) * c)))) / Float64(3.0 * a))
end
function tmp = code(a, b, c)
	tmp = (-b + sqrt(((b * b) - ((3.0 * a) * c)))) / (3.0 * a);
end
code[a_, b_, c_] := N[(N[((-b) + N[Sqrt[N[(N[(b * b), $MachinePrecision] - N[(N[(3.0 * a), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / N[(3.0 * a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a}
\end{array}

Alternative 1: 85.6% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4.9 \cdot 10^{+95}:\\ \;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{-82}:\\ \;\;\;\;\frac{\sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
(FPCore (a b c)
 :precision binary64
 (if (<= b -4.9e+95)
   (/ (- (* -0.5 (* a (/ c (- b)))) (* b 0.6666666666666666)) a)
   (if (<= b 1.08e-82)
     (/ (- (sqrt (- (* b b) (* c (* a 3.0)))) b) (* a 3.0))
     (* -0.5 (/ c b)))))
double code(double a, double b, double c) {
	double tmp;
	if (b <= -4.9e+95) {
		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
	} else if (b <= 1.08e-82) {
		tmp = (sqrt(((b * b) - (c * (a * 3.0)))) - b) / (a * 3.0);
	} else {
		tmp = -0.5 * (c / b);
	}
	return tmp;
}
real(8) function code(a, b, c)
    real(8), intent (in) :: a
    real(8), intent (in) :: b
    real(8), intent (in) :: c
    real(8) :: tmp
    if (b <= (-4.9d+95)) then
        tmp = (((-0.5d0) * (a * (c / -b))) - (b * 0.6666666666666666d0)) / a
    else if (b <= 1.08d-82) then
        tmp = (sqrt(((b * b) - (c * (a * 3.0d0)))) - b) / (a * 3.0d0)
    else
        tmp = (-0.5d0) * (c / b)
    end if
    code = tmp
end function
public static double code(double a, double b, double c) {
	double tmp;
	if (b <= -4.9e+95) {
		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
	} else if (b <= 1.08e-82) {
		tmp = (Math.sqrt(((b * b) - (c * (a * 3.0)))) - b) / (a * 3.0);
	} else {
		tmp = -0.5 * (c / b);
	}
	return tmp;
}
def code(a, b, c):
	tmp = 0
	if b <= -4.9e+95:
		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a
	elif b <= 1.08e-82:
		tmp = (math.sqrt(((b * b) - (c * (a * 3.0)))) - b) / (a * 3.0)
	else:
		tmp = -0.5 * (c / b)
	return tmp
function code(a, b, c)
	tmp = 0.0
	if (b <= -4.9e+95)
		tmp = Float64(Float64(Float64(-0.5 * Float64(a * Float64(c / Float64(-b)))) - Float64(b * 0.6666666666666666)) / a);
	elseif (b <= 1.08e-82)
		tmp = Float64(Float64(sqrt(Float64(Float64(b * b) - Float64(c * Float64(a * 3.0)))) - b) / Float64(a * 3.0));
	else
		tmp = Float64(-0.5 * Float64(c / b));
	end
	return tmp
end
function tmp_2 = code(a, b, c)
	tmp = 0.0;
	if (b <= -4.9e+95)
		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
	elseif (b <= 1.08e-82)
		tmp = (sqrt(((b * b) - (c * (a * 3.0)))) - b) / (a * 3.0);
	else
		tmp = -0.5 * (c / b);
	end
	tmp_2 = tmp;
end
code[a_, b_, c_] := If[LessEqual[b, -4.9e+95], N[(N[(N[(-0.5 * N[(a * N[(c / (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * 0.6666666666666666), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[b, 1.08e-82], N[(N[(N[Sqrt[N[(N[(b * b), $MachinePrecision] - N[(c * N[(a * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - b), $MachinePrecision] / N[(a * 3.0), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;b \leq -4.9 \cdot 10^{+95}:\\
\;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\

\mathbf{elif}\;b \leq 1.08 \cdot 10^{-82}:\\
\;\;\;\;\frac{\sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)} - b}{a \cdot 3}\\

\mathbf{else}:\\
\;\;\;\;-0.5 \cdot \frac{c}{b}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if b < -4.8999999999999999e95

    1. Initial program 61.9%

      \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
    2. Step-by-step derivation
      1. Simplified61.9%

        \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
      2. Add Preprocessing
      3. Taylor expanded in b around -inf 93.2%

        \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
      4. Taylor expanded in a around 0 86.2%

        \[\leadsto -1 \cdot \color{blue}{\frac{-0.5 \cdot \frac{a \cdot c}{b} + 0.6666666666666666 \cdot b}{a}} \]
      5. Step-by-step derivation
        1. fma-define86.2%

          \[\leadsto -1 \cdot \frac{\color{blue}{\mathsf{fma}\left(-0.5, \frac{a \cdot c}{b}, 0.6666666666666666 \cdot b\right)}}{a} \]
        2. associate-*r/93.8%

          \[\leadsto -1 \cdot \frac{\mathsf{fma}\left(-0.5, \color{blue}{a \cdot \frac{c}{b}}, 0.6666666666666666 \cdot b\right)}{a} \]
        3. *-commutative93.8%

          \[\leadsto -1 \cdot \frac{\mathsf{fma}\left(-0.5, a \cdot \frac{c}{b}, \color{blue}{b \cdot 0.6666666666666666}\right)}{a} \]
      6. Simplified93.8%

        \[\leadsto -1 \cdot \color{blue}{\frac{\mathsf{fma}\left(-0.5, a \cdot \frac{c}{b}, b \cdot 0.6666666666666666\right)}{a}} \]
      7. Step-by-step derivation
        1. fma-undefine93.8%

          \[\leadsto -1 \cdot \frac{\color{blue}{-0.5 \cdot \left(a \cdot \frac{c}{b}\right) + b \cdot 0.6666666666666666}}{a} \]
        2. +-commutative93.8%

          \[\leadsto -1 \cdot \frac{\color{blue}{b \cdot 0.6666666666666666 + -0.5 \cdot \left(a \cdot \frac{c}{b}\right)}}{a} \]
      8. Applied egg-rr93.8%

        \[\leadsto -1 \cdot \frac{\color{blue}{b \cdot 0.6666666666666666 + -0.5 \cdot \left(a \cdot \frac{c}{b}\right)}}{a} \]

      if -4.8999999999999999e95 < b < 1.07999999999999996e-82

      1. Initial program 79.0%

        \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
      2. Add Preprocessing

      if 1.07999999999999996e-82 < b

      1. Initial program 19.7%

        \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
      2. Step-by-step derivation
        1. Simplified19.6%

          \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
        2. Add Preprocessing
        3. Taylor expanded in b around inf 81.5%

          \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
      3. Recombined 3 regimes into one program.
      4. Final simplification82.9%

        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.9 \cdot 10^{+95}:\\ \;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\ \mathbf{elif}\;b \leq 1.08 \cdot 10^{-82}:\\ \;\;\;\;\frac{\sqrt{b \cdot b - c \cdot \left(a \cdot 3\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 2: 85.6% accurate, 0.9× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4.8 \cdot 10^{+95}:\\ \;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\ \mathbf{elif}\;b \leq 5.9 \cdot 10^{-80}:\\ \;\;\;\;\frac{\sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
      (FPCore (a b c)
       :precision binary64
       (if (<= b -4.8e+95)
         (/ (- (* -0.5 (* a (/ c (- b)))) (* b 0.6666666666666666)) a)
         (if (<= b 5.9e-80)
           (/ (- (sqrt (- (* b b) (* 3.0 (* a c)))) b) (* a 3.0))
           (* -0.5 (/ c b)))))
      double code(double a, double b, double c) {
      	double tmp;
      	if (b <= -4.8e+95) {
      		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
      	} else if (b <= 5.9e-80) {
      		tmp = (sqrt(((b * b) - (3.0 * (a * c)))) - b) / (a * 3.0);
      	} else {
      		tmp = -0.5 * (c / b);
      	}
      	return tmp;
      }
      
      real(8) function code(a, b, c)
          real(8), intent (in) :: a
          real(8), intent (in) :: b
          real(8), intent (in) :: c
          real(8) :: tmp
          if (b <= (-4.8d+95)) then
              tmp = (((-0.5d0) * (a * (c / -b))) - (b * 0.6666666666666666d0)) / a
          else if (b <= 5.9d-80) then
              tmp = (sqrt(((b * b) - (3.0d0 * (a * c)))) - b) / (a * 3.0d0)
          else
              tmp = (-0.5d0) * (c / b)
          end if
          code = tmp
      end function
      
      public static double code(double a, double b, double c) {
      	double tmp;
      	if (b <= -4.8e+95) {
      		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
      	} else if (b <= 5.9e-80) {
      		tmp = (Math.sqrt(((b * b) - (3.0 * (a * c)))) - b) / (a * 3.0);
      	} else {
      		tmp = -0.5 * (c / b);
      	}
      	return tmp;
      }
      
      def code(a, b, c):
      	tmp = 0
      	if b <= -4.8e+95:
      		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a
      	elif b <= 5.9e-80:
      		tmp = (math.sqrt(((b * b) - (3.0 * (a * c)))) - b) / (a * 3.0)
      	else:
      		tmp = -0.5 * (c / b)
      	return tmp
      
      function code(a, b, c)
      	tmp = 0.0
      	if (b <= -4.8e+95)
      		tmp = Float64(Float64(Float64(-0.5 * Float64(a * Float64(c / Float64(-b)))) - Float64(b * 0.6666666666666666)) / a);
      	elseif (b <= 5.9e-80)
      		tmp = Float64(Float64(sqrt(Float64(Float64(b * b) - Float64(3.0 * Float64(a * c)))) - b) / Float64(a * 3.0));
      	else
      		tmp = Float64(-0.5 * Float64(c / b));
      	end
      	return tmp
      end
      
      function tmp_2 = code(a, b, c)
      	tmp = 0.0;
      	if (b <= -4.8e+95)
      		tmp = ((-0.5 * (a * (c / -b))) - (b * 0.6666666666666666)) / a;
      	elseif (b <= 5.9e-80)
      		tmp = (sqrt(((b * b) - (3.0 * (a * c)))) - b) / (a * 3.0);
      	else
      		tmp = -0.5 * (c / b);
      	end
      	tmp_2 = tmp;
      end
      
      code[a_, b_, c_] := If[LessEqual[b, -4.8e+95], N[(N[(N[(-0.5 * N[(a * N[(c / (-b)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * 0.6666666666666666), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[b, 5.9e-80], N[(N[(N[Sqrt[N[(N[(b * b), $MachinePrecision] - N[(3.0 * N[(a * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - b), $MachinePrecision] / N[(a * 3.0), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;b \leq -4.8 \cdot 10^{+95}:\\
      \;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\
      
      \mathbf{elif}\;b \leq 5.9 \cdot 10^{-80}:\\
      \;\;\;\;\frac{\sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)} - b}{a \cdot 3}\\
      
      \mathbf{else}:\\
      \;\;\;\;-0.5 \cdot \frac{c}{b}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if b < -4.8000000000000001e95

        1. Initial program 61.9%

          \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
        2. Step-by-step derivation
          1. Simplified61.9%

            \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
          2. Add Preprocessing
          3. Taylor expanded in b around -inf 93.2%

            \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
          4. Taylor expanded in a around 0 86.2%

            \[\leadsto -1 \cdot \color{blue}{\frac{-0.5 \cdot \frac{a \cdot c}{b} + 0.6666666666666666 \cdot b}{a}} \]
          5. Step-by-step derivation
            1. fma-define86.2%

              \[\leadsto -1 \cdot \frac{\color{blue}{\mathsf{fma}\left(-0.5, \frac{a \cdot c}{b}, 0.6666666666666666 \cdot b\right)}}{a} \]
            2. associate-*r/93.8%

              \[\leadsto -1 \cdot \frac{\mathsf{fma}\left(-0.5, \color{blue}{a \cdot \frac{c}{b}}, 0.6666666666666666 \cdot b\right)}{a} \]
            3. *-commutative93.8%

              \[\leadsto -1 \cdot \frac{\mathsf{fma}\left(-0.5, a \cdot \frac{c}{b}, \color{blue}{b \cdot 0.6666666666666666}\right)}{a} \]
          6. Simplified93.8%

            \[\leadsto -1 \cdot \color{blue}{\frac{\mathsf{fma}\left(-0.5, a \cdot \frac{c}{b}, b \cdot 0.6666666666666666\right)}{a}} \]
          7. Step-by-step derivation
            1. fma-undefine93.8%

              \[\leadsto -1 \cdot \frac{\color{blue}{-0.5 \cdot \left(a \cdot \frac{c}{b}\right) + b \cdot 0.6666666666666666}}{a} \]
            2. +-commutative93.8%

              \[\leadsto -1 \cdot \frac{\color{blue}{b \cdot 0.6666666666666666 + -0.5 \cdot \left(a \cdot \frac{c}{b}\right)}}{a} \]
          8. Applied egg-rr93.8%

            \[\leadsto -1 \cdot \frac{\color{blue}{b \cdot 0.6666666666666666 + -0.5 \cdot \left(a \cdot \frac{c}{b}\right)}}{a} \]

          if -4.8000000000000001e95 < b < 5.9000000000000001e-80

          1. Initial program 79.0%

            \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
          2. Step-by-step derivation
            1. sqr-neg79.0%

              \[\leadsto \frac{\left(-b\right) + \sqrt{\color{blue}{\left(-b\right) \cdot \left(-b\right)} - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
            2. sqr-neg79.0%

              \[\leadsto \frac{\left(-b\right) + \sqrt{\color{blue}{b \cdot b} - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
            3. associate-*l*78.9%

              \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \color{blue}{3 \cdot \left(a \cdot c\right)}}}{3 \cdot a} \]
          3. Simplified78.9%

            \[\leadsto \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)}}{3 \cdot a}} \]
          4. Add Preprocessing

          if 5.9000000000000001e-80 < b

          1. Initial program 19.7%

            \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
          2. Step-by-step derivation
            1. Simplified19.6%

              \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
            2. Add Preprocessing
            3. Taylor expanded in b around inf 81.5%

              \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
          3. Recombined 3 regimes into one program.
          4. Final simplification82.9%

            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4.8 \cdot 10^{+95}:\\ \;\;\;\;\frac{-0.5 \cdot \left(a \cdot \frac{c}{-b}\right) - b \cdot 0.6666666666666666}{a}\\ \mathbf{elif}\;b \leq 5.9 \cdot 10^{-80}:\\ \;\;\;\;\frac{\sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
          5. Add Preprocessing

          Alternative 3: 80.3% accurate, 1.0× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -3.8 \cdot 10^{-7}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{-79}:\\ \;\;\;\;\frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
          (FPCore (a b c)
           :precision binary64
           (if (<= b -3.8e-7)
             (+ (* -0.6666666666666666 (/ b a)) (* (/ c b) 0.5))
             (if (<= b 1.4e-79)
               (/ (- (sqrt (* c (* a -3.0))) b) (* a 3.0))
               (* -0.5 (/ c b)))))
          double code(double a, double b, double c) {
          	double tmp;
          	if (b <= -3.8e-7) {
          		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
          	} else if (b <= 1.4e-79) {
          		tmp = (sqrt((c * (a * -3.0))) - b) / (a * 3.0);
          	} else {
          		tmp = -0.5 * (c / b);
          	}
          	return tmp;
          }
          
          real(8) function code(a, b, c)
              real(8), intent (in) :: a
              real(8), intent (in) :: b
              real(8), intent (in) :: c
              real(8) :: tmp
              if (b <= (-3.8d-7)) then
                  tmp = ((-0.6666666666666666d0) * (b / a)) + ((c / b) * 0.5d0)
              else if (b <= 1.4d-79) then
                  tmp = (sqrt((c * (a * (-3.0d0)))) - b) / (a * 3.0d0)
              else
                  tmp = (-0.5d0) * (c / b)
              end if
              code = tmp
          end function
          
          public static double code(double a, double b, double c) {
          	double tmp;
          	if (b <= -3.8e-7) {
          		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
          	} else if (b <= 1.4e-79) {
          		tmp = (Math.sqrt((c * (a * -3.0))) - b) / (a * 3.0);
          	} else {
          		tmp = -0.5 * (c / b);
          	}
          	return tmp;
          }
          
          def code(a, b, c):
          	tmp = 0
          	if b <= -3.8e-7:
          		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5)
          	elif b <= 1.4e-79:
          		tmp = (math.sqrt((c * (a * -3.0))) - b) / (a * 3.0)
          	else:
          		tmp = -0.5 * (c / b)
          	return tmp
          
          function code(a, b, c)
          	tmp = 0.0
          	if (b <= -3.8e-7)
          		tmp = Float64(Float64(-0.6666666666666666 * Float64(b / a)) + Float64(Float64(c / b) * 0.5));
          	elseif (b <= 1.4e-79)
          		tmp = Float64(Float64(sqrt(Float64(c * Float64(a * -3.0))) - b) / Float64(a * 3.0));
          	else
          		tmp = Float64(-0.5 * Float64(c / b));
          	end
          	return tmp
          end
          
          function tmp_2 = code(a, b, c)
          	tmp = 0.0;
          	if (b <= -3.8e-7)
          		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
          	elseif (b <= 1.4e-79)
          		tmp = (sqrt((c * (a * -3.0))) - b) / (a * 3.0);
          	else
          		tmp = -0.5 * (c / b);
          	end
          	tmp_2 = tmp;
          end
          
          code[a_, b_, c_] := If[LessEqual[b, -3.8e-7], N[(N[(-0.6666666666666666 * N[(b / a), $MachinePrecision]), $MachinePrecision] + N[(N[(c / b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.4e-79], N[(N[(N[Sqrt[N[(c * N[(a * -3.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - b), $MachinePrecision] / N[(a * 3.0), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;b \leq -3.8 \cdot 10^{-7}:\\
          \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\
          
          \mathbf{elif}\;b \leq 1.4 \cdot 10^{-79}:\\
          \;\;\;\;\frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a \cdot 3}\\
          
          \mathbf{else}:\\
          \;\;\;\;-0.5 \cdot \frac{c}{b}\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if b < -3.80000000000000015e-7

            1. Initial program 72.5%

              \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
            2. Step-by-step derivation
              1. Simplified72.5%

                \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
              2. Add Preprocessing
              3. Taylor expanded in b around -inf 88.7%

                \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
              4. Taylor expanded in c around 0 89.0%

                \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a} + 0.5 \cdot \frac{c}{b}} \]

              if -3.80000000000000015e-7 < b < 1.40000000000000006e-79

              1. Initial program 74.1%

                \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
              2. Step-by-step derivation
                1. Simplified74.0%

                  \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                2. Add Preprocessing
                3. Taylor expanded in b around 0 64.8%

                  \[\leadsto \frac{\sqrt{\color{blue}{-3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a} \]
                4. Step-by-step derivation
                  1. associate-*r*64.9%

                    \[\leadsto \frac{\sqrt{\color{blue}{\left(-3 \cdot a\right) \cdot c}} - b}{3 \cdot a} \]
                  2. *-commutative64.9%

                    \[\leadsto \frac{\sqrt{\color{blue}{\left(a \cdot -3\right)} \cdot c} - b}{3 \cdot a} \]
                5. Simplified64.9%

                  \[\leadsto \frac{\sqrt{\color{blue}{\left(a \cdot -3\right) \cdot c}} - b}{3 \cdot a} \]

                if 1.40000000000000006e-79 < b

                1. Initial program 19.7%

                  \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                2. Step-by-step derivation
                  1. Simplified19.6%

                    \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                  2. Add Preprocessing
                  3. Taylor expanded in b around inf 81.5%

                    \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                3. Recombined 3 regimes into one program.
                4. Final simplification78.6%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.8 \cdot 10^{-7}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 1.4 \cdot 10^{-79}:\\ \;\;\;\;\frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                5. Add Preprocessing

                Alternative 4: 80.3% accurate, 1.0× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{-6}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 6 \cdot 10^{-81}:\\ \;\;\;\;\frac{\sqrt{\left(a \cdot c\right) \cdot -3} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                (FPCore (a b c)
                 :precision binary64
                 (if (<= b -3.2e-6)
                   (+ (* -0.6666666666666666 (/ b a)) (* (/ c b) 0.5))
                   (if (<= b 6e-81)
                     (/ (- (sqrt (* (* a c) -3.0)) b) (* a 3.0))
                     (* -0.5 (/ c b)))))
                double code(double a, double b, double c) {
                	double tmp;
                	if (b <= -3.2e-6) {
                		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                	} else if (b <= 6e-81) {
                		tmp = (sqrt(((a * c) * -3.0)) - b) / (a * 3.0);
                	} else {
                		tmp = -0.5 * (c / b);
                	}
                	return tmp;
                }
                
                real(8) function code(a, b, c)
                    real(8), intent (in) :: a
                    real(8), intent (in) :: b
                    real(8), intent (in) :: c
                    real(8) :: tmp
                    if (b <= (-3.2d-6)) then
                        tmp = ((-0.6666666666666666d0) * (b / a)) + ((c / b) * 0.5d0)
                    else if (b <= 6d-81) then
                        tmp = (sqrt(((a * c) * (-3.0d0))) - b) / (a * 3.0d0)
                    else
                        tmp = (-0.5d0) * (c / b)
                    end if
                    code = tmp
                end function
                
                public static double code(double a, double b, double c) {
                	double tmp;
                	if (b <= -3.2e-6) {
                		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                	} else if (b <= 6e-81) {
                		tmp = (Math.sqrt(((a * c) * -3.0)) - b) / (a * 3.0);
                	} else {
                		tmp = -0.5 * (c / b);
                	}
                	return tmp;
                }
                
                def code(a, b, c):
                	tmp = 0
                	if b <= -3.2e-6:
                		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5)
                	elif b <= 6e-81:
                		tmp = (math.sqrt(((a * c) * -3.0)) - b) / (a * 3.0)
                	else:
                		tmp = -0.5 * (c / b)
                	return tmp
                
                function code(a, b, c)
                	tmp = 0.0
                	if (b <= -3.2e-6)
                		tmp = Float64(Float64(-0.6666666666666666 * Float64(b / a)) + Float64(Float64(c / b) * 0.5));
                	elseif (b <= 6e-81)
                		tmp = Float64(Float64(sqrt(Float64(Float64(a * c) * -3.0)) - b) / Float64(a * 3.0));
                	else
                		tmp = Float64(-0.5 * Float64(c / b));
                	end
                	return tmp
                end
                
                function tmp_2 = code(a, b, c)
                	tmp = 0.0;
                	if (b <= -3.2e-6)
                		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                	elseif (b <= 6e-81)
                		tmp = (sqrt(((a * c) * -3.0)) - b) / (a * 3.0);
                	else
                		tmp = -0.5 * (c / b);
                	end
                	tmp_2 = tmp;
                end
                
                code[a_, b_, c_] := If[LessEqual[b, -3.2e-6], N[(N[(-0.6666666666666666 * N[(b / a), $MachinePrecision]), $MachinePrecision] + N[(N[(c / b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 6e-81], N[(N[(N[Sqrt[N[(N[(a * c), $MachinePrecision] * -3.0), $MachinePrecision]], $MachinePrecision] - b), $MachinePrecision] / N[(a * 3.0), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                \mathbf{if}\;b \leq -3.2 \cdot 10^{-6}:\\
                \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\
                
                \mathbf{elif}\;b \leq 6 \cdot 10^{-81}:\\
                \;\;\;\;\frac{\sqrt{\left(a \cdot c\right) \cdot -3} - b}{a \cdot 3}\\
                
                \mathbf{else}:\\
                \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 3 regimes
                2. if b < -3.1999999999999999e-6

                  1. Initial program 72.5%

                    \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                  2. Step-by-step derivation
                    1. Simplified72.5%

                      \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                    2. Add Preprocessing
                    3. Taylor expanded in b around -inf 88.7%

                      \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
                    4. Taylor expanded in c around 0 89.0%

                      \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a} + 0.5 \cdot \frac{c}{b}} \]

                    if -3.1999999999999999e-6 < b < 5.9999999999999998e-81

                    1. Initial program 74.1%

                      \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                    2. Step-by-step derivation
                      1. Simplified74.0%

                        \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                      2. Add Preprocessing
                      3. Taylor expanded in b around 0 64.8%

                        \[\leadsto \frac{\sqrt{\color{blue}{-3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a} \]

                      if 5.9999999999999998e-81 < b

                      1. Initial program 19.7%

                        \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                      2. Step-by-step derivation
                        1. Simplified19.6%

                          \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                        2. Add Preprocessing
                        3. Taylor expanded in b around inf 81.5%

                          \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                      3. Recombined 3 regimes into one program.
                      4. Final simplification78.6%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -3.2 \cdot 10^{-6}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 6 \cdot 10^{-81}:\\ \;\;\;\;\frac{\sqrt{\left(a \cdot c\right) \cdot -3} - b}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                      5. Add Preprocessing

                      Alternative 5: 80.2% accurate, 1.0× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -0.00026:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 7.9 \cdot 10^{-81}:\\ \;\;\;\;0.3333333333333333 \cdot \frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                      (FPCore (a b c)
                       :precision binary64
                       (if (<= b -0.00026)
                         (+ (* -0.6666666666666666 (/ b a)) (* (/ c b) 0.5))
                         (if (<= b 7.9e-81)
                           (* 0.3333333333333333 (/ (- (sqrt (* c (* a -3.0))) b) a))
                           (* -0.5 (/ c b)))))
                      double code(double a, double b, double c) {
                      	double tmp;
                      	if (b <= -0.00026) {
                      		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                      	} else if (b <= 7.9e-81) {
                      		tmp = 0.3333333333333333 * ((sqrt((c * (a * -3.0))) - b) / a);
                      	} else {
                      		tmp = -0.5 * (c / b);
                      	}
                      	return tmp;
                      }
                      
                      real(8) function code(a, b, c)
                          real(8), intent (in) :: a
                          real(8), intent (in) :: b
                          real(8), intent (in) :: c
                          real(8) :: tmp
                          if (b <= (-0.00026d0)) then
                              tmp = ((-0.6666666666666666d0) * (b / a)) + ((c / b) * 0.5d0)
                          else if (b <= 7.9d-81) then
                              tmp = 0.3333333333333333d0 * ((sqrt((c * (a * (-3.0d0)))) - b) / a)
                          else
                              tmp = (-0.5d0) * (c / b)
                          end if
                          code = tmp
                      end function
                      
                      public static double code(double a, double b, double c) {
                      	double tmp;
                      	if (b <= -0.00026) {
                      		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                      	} else if (b <= 7.9e-81) {
                      		tmp = 0.3333333333333333 * ((Math.sqrt((c * (a * -3.0))) - b) / a);
                      	} else {
                      		tmp = -0.5 * (c / b);
                      	}
                      	return tmp;
                      }
                      
                      def code(a, b, c):
                      	tmp = 0
                      	if b <= -0.00026:
                      		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5)
                      	elif b <= 7.9e-81:
                      		tmp = 0.3333333333333333 * ((math.sqrt((c * (a * -3.0))) - b) / a)
                      	else:
                      		tmp = -0.5 * (c / b)
                      	return tmp
                      
                      function code(a, b, c)
                      	tmp = 0.0
                      	if (b <= -0.00026)
                      		tmp = Float64(Float64(-0.6666666666666666 * Float64(b / a)) + Float64(Float64(c / b) * 0.5));
                      	elseif (b <= 7.9e-81)
                      		tmp = Float64(0.3333333333333333 * Float64(Float64(sqrt(Float64(c * Float64(a * -3.0))) - b) / a));
                      	else
                      		tmp = Float64(-0.5 * Float64(c / b));
                      	end
                      	return tmp
                      end
                      
                      function tmp_2 = code(a, b, c)
                      	tmp = 0.0;
                      	if (b <= -0.00026)
                      		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                      	elseif (b <= 7.9e-81)
                      		tmp = 0.3333333333333333 * ((sqrt((c * (a * -3.0))) - b) / a);
                      	else
                      		tmp = -0.5 * (c / b);
                      	end
                      	tmp_2 = tmp;
                      end
                      
                      code[a_, b_, c_] := If[LessEqual[b, -0.00026], N[(N[(-0.6666666666666666 * N[(b / a), $MachinePrecision]), $MachinePrecision] + N[(N[(c / b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 7.9e-81], N[(0.3333333333333333 * N[(N[(N[Sqrt[N[(c * N[(a * -3.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] - b), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      \mathbf{if}\;b \leq -0.00026:\\
                      \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\
                      
                      \mathbf{elif}\;b \leq 7.9 \cdot 10^{-81}:\\
                      \;\;\;\;0.3333333333333333 \cdot \frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a}\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 3 regimes
                      2. if b < -2.59999999999999977e-4

                        1. Initial program 72.5%

                          \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                        2. Step-by-step derivation
                          1. Simplified72.5%

                            \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                          2. Add Preprocessing
                          3. Taylor expanded in b around -inf 88.7%

                            \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
                          4. Taylor expanded in c around 0 89.0%

                            \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a} + 0.5 \cdot \frac{c}{b}} \]

                          if -2.59999999999999977e-4 < b < 7.90000000000000016e-81

                          1. Initial program 74.1%

                            \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                          2. Step-by-step derivation
                            1. Simplified74.0%

                              \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                            2. Add Preprocessing
                            3. Taylor expanded in b around 0 64.8%

                              \[\leadsto \frac{\sqrt{\color{blue}{-3 \cdot \left(a \cdot c\right)}} - b}{3 \cdot a} \]
                            4. Step-by-step derivation
                              1. div-sub64.8%

                                \[\leadsto \color{blue}{\frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} - \frac{b}{3 \cdot a}} \]
                              2. metadata-eval64.8%

                                \[\leadsto \frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} - \frac{b}{\color{blue}{{3}^{1}} \cdot a} \]
                              3. metadata-eval64.8%

                                \[\leadsto \frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} - \frac{b}{{3}^{\color{blue}{\left(\frac{2}{2}\right)}} \cdot a} \]
                              4. sqrt-pow264.8%

                                \[\leadsto \frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} - \frac{b}{\color{blue}{{\left(\sqrt{3}\right)}^{2}} \cdot a} \]
                              5. *-commutative64.8%

                                \[\leadsto \frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} - \frac{b}{\color{blue}{a \cdot {\left(\sqrt{3}\right)}^{2}}} \]
                              6. sub-neg64.8%

                                \[\leadsto \color{blue}{\frac{\sqrt{-3 \cdot \left(a \cdot c\right)}}{3 \cdot a} + \left(-\frac{b}{a \cdot {\left(\sqrt{3}\right)}^{2}}\right)} \]
                            5. Applied egg-rr64.7%

                              \[\leadsto \color{blue}{\sqrt{c \cdot \left(a \cdot -3\right)} \cdot \frac{0.3333333333333333}{a} + \left(-b \cdot \frac{0.3333333333333333}{a}\right)} \]
                            6. Step-by-step derivation
                              1. sub-neg64.7%

                                \[\leadsto \color{blue}{\sqrt{c \cdot \left(a \cdot -3\right)} \cdot \frac{0.3333333333333333}{a} - b \cdot \frac{0.3333333333333333}{a}} \]
                              2. distribute-rgt-out--64.7%

                                \[\leadsto \color{blue}{\frac{0.3333333333333333}{a} \cdot \left(\sqrt{c \cdot \left(a \cdot -3\right)} - b\right)} \]
                              3. associate-*l/64.8%

                                \[\leadsto \color{blue}{\frac{0.3333333333333333 \cdot \left(\sqrt{c \cdot \left(a \cdot -3\right)} - b\right)}{a}} \]
                              4. associate-*r/64.6%

                                \[\leadsto \color{blue}{0.3333333333333333 \cdot \frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a}} \]
                            7. Simplified64.6%

                              \[\leadsto \color{blue}{0.3333333333333333 \cdot \frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a}} \]

                            if 7.90000000000000016e-81 < b

                            1. Initial program 19.7%

                              \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                            2. Step-by-step derivation
                              1. Simplified19.6%

                                \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                              2. Add Preprocessing
                              3. Taylor expanded in b around inf 81.5%

                                \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                            3. Recombined 3 regimes into one program.
                            4. Final simplification78.5%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -0.00026:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{elif}\;b \leq 7.9 \cdot 10^{-81}:\\ \;\;\;\;0.3333333333333333 \cdot \frac{\sqrt{c \cdot \left(a \cdot -3\right)} - b}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                            5. Add Preprocessing

                            Alternative 6: 68.0% accurate, 7.2× speedup?

                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{-311}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                            (FPCore (a b c)
                             :precision binary64
                             (if (<= b -5e-311)
                               (+ (* -0.6666666666666666 (/ b a)) (* (/ c b) 0.5))
                               (* -0.5 (/ c b))))
                            double code(double a, double b, double c) {
                            	double tmp;
                            	if (b <= -5e-311) {
                            		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                            	} else {
                            		tmp = -0.5 * (c / b);
                            	}
                            	return tmp;
                            }
                            
                            real(8) function code(a, b, c)
                                real(8), intent (in) :: a
                                real(8), intent (in) :: b
                                real(8), intent (in) :: c
                                real(8) :: tmp
                                if (b <= (-5d-311)) then
                                    tmp = ((-0.6666666666666666d0) * (b / a)) + ((c / b) * 0.5d0)
                                else
                                    tmp = (-0.5d0) * (c / b)
                                end if
                                code = tmp
                            end function
                            
                            public static double code(double a, double b, double c) {
                            	double tmp;
                            	if (b <= -5e-311) {
                            		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                            	} else {
                            		tmp = -0.5 * (c / b);
                            	}
                            	return tmp;
                            }
                            
                            def code(a, b, c):
                            	tmp = 0
                            	if b <= -5e-311:
                            		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5)
                            	else:
                            		tmp = -0.5 * (c / b)
                            	return tmp
                            
                            function code(a, b, c)
                            	tmp = 0.0
                            	if (b <= -5e-311)
                            		tmp = Float64(Float64(-0.6666666666666666 * Float64(b / a)) + Float64(Float64(c / b) * 0.5));
                            	else
                            		tmp = Float64(-0.5 * Float64(c / b));
                            	end
                            	return tmp
                            end
                            
                            function tmp_2 = code(a, b, c)
                            	tmp = 0.0;
                            	if (b <= -5e-311)
                            		tmp = (-0.6666666666666666 * (b / a)) + ((c / b) * 0.5);
                            	else
                            		tmp = -0.5 * (c / b);
                            	end
                            	tmp_2 = tmp;
                            end
                            
                            code[a_, b_, c_] := If[LessEqual[b, -5e-311], N[(N[(-0.6666666666666666 * N[(b / a), $MachinePrecision]), $MachinePrecision] + N[(N[(c / b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                            
                            \begin{array}{l}
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;b \leq -5 \cdot 10^{-311}:\\
                            \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if b < -5.00000000000023e-311

                              1. Initial program 74.4%

                                \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                              2. Step-by-step derivation
                                1. Simplified74.3%

                                  \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                2. Add Preprocessing
                                3. Taylor expanded in b around -inf 62.5%

                                  \[\leadsto \color{blue}{-1 \cdot \left(b \cdot \left(-0.5 \cdot \frac{c}{{b}^{2}} + 0.6666666666666666 \cdot \frac{1}{a}\right)\right)} \]
                                4. Taylor expanded in c around 0 63.8%

                                  \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a} + 0.5 \cdot \frac{c}{b}} \]

                                if -5.00000000000023e-311 < b

                                1. Initial program 31.3%

                                  \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                2. Step-by-step derivation
                                  1. Simplified31.3%

                                    \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in b around inf 65.6%

                                    \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                3. Recombined 2 regimes into one program.
                                4. Final simplification64.8%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{-311}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a} + \frac{c}{b} \cdot 0.5\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                                5. Add Preprocessing

                                Alternative 7: 67.8% accurate, 9.7× speedup?

                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;\frac{\frac{b \cdot -2}{a}}{3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                (FPCore (a b c)
                                 :precision binary64
                                 (if (<= b 8e-264) (/ (/ (* b -2.0) a) 3.0) (* -0.5 (/ c b))))
                                double code(double a, double b, double c) {
                                	double tmp;
                                	if (b <= 8e-264) {
                                		tmp = ((b * -2.0) / a) / 3.0;
                                	} else {
                                		tmp = -0.5 * (c / b);
                                	}
                                	return tmp;
                                }
                                
                                real(8) function code(a, b, c)
                                    real(8), intent (in) :: a
                                    real(8), intent (in) :: b
                                    real(8), intent (in) :: c
                                    real(8) :: tmp
                                    if (b <= 8d-264) then
                                        tmp = ((b * (-2.0d0)) / a) / 3.0d0
                                    else
                                        tmp = (-0.5d0) * (c / b)
                                    end if
                                    code = tmp
                                end function
                                
                                public static double code(double a, double b, double c) {
                                	double tmp;
                                	if (b <= 8e-264) {
                                		tmp = ((b * -2.0) / a) / 3.0;
                                	} else {
                                		tmp = -0.5 * (c / b);
                                	}
                                	return tmp;
                                }
                                
                                def code(a, b, c):
                                	tmp = 0
                                	if b <= 8e-264:
                                		tmp = ((b * -2.0) / a) / 3.0
                                	else:
                                		tmp = -0.5 * (c / b)
                                	return tmp
                                
                                function code(a, b, c)
                                	tmp = 0.0
                                	if (b <= 8e-264)
                                		tmp = Float64(Float64(Float64(b * -2.0) / a) / 3.0);
                                	else
                                		tmp = Float64(-0.5 * Float64(c / b));
                                	end
                                	return tmp
                                end
                                
                                function tmp_2 = code(a, b, c)
                                	tmp = 0.0;
                                	if (b <= 8e-264)
                                		tmp = ((b * -2.0) / a) / 3.0;
                                	else
                                		tmp = -0.5 * (c / b);
                                	end
                                	tmp_2 = tmp;
                                end
                                
                                code[a_, b_, c_] := If[LessEqual[b, 8e-264], N[(N[(N[(b * -2.0), $MachinePrecision] / a), $MachinePrecision] / 3.0), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                
                                \begin{array}{l}
                                
                                \\
                                \begin{array}{l}
                                \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\
                                \;\;\;\;\frac{\frac{b \cdot -2}{a}}{3}\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 2 regimes
                                2. if b < 8.0000000000000001e-264

                                  1. Initial program 74.2%

                                    \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                  2. Add Preprocessing
                                  3. Step-by-step derivation
                                    1. add-sqr-sqrt37.7%

                                      \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{\sqrt{3 \cdot a} \cdot \sqrt{3 \cdot a}}} \]
                                    2. pow237.7%

                                      \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{{\left(\sqrt{3 \cdot a}\right)}^{2}}} \]
                                  4. Applied egg-rr37.7%

                                    \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{{\left(\sqrt{3 \cdot a}\right)}^{2}}} \]
                                  5. Taylor expanded in b around -inf 60.0%

                                    \[\leadsto \color{blue}{-2 \cdot \frac{b}{a \cdot {\left(\sqrt{3}\right)}^{2}}} \]
                                  6. Step-by-step derivation
                                    1. associate-*r/60.0%

                                      \[\leadsto \color{blue}{\frac{-2 \cdot b}{a \cdot {\left(\sqrt{3}\right)}^{2}}} \]
                                    2. associate-/r*59.9%

                                      \[\leadsto \color{blue}{\frac{\frac{-2 \cdot b}{a}}{{\left(\sqrt{3}\right)}^{2}}} \]
                                    3. *-commutative59.9%

                                      \[\leadsto \frac{\frac{\color{blue}{b \cdot -2}}{a}}{{\left(\sqrt{3}\right)}^{2}} \]
                                    4. sqrt-pow260.4%

                                      \[\leadsto \frac{\frac{b \cdot -2}{a}}{\color{blue}{{3}^{\left(\frac{2}{2}\right)}}} \]
                                    5. metadata-eval60.4%

                                      \[\leadsto \frac{\frac{b \cdot -2}{a}}{{3}^{\color{blue}{1}}} \]
                                    6. metadata-eval60.4%

                                      \[\leadsto \frac{\frac{b \cdot -2}{a}}{\color{blue}{3}} \]
                                  7. Applied egg-rr60.4%

                                    \[\leadsto \color{blue}{\frac{\frac{b \cdot -2}{a}}{3}} \]

                                  if 8.0000000000000001e-264 < b

                                  1. Initial program 29.1%

                                    \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                  2. Step-by-step derivation
                                    1. Simplified29.1%

                                      \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                    2. Add Preprocessing
                                    3. Taylor expanded in b around inf 69.0%

                                      \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                  3. Recombined 2 regimes into one program.
                                  4. Add Preprocessing

                                  Alternative 8: 67.8% accurate, 9.7× speedup?

                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 2.8 \cdot 10^{-263}:\\ \;\;\;\;\frac{b \cdot -2}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                  (FPCore (a b c)
                                   :precision binary64
                                   (if (<= b 2.8e-263) (/ (* b -2.0) (* a 3.0)) (* -0.5 (/ c b))))
                                  double code(double a, double b, double c) {
                                  	double tmp;
                                  	if (b <= 2.8e-263) {
                                  		tmp = (b * -2.0) / (a * 3.0);
                                  	} else {
                                  		tmp = -0.5 * (c / b);
                                  	}
                                  	return tmp;
                                  }
                                  
                                  real(8) function code(a, b, c)
                                      real(8), intent (in) :: a
                                      real(8), intent (in) :: b
                                      real(8), intent (in) :: c
                                      real(8) :: tmp
                                      if (b <= 2.8d-263) then
                                          tmp = (b * (-2.0d0)) / (a * 3.0d0)
                                      else
                                          tmp = (-0.5d0) * (c / b)
                                      end if
                                      code = tmp
                                  end function
                                  
                                  public static double code(double a, double b, double c) {
                                  	double tmp;
                                  	if (b <= 2.8e-263) {
                                  		tmp = (b * -2.0) / (a * 3.0);
                                  	} else {
                                  		tmp = -0.5 * (c / b);
                                  	}
                                  	return tmp;
                                  }
                                  
                                  def code(a, b, c):
                                  	tmp = 0
                                  	if b <= 2.8e-263:
                                  		tmp = (b * -2.0) / (a * 3.0)
                                  	else:
                                  		tmp = -0.5 * (c / b)
                                  	return tmp
                                  
                                  function code(a, b, c)
                                  	tmp = 0.0
                                  	if (b <= 2.8e-263)
                                  		tmp = Float64(Float64(b * -2.0) / Float64(a * 3.0));
                                  	else
                                  		tmp = Float64(-0.5 * Float64(c / b));
                                  	end
                                  	return tmp
                                  end
                                  
                                  function tmp_2 = code(a, b, c)
                                  	tmp = 0.0;
                                  	if (b <= 2.8e-263)
                                  		tmp = (b * -2.0) / (a * 3.0);
                                  	else
                                  		tmp = -0.5 * (c / b);
                                  	end
                                  	tmp_2 = tmp;
                                  end
                                  
                                  code[a_, b_, c_] := If[LessEqual[b, 2.8e-263], N[(N[(b * -2.0), $MachinePrecision] / N[(a * 3.0), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                  
                                  \begin{array}{l}
                                  
                                  \\
                                  \begin{array}{l}
                                  \mathbf{if}\;b \leq 2.8 \cdot 10^{-263}:\\
                                  \;\;\;\;\frac{b \cdot -2}{a \cdot 3}\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 2 regimes
                                  2. if b < 2.8e-263

                                    1. Initial program 74.2%

                                      \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                    2. Step-by-step derivation
                                      1. Simplified74.1%

                                        \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in b around -inf 60.4%

                                        \[\leadsto \frac{\color{blue}{-2 \cdot b}}{3 \cdot a} \]
                                      4. Step-by-step derivation
                                        1. *-commutative60.4%

                                          \[\leadsto \frac{\color{blue}{b \cdot -2}}{3 \cdot a} \]
                                      5. Simplified60.4%

                                        \[\leadsto \frac{\color{blue}{b \cdot -2}}{3 \cdot a} \]

                                      if 2.8e-263 < b

                                      1. Initial program 29.1%

                                        \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                      2. Step-by-step derivation
                                        1. Simplified29.1%

                                          \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                        2. Add Preprocessing
                                        3. Taylor expanded in b around inf 69.0%

                                          \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                      3. Recombined 2 regimes into one program.
                                      4. Final simplification64.7%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq 2.8 \cdot 10^{-263}:\\ \;\;\;\;\frac{b \cdot -2}{a \cdot 3}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                                      5. Add Preprocessing

                                      Alternative 9: 67.8% accurate, 9.7× speedup?

                                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;\frac{-2}{a \cdot \frac{3}{b}}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                      (FPCore (a b c)
                                       :precision binary64
                                       (if (<= b 8e-264) (/ -2.0 (* a (/ 3.0 b))) (* -0.5 (/ c b))))
                                      double code(double a, double b, double c) {
                                      	double tmp;
                                      	if (b <= 8e-264) {
                                      		tmp = -2.0 / (a * (3.0 / b));
                                      	} else {
                                      		tmp = -0.5 * (c / b);
                                      	}
                                      	return tmp;
                                      }
                                      
                                      real(8) function code(a, b, c)
                                          real(8), intent (in) :: a
                                          real(8), intent (in) :: b
                                          real(8), intent (in) :: c
                                          real(8) :: tmp
                                          if (b <= 8d-264) then
                                              tmp = (-2.0d0) / (a * (3.0d0 / b))
                                          else
                                              tmp = (-0.5d0) * (c / b)
                                          end if
                                          code = tmp
                                      end function
                                      
                                      public static double code(double a, double b, double c) {
                                      	double tmp;
                                      	if (b <= 8e-264) {
                                      		tmp = -2.0 / (a * (3.0 / b));
                                      	} else {
                                      		tmp = -0.5 * (c / b);
                                      	}
                                      	return tmp;
                                      }
                                      
                                      def code(a, b, c):
                                      	tmp = 0
                                      	if b <= 8e-264:
                                      		tmp = -2.0 / (a * (3.0 / b))
                                      	else:
                                      		tmp = -0.5 * (c / b)
                                      	return tmp
                                      
                                      function code(a, b, c)
                                      	tmp = 0.0
                                      	if (b <= 8e-264)
                                      		tmp = Float64(-2.0 / Float64(a * Float64(3.0 / b)));
                                      	else
                                      		tmp = Float64(-0.5 * Float64(c / b));
                                      	end
                                      	return tmp
                                      end
                                      
                                      function tmp_2 = code(a, b, c)
                                      	tmp = 0.0;
                                      	if (b <= 8e-264)
                                      		tmp = -2.0 / (a * (3.0 / b));
                                      	else
                                      		tmp = -0.5 * (c / b);
                                      	end
                                      	tmp_2 = tmp;
                                      end
                                      
                                      code[a_, b_, c_] := If[LessEqual[b, 8e-264], N[(-2.0 / N[(a * N[(3.0 / b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                      
                                      \begin{array}{l}
                                      
                                      \\
                                      \begin{array}{l}
                                      \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\
                                      \;\;\;\;\frac{-2}{a \cdot \frac{3}{b}}\\
                                      
                                      \mathbf{else}:\\
                                      \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                      
                                      
                                      \end{array}
                                      \end{array}
                                      
                                      Derivation
                                      1. Split input into 2 regimes
                                      2. if b < 8.0000000000000001e-264

                                        1. Initial program 74.2%

                                          \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                        2. Add Preprocessing
                                        3. Step-by-step derivation
                                          1. add-sqr-sqrt37.7%

                                            \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{\sqrt{3 \cdot a} \cdot \sqrt{3 \cdot a}}} \]
                                          2. pow237.7%

                                            \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{{\left(\sqrt{3 \cdot a}\right)}^{2}}} \]
                                        4. Applied egg-rr37.7%

                                          \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{\color{blue}{{\left(\sqrt{3 \cdot a}\right)}^{2}}} \]
                                        5. Taylor expanded in b around -inf 60.0%

                                          \[\leadsto \color{blue}{-2 \cdot \frac{b}{a \cdot {\left(\sqrt{3}\right)}^{2}}} \]
                                        6. Step-by-step derivation
                                          1. clear-num60.1%

                                            \[\leadsto -2 \cdot \color{blue}{\frac{1}{\frac{a \cdot {\left(\sqrt{3}\right)}^{2}}{b}}} \]
                                          2. un-div-inv60.1%

                                            \[\leadsto \color{blue}{\frac{-2}{\frac{a \cdot {\left(\sqrt{3}\right)}^{2}}{b}}} \]
                                          3. associate-/l*60.0%

                                            \[\leadsto \frac{-2}{\color{blue}{a \cdot \frac{{\left(\sqrt{3}\right)}^{2}}{b}}} \]
                                          4. sqrt-pow260.3%

                                            \[\leadsto \frac{-2}{a \cdot \frac{\color{blue}{{3}^{\left(\frac{2}{2}\right)}}}{b}} \]
                                          5. metadata-eval60.3%

                                            \[\leadsto \frac{-2}{a \cdot \frac{{3}^{\color{blue}{1}}}{b}} \]
                                          6. metadata-eval60.3%

                                            \[\leadsto \frac{-2}{a \cdot \frac{\color{blue}{3}}{b}} \]
                                        7. Applied egg-rr60.3%

                                          \[\leadsto \color{blue}{\frac{-2}{a \cdot \frac{3}{b}}} \]

                                        if 8.0000000000000001e-264 < b

                                        1. Initial program 29.1%

                                          \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                        2. Step-by-step derivation
                                          1. Simplified29.1%

                                            \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in b around inf 69.0%

                                            \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                        3. Recombined 2 regimes into one program.
                                        4. Add Preprocessing

                                        Alternative 10: 67.8% accurate, 11.6× speedup?

                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;\frac{b \cdot -0.6666666666666666}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                        (FPCore (a b c)
                                         :precision binary64
                                         (if (<= b 8e-264) (/ (* b -0.6666666666666666) a) (* -0.5 (/ c b))))
                                        double code(double a, double b, double c) {
                                        	double tmp;
                                        	if (b <= 8e-264) {
                                        		tmp = (b * -0.6666666666666666) / a;
                                        	} else {
                                        		tmp = -0.5 * (c / b);
                                        	}
                                        	return tmp;
                                        }
                                        
                                        real(8) function code(a, b, c)
                                            real(8), intent (in) :: a
                                            real(8), intent (in) :: b
                                            real(8), intent (in) :: c
                                            real(8) :: tmp
                                            if (b <= 8d-264) then
                                                tmp = (b * (-0.6666666666666666d0)) / a
                                            else
                                                tmp = (-0.5d0) * (c / b)
                                            end if
                                            code = tmp
                                        end function
                                        
                                        public static double code(double a, double b, double c) {
                                        	double tmp;
                                        	if (b <= 8e-264) {
                                        		tmp = (b * -0.6666666666666666) / a;
                                        	} else {
                                        		tmp = -0.5 * (c / b);
                                        	}
                                        	return tmp;
                                        }
                                        
                                        def code(a, b, c):
                                        	tmp = 0
                                        	if b <= 8e-264:
                                        		tmp = (b * -0.6666666666666666) / a
                                        	else:
                                        		tmp = -0.5 * (c / b)
                                        	return tmp
                                        
                                        function code(a, b, c)
                                        	tmp = 0.0
                                        	if (b <= 8e-264)
                                        		tmp = Float64(Float64(b * -0.6666666666666666) / a);
                                        	else
                                        		tmp = Float64(-0.5 * Float64(c / b));
                                        	end
                                        	return tmp
                                        end
                                        
                                        function tmp_2 = code(a, b, c)
                                        	tmp = 0.0;
                                        	if (b <= 8e-264)
                                        		tmp = (b * -0.6666666666666666) / a;
                                        	else
                                        		tmp = -0.5 * (c / b);
                                        	end
                                        	tmp_2 = tmp;
                                        end
                                        
                                        code[a_, b_, c_] := If[LessEqual[b, 8e-264], N[(N[(b * -0.6666666666666666), $MachinePrecision] / a), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                        
                                        \begin{array}{l}
                                        
                                        \\
                                        \begin{array}{l}
                                        \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\
                                        \;\;\;\;\frac{b \cdot -0.6666666666666666}{a}\\
                                        
                                        \mathbf{else}:\\
                                        \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                        
                                        
                                        \end{array}
                                        \end{array}
                                        
                                        Derivation
                                        1. Split input into 2 regimes
                                        2. if b < 8.0000000000000001e-264

                                          1. Initial program 74.2%

                                            \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                          2. Step-by-step derivation
                                            1. sqr-neg74.2%

                                              \[\leadsto \frac{\left(-b\right) + \sqrt{\color{blue}{\left(-b\right) \cdot \left(-b\right)} - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                            2. sqr-neg74.2%

                                              \[\leadsto \frac{\left(-b\right) + \sqrt{\color{blue}{b \cdot b} - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                            3. associate-*l*74.2%

                                              \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - \color{blue}{3 \cdot \left(a \cdot c\right)}}}{3 \cdot a} \]
                                          3. Simplified74.2%

                                            \[\leadsto \color{blue}{\frac{\left(-b\right) + \sqrt{b \cdot b - 3 \cdot \left(a \cdot c\right)}}{3 \cdot a}} \]
                                          4. Add Preprocessing
                                          5. Step-by-step derivation
                                            1. add-cube-cbrt74.0%

                                              \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - 3 \cdot \color{blue}{\left(\left(\sqrt[3]{a \cdot c} \cdot \sqrt[3]{a \cdot c}\right) \cdot \sqrt[3]{a \cdot c}\right)}}}{3 \cdot a} \]
                                            2. pow374.0%

                                              \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - 3 \cdot \color{blue}{{\left(\sqrt[3]{a \cdot c}\right)}^{3}}}}{3 \cdot a} \]
                                          6. Applied egg-rr74.0%

                                            \[\leadsto \frac{\left(-b\right) + \sqrt{b \cdot b - 3 \cdot \color{blue}{{\left(\sqrt[3]{a \cdot c}\right)}^{3}}}}{3 \cdot a} \]
                                          7. Taylor expanded in b around -inf 60.3%

                                            \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a}} \]
                                          8. Step-by-step derivation
                                            1. associate-*r/60.3%

                                              \[\leadsto \color{blue}{\frac{-0.6666666666666666 \cdot b}{a}} \]
                                            2. *-commutative60.3%

                                              \[\leadsto \frac{\color{blue}{b \cdot -0.6666666666666666}}{a} \]
                                          9. Simplified60.3%

                                            \[\leadsto \color{blue}{\frac{b \cdot -0.6666666666666666}{a}} \]

                                          if 8.0000000000000001e-264 < b

                                          1. Initial program 29.1%

                                            \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                          2. Step-by-step derivation
                                            1. Simplified29.1%

                                              \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                            2. Add Preprocessing
                                            3. Taylor expanded in b around inf 69.0%

                                              \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                          3. Recombined 2 regimes into one program.
                                          4. Add Preprocessing

                                          Alternative 11: 67.8% accurate, 11.6× speedup?

                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                          (FPCore (a b c)
                                           :precision binary64
                                           (if (<= b 8e-264) (* -0.6666666666666666 (/ b a)) (* -0.5 (/ c b))))
                                          double code(double a, double b, double c) {
                                          	double tmp;
                                          	if (b <= 8e-264) {
                                          		tmp = -0.6666666666666666 * (b / a);
                                          	} else {
                                          		tmp = -0.5 * (c / b);
                                          	}
                                          	return tmp;
                                          }
                                          
                                          real(8) function code(a, b, c)
                                              real(8), intent (in) :: a
                                              real(8), intent (in) :: b
                                              real(8), intent (in) :: c
                                              real(8) :: tmp
                                              if (b <= 8d-264) then
                                                  tmp = (-0.6666666666666666d0) * (b / a)
                                              else
                                                  tmp = (-0.5d0) * (c / b)
                                              end if
                                              code = tmp
                                          end function
                                          
                                          public static double code(double a, double b, double c) {
                                          	double tmp;
                                          	if (b <= 8e-264) {
                                          		tmp = -0.6666666666666666 * (b / a);
                                          	} else {
                                          		tmp = -0.5 * (c / b);
                                          	}
                                          	return tmp;
                                          }
                                          
                                          def code(a, b, c):
                                          	tmp = 0
                                          	if b <= 8e-264:
                                          		tmp = -0.6666666666666666 * (b / a)
                                          	else:
                                          		tmp = -0.5 * (c / b)
                                          	return tmp
                                          
                                          function code(a, b, c)
                                          	tmp = 0.0
                                          	if (b <= 8e-264)
                                          		tmp = Float64(-0.6666666666666666 * Float64(b / a));
                                          	else
                                          		tmp = Float64(-0.5 * Float64(c / b));
                                          	end
                                          	return tmp
                                          end
                                          
                                          function tmp_2 = code(a, b, c)
                                          	tmp = 0.0;
                                          	if (b <= 8e-264)
                                          		tmp = -0.6666666666666666 * (b / a);
                                          	else
                                          		tmp = -0.5 * (c / b);
                                          	end
                                          	tmp_2 = tmp;
                                          end
                                          
                                          code[a_, b_, c_] := If[LessEqual[b, 8e-264], N[(-0.6666666666666666 * N[(b / a), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                          
                                          \begin{array}{l}
                                          
                                          \\
                                          \begin{array}{l}
                                          \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\
                                          \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a}\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 2 regimes
                                          2. if b < 8.0000000000000001e-264

                                            1. Initial program 74.2%

                                              \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                            2. Step-by-step derivation
                                              1. Simplified74.1%

                                                \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                              2. Add Preprocessing
                                              3. Taylor expanded in b around -inf 60.3%

                                                \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a}} \]
                                              4. Step-by-step derivation
                                                1. *-commutative60.3%

                                                  \[\leadsto \color{blue}{\frac{b}{a} \cdot -0.6666666666666666} \]
                                              5. Simplified60.3%

                                                \[\leadsto \color{blue}{\frac{b}{a} \cdot -0.6666666666666666} \]

                                              if 8.0000000000000001e-264 < b

                                              1. Initial program 29.1%

                                                \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                              2. Step-by-step derivation
                                                1. Simplified29.1%

                                                  \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                                2. Add Preprocessing
                                                3. Taylor expanded in b around inf 69.0%

                                                  \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                              3. Recombined 2 regimes into one program.
                                              4. Final simplification64.7%

                                                \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;-0.6666666666666666 \cdot \frac{b}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                                              5. Add Preprocessing

                                              Alternative 12: 67.8% accurate, 11.6× speedup?

                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;b \cdot \frac{-0.6666666666666666}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \end{array} \]
                                              (FPCore (a b c)
                                               :precision binary64
                                               (if (<= b 8e-264) (* b (/ -0.6666666666666666 a)) (* -0.5 (/ c b))))
                                              double code(double a, double b, double c) {
                                              	double tmp;
                                              	if (b <= 8e-264) {
                                              		tmp = b * (-0.6666666666666666 / a);
                                              	} else {
                                              		tmp = -0.5 * (c / b);
                                              	}
                                              	return tmp;
                                              }
                                              
                                              real(8) function code(a, b, c)
                                                  real(8), intent (in) :: a
                                                  real(8), intent (in) :: b
                                                  real(8), intent (in) :: c
                                                  real(8) :: tmp
                                                  if (b <= 8d-264) then
                                                      tmp = b * ((-0.6666666666666666d0) / a)
                                                  else
                                                      tmp = (-0.5d0) * (c / b)
                                                  end if
                                                  code = tmp
                                              end function
                                              
                                              public static double code(double a, double b, double c) {
                                              	double tmp;
                                              	if (b <= 8e-264) {
                                              		tmp = b * (-0.6666666666666666 / a);
                                              	} else {
                                              		tmp = -0.5 * (c / b);
                                              	}
                                              	return tmp;
                                              }
                                              
                                              def code(a, b, c):
                                              	tmp = 0
                                              	if b <= 8e-264:
                                              		tmp = b * (-0.6666666666666666 / a)
                                              	else:
                                              		tmp = -0.5 * (c / b)
                                              	return tmp
                                              
                                              function code(a, b, c)
                                              	tmp = 0.0
                                              	if (b <= 8e-264)
                                              		tmp = Float64(b * Float64(-0.6666666666666666 / a));
                                              	else
                                              		tmp = Float64(-0.5 * Float64(c / b));
                                              	end
                                              	return tmp
                                              end
                                              
                                              function tmp_2 = code(a, b, c)
                                              	tmp = 0.0;
                                              	if (b <= 8e-264)
                                              		tmp = b * (-0.6666666666666666 / a);
                                              	else
                                              		tmp = -0.5 * (c / b);
                                              	end
                                              	tmp_2 = tmp;
                                              end
                                              
                                              code[a_, b_, c_] := If[LessEqual[b, 8e-264], N[(b * N[(-0.6666666666666666 / a), $MachinePrecision]), $MachinePrecision], N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]]
                                              
                                              \begin{array}{l}
                                              
                                              \\
                                              \begin{array}{l}
                                              \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\
                                              \;\;\;\;b \cdot \frac{-0.6666666666666666}{a}\\
                                              
                                              \mathbf{else}:\\
                                              \;\;\;\;-0.5 \cdot \frac{c}{b}\\
                                              
                                              
                                              \end{array}
                                              \end{array}
                                              
                                              Derivation
                                              1. Split input into 2 regimes
                                              2. if b < 8.0000000000000001e-264

                                                1. Initial program 74.2%

                                                  \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                                2. Step-by-step derivation
                                                  1. Simplified74.1%

                                                    \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                                  2. Add Preprocessing
                                                  3. Taylor expanded in b around -inf 60.3%

                                                    \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a}} \]
                                                  4. Step-by-step derivation
                                                    1. *-commutative60.3%

                                                      \[\leadsto \color{blue}{\frac{b}{a} \cdot -0.6666666666666666} \]
                                                  5. Simplified60.3%

                                                    \[\leadsto \color{blue}{\frac{b}{a} \cdot -0.6666666666666666} \]
                                                  6. Taylor expanded in b around 0 60.3%

                                                    \[\leadsto \color{blue}{-0.6666666666666666 \cdot \frac{b}{a}} \]
                                                  7. Step-by-step derivation
                                                    1. associate-*r/60.3%

                                                      \[\leadsto \color{blue}{\frac{-0.6666666666666666 \cdot b}{a}} \]
                                                    2. associate-*l/60.3%

                                                      \[\leadsto \color{blue}{\frac{-0.6666666666666666}{a} \cdot b} \]
                                                    3. associate-/r/60.3%

                                                      \[\leadsto \color{blue}{\frac{-0.6666666666666666}{\frac{a}{b}}} \]
                                                  8. Simplified60.3%

                                                    \[\leadsto \color{blue}{\frac{-0.6666666666666666}{\frac{a}{b}}} \]
                                                  9. Step-by-step derivation
                                                    1. associate-/r/60.3%

                                                      \[\leadsto \color{blue}{\frac{-0.6666666666666666}{a} \cdot b} \]
                                                  10. Applied egg-rr60.3%

                                                    \[\leadsto \color{blue}{\frac{-0.6666666666666666}{a} \cdot b} \]

                                                  if 8.0000000000000001e-264 < b

                                                  1. Initial program 29.1%

                                                    \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                                  2. Step-by-step derivation
                                                    1. Simplified29.1%

                                                      \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in b around inf 69.0%

                                                      \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                                  3. Recombined 2 regimes into one program.
                                                  4. Final simplification64.7%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq 8 \cdot 10^{-264}:\\ \;\;\;\;b \cdot \frac{-0.6666666666666666}{a}\\ \mathbf{else}:\\ \;\;\;\;-0.5 \cdot \frac{c}{b}\\ \end{array} \]
                                                  5. Add Preprocessing

                                                  Alternative 13: 34.6% accurate, 23.2× speedup?

                                                  \[\begin{array}{l} \\ -0.5 \cdot \frac{c}{b} \end{array} \]
                                                  (FPCore (a b c) :precision binary64 (* -0.5 (/ c b)))
                                                  double code(double a, double b, double c) {
                                                  	return -0.5 * (c / b);
                                                  }
                                                  
                                                  real(8) function code(a, b, c)
                                                      real(8), intent (in) :: a
                                                      real(8), intent (in) :: b
                                                      real(8), intent (in) :: c
                                                      code = (-0.5d0) * (c / b)
                                                  end function
                                                  
                                                  public static double code(double a, double b, double c) {
                                                  	return -0.5 * (c / b);
                                                  }
                                                  
                                                  def code(a, b, c):
                                                  	return -0.5 * (c / b)
                                                  
                                                  function code(a, b, c)
                                                  	return Float64(-0.5 * Float64(c / b))
                                                  end
                                                  
                                                  function tmp = code(a, b, c)
                                                  	tmp = -0.5 * (c / b);
                                                  end
                                                  
                                                  code[a_, b_, c_] := N[(-0.5 * N[(c / b), $MachinePrecision]), $MachinePrecision]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  -0.5 \cdot \frac{c}{b}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Initial program 51.3%

                                                    \[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(3 \cdot a\right) \cdot c}}{3 \cdot a} \]
                                                  2. Step-by-step derivation
                                                    1. Simplified51.3%

                                                      \[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, a \cdot \left(c \cdot -3\right)\right)} - b}{3 \cdot a}} \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in b around inf 36.1%

                                                      \[\leadsto \color{blue}{-0.5 \cdot \frac{c}{b}} \]
                                                    4. Add Preprocessing

                                                    Reproduce

                                                    ?
                                                    herbie shell --seed 2024157 
                                                    (FPCore (a b c)
                                                      :name "Cubic critical"
                                                      :precision binary64
                                                      (/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a)))