Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, B

Percentage Accurate: 85.3% → 98.4%
Time: 9.3s
Alternatives: 11
Speedup: 1.0×

Specification

?
\[\begin{array}{l} \\ x + \frac{y \cdot \left(z - t\right)}{a - t} \end{array} \]
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) (- a t))))
double code(double x, double y, double z, double t, double a) {
	return x + ((y * (z - t)) / (a - t));
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    code = x + ((y * (z - t)) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
	return x + ((y * (z - t)) / (a - t));
}
def code(x, y, z, t, a):
	return x + ((y * (z - t)) / (a - t))
function code(x, y, z, t, a)
	return Float64(x + Float64(Float64(y * Float64(z - t)) / Float64(a - t)))
end
function tmp = code(x, y, z, t, a)
	tmp = x + ((y * (z - t)) / (a - t));
end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
x + \frac{y \cdot \left(z - t\right)}{a - t}
\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 11 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: 85.3% accurate, 1.0× speedup?

\[\begin{array}{l} \\ x + \frac{y \cdot \left(z - t\right)}{a - t} \end{array} \]
(FPCore (x y z t a) :precision binary64 (+ x (/ (* y (- z t)) (- a t))))
double code(double x, double y, double z, double t, double a) {
	return x + ((y * (z - t)) / (a - t));
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    code = x + ((y * (z - t)) / (a - t))
end function
public static double code(double x, double y, double z, double t, double a) {
	return x + ((y * (z - t)) / (a - t));
}
def code(x, y, z, t, a):
	return x + ((y * (z - t)) / (a - t))
function code(x, y, z, t, a)
	return Float64(x + Float64(Float64(y * Float64(z - t)) / Float64(a - t)))
end
function tmp = code(x, y, z, t, a)
	tmp = x + ((y * (z - t)) / (a - t));
end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
x + \frac{y \cdot \left(z - t\right)}{a - t}
\end{array}

Alternative 1: 98.4% accurate, 1.0× speedup?

\[\begin{array}{l} \\ x + \frac{y}{\frac{a - t}{z - t}} \end{array} \]
(FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- a t) (- z t)))))
double code(double x, double y, double z, double t, double a) {
	return x + (y / ((a - t) / (z - t)));
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    code = x + (y / ((a - t) / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
	return x + (y / ((a - t) / (z - t)));
}
def code(x, y, z, t, a):
	return x + (y / ((a - t) / (z - t)))
function code(x, y, z, t, a)
	return Float64(x + Float64(y / Float64(Float64(a - t) / Float64(z - t))))
end
function tmp = code(x, y, z, t, a)
	tmp = x + (y / ((a - t) / (z - t)));
end
code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
x + \frac{y}{\frac{a - t}{z - t}}
\end{array}
Derivation
  1. Initial program 89.3%

    \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. associate-/l*N/A

      \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{a - t}}\right)\right) \]
    2. clear-numN/A

      \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \frac{1}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
    3. un-div-invN/A

      \[\leadsto \mathsf{+.f64}\left(x, \left(\frac{y}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
    4. /-lowering-/.f64N/A

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a - t}{z - t}\right)}\right)\right) \]
    5. /-lowering-/.f64N/A

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\left(a - t\right), \color{blue}{\left(z - t\right)}\right)\right)\right) \]
    6. --lowering--.f64N/A

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
    7. --lowering--.f6499.5%

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
  4. Applied egg-rr99.5%

    \[\leadsto x + \color{blue}{\frac{y}{\frac{a - t}{z - t}}} \]
  5. Add Preprocessing

Alternative 2: 84.4% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{y}{\frac{a - t}{z - t}}\\ t_2 := \frac{y \cdot \left(z - t\right)}{a - t}\\ \mathbf{if}\;t\_2 \leq -2 \cdot 10^{+165}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+99}:\\ \;\;\;\;x + y \cdot \frac{t}{t - a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (let* ((t_1 (/ y (/ (- a t) (- z t)))) (t_2 (/ (* y (- z t)) (- a t))))
   (if (<= t_2 -2e+165)
     t_1
     (if (<= t_2 2e+99) (+ x (* y (/ t (- t a)))) t_1))))
double code(double x, double y, double z, double t, double a) {
	double t_1 = y / ((a - t) / (z - t));
	double t_2 = (y * (z - t)) / (a - t);
	double tmp;
	if (t_2 <= -2e+165) {
		tmp = t_1;
	} else if (t_2 <= 2e+99) {
		tmp = x + (y * (t / (t - a)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = y / ((a - t) / (z - t))
    t_2 = (y * (z - t)) / (a - t)
    if (t_2 <= (-2d+165)) then
        tmp = t_1
    else if (t_2 <= 2d+99) then
        tmp = x + (y * (t / (t - a)))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double t_1 = y / ((a - t) / (z - t));
	double t_2 = (y * (z - t)) / (a - t);
	double tmp;
	if (t_2 <= -2e+165) {
		tmp = t_1;
	} else if (t_2 <= 2e+99) {
		tmp = x + (y * (t / (t - a)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a):
	t_1 = y / ((a - t) / (z - t))
	t_2 = (y * (z - t)) / (a - t)
	tmp = 0
	if t_2 <= -2e+165:
		tmp = t_1
	elif t_2 <= 2e+99:
		tmp = x + (y * (t / (t - a)))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a)
	t_1 = Float64(y / Float64(Float64(a - t) / Float64(z - t)))
	t_2 = Float64(Float64(y * Float64(z - t)) / Float64(a - t))
	tmp = 0.0
	if (t_2 <= -2e+165)
		tmp = t_1;
	elseif (t_2 <= 2e+99)
		tmp = Float64(x + Float64(y * Float64(t / Float64(t - a))));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	t_1 = y / ((a - t) / (z - t));
	t_2 = (y * (z - t)) / (a - t);
	tmp = 0.0;
	if (t_2 <= -2e+165)
		tmp = t_1;
	elseif (t_2 <= 2e+99)
		tmp = x + (y * (t / (t - a)));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * N[(z - t), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, -2e+165], t$95$1, If[LessEqual[t$95$2, 2e+99], N[(x + N[(y * N[(t / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{y}{\frac{a - t}{z - t}}\\
t_2 := \frac{y \cdot \left(z - t\right)}{a - t}\\
\mathbf{if}\;t\_2 \leq -2 \cdot 10^{+165}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+99}:\\
\;\;\;\;x + y \cdot \frac{t}{t - a}\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) < -1.9999999999999998e165 or 1.9999999999999999e99 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t))

    1. Initial program 69.4%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in x around 0

      \[\leadsto \color{blue}{\frac{y \cdot \left(z - t\right)}{a - t}} \]
    4. Step-by-step derivation
      1. /-lowering-/.f64N/A

        \[\leadsto \mathsf{/.f64}\left(\left(y \cdot \left(z - t\right)\right), \color{blue}{\left(a - t\right)}\right) \]
      2. *-lowering-*.f64N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \left(z - t\right)\right), \left(\color{blue}{a} - t\right)\right) \]
      3. --lowering--.f64N/A

        \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \left(a - t\right)\right) \]
      4. --lowering--.f6466.1%

        \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right) \]
    5. Simplified66.1%

      \[\leadsto \color{blue}{\frac{y \cdot \left(z - t\right)}{a - t}} \]
    6. Step-by-step derivation
      1. associate-*l/N/A

        \[\leadsto \frac{y}{a - t} \cdot \color{blue}{\left(z - t\right)} \]
      2. associate-/r/N/A

        \[\leadsto \frac{y}{\color{blue}{\frac{a - t}{z - t}}} \]
      3. /-lowering-/.f64N/A

        \[\leadsto \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a - t}{z - t}\right)}\right) \]
      4. /-lowering-/.f64N/A

        \[\leadsto \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\left(a - t\right), \color{blue}{\left(z - t\right)}\right)\right) \]
      5. --lowering--.f64N/A

        \[\leadsto \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right) \]
      6. --lowering--.f6490.8%

        \[\leadsto \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right) \]
    7. Applied egg-rr90.8%

      \[\leadsto \color{blue}{\frac{y}{\frac{a - t}{z - t}}} \]

    if -1.9999999999999998e165 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 a t)) < 1.9999999999999999e99

    1. Initial program 99.9%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in z around 0

      \[\leadsto \color{blue}{x + -1 \cdot \frac{t \cdot y}{a - t}} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto x + \left(\mathsf{neg}\left(\frac{t \cdot y}{a - t}\right)\right) \]
      2. unsub-negN/A

        \[\leadsto x - \color{blue}{\frac{t \cdot y}{a - t}} \]
      3. --lowering--.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \color{blue}{\left(\frac{t \cdot y}{a - t}\right)}\right) \]
      4. *-commutativeN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \left(\frac{y \cdot t}{\color{blue}{a} - t}\right)\right) \]
      5. associate-/l*N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{t}{a - t}}\right)\right) \]
      6. *-lowering-*.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{t}{a - t}\right)}\right)\right) \]
      7. /-lowering-/.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(t, \color{blue}{\left(a - t\right)}\right)\right)\right) \]
      8. --lowering--.f6485.2%

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(t, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right)\right) \]
    5. Simplified85.2%

      \[\leadsto \color{blue}{x - y \cdot \frac{t}{a - t}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification87.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{y \cdot \left(z - t\right)}{a - t} \leq -2 \cdot 10^{+165}:\\ \;\;\;\;\frac{y}{\frac{a - t}{z - t}}\\ \mathbf{elif}\;\frac{y \cdot \left(z - t\right)}{a - t} \leq 2 \cdot 10^{+99}:\\ \;\;\;\;x + y \cdot \frac{t}{t - a}\\ \mathbf{else}:\\ \;\;\;\;\frac{y}{\frac{a - t}{z - t}}\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 83.0% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := x + y \cdot \left(1 - \frac{z}{t}\right)\\ \mathbf{if}\;t \leq -4 \cdot 10^{-57}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-100}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (let* ((t_1 (+ x (* y (- 1.0 (/ z t))))))
   (if (<= t -4e-57) t_1 (if (<= t 4.5e-100) (+ x (/ y (/ a z))) t_1))))
double code(double x, double y, double z, double t, double a) {
	double t_1 = x + (y * (1.0 - (z / t)));
	double tmp;
	if (t <= -4e-57) {
		tmp = t_1;
	} else if (t <= 4.5e-100) {
		tmp = x + (y / (a / z));
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8) :: t_1
    real(8) :: tmp
    t_1 = x + (y * (1.0d0 - (z / t)))
    if (t <= (-4d-57)) then
        tmp = t_1
    else if (t <= 4.5d-100) then
        tmp = x + (y / (a / z))
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double t_1 = x + (y * (1.0 - (z / t)));
	double tmp;
	if (t <= -4e-57) {
		tmp = t_1;
	} else if (t <= 4.5e-100) {
		tmp = x + (y / (a / z));
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a):
	t_1 = x + (y * (1.0 - (z / t)))
	tmp = 0
	if t <= -4e-57:
		tmp = t_1
	elif t <= 4.5e-100:
		tmp = x + (y / (a / z))
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a)
	t_1 = Float64(x + Float64(y * Float64(1.0 - Float64(z / t))))
	tmp = 0.0
	if (t <= -4e-57)
		tmp = t_1;
	elseif (t <= 4.5e-100)
		tmp = Float64(x + Float64(y / Float64(a / z)));
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	t_1 = x + (y * (1.0 - (z / t)));
	tmp = 0.0;
	if (t <= -4e-57)
		tmp = t_1;
	elseif (t <= 4.5e-100)
		tmp = x + (y / (a / z));
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x + N[(y * N[(1.0 - N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4e-57], t$95$1, If[LessEqual[t, 4.5e-100], N[(x + N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := x + y \cdot \left(1 - \frac{z}{t}\right)\\
\mathbf{if}\;t \leq -4 \cdot 10^{-57}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;t \leq 4.5 \cdot 10^{-100}:\\
\;\;\;\;x + \frac{y}{\frac{a}{z}}\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -3.99999999999999982e-57 or 4.5000000000000001e-100 < t

    1. Initial program 85.8%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in a around 0

      \[\leadsto \color{blue}{x + -1 \cdot \frac{y \cdot \left(z - t\right)}{t}} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto x + \left(\mathsf{neg}\left(\frac{y \cdot \left(z - t\right)}{t}\right)\right) \]
      2. unsub-negN/A

        \[\leadsto x - \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
      3. --lowering--.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \color{blue}{\left(\frac{y \cdot \left(z - t\right)}{t}\right)}\right) \]
      4. associate-/l*N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{t}}\right)\right) \]
      5. *-lowering-*.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z - t}{t}\right)}\right)\right) \]
      6. div-subN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} - \color{blue}{\frac{t}{t}}\right)\right)\right) \]
      7. sub-negN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(\frac{t}{t}\right)\right)}\right)\right)\right) \]
      8. *-inversesN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \left(\mathsf{neg}\left(1\right)\right)\right)\right)\right) \]
      9. metadata-evalN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + -1\right)\right)\right) \]
      10. +-commutativeN/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(-1 + \color{blue}{\frac{z}{t}}\right)\right)\right) \]
      11. +-lowering-+.f64N/A

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right)\right) \]
      12. /-lowering-/.f6481.2%

        \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \mathsf{/.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
    5. Simplified81.2%

      \[\leadsto \color{blue}{x - y \cdot \left(-1 + \frac{z}{t}\right)} \]

    if -3.99999999999999982e-57 < t < 4.5000000000000001e-100

    1. Initial program 95.7%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. associate-/l*N/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{a - t}}\right)\right) \]
      2. clear-numN/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \frac{1}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
      3. un-div-invN/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(\frac{y}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
      4. /-lowering-/.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a - t}{z - t}\right)}\right)\right) \]
      5. /-lowering-/.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\left(a - t\right), \color{blue}{\left(z - t\right)}\right)\right)\right) \]
      6. --lowering--.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
      7. --lowering--.f6498.9%

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
    4. Applied egg-rr98.9%

      \[\leadsto x + \color{blue}{\frac{y}{\frac{a - t}{z - t}}} \]
    5. Taylor expanded in t around 0

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a}{z}\right)}\right)\right) \]
    6. Step-by-step derivation
      1. /-lowering-/.f6487.9%

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \color{blue}{z}\right)\right)\right) \]
    7. Simplified87.9%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{a}{z}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification83.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -4 \cdot 10^{-57}:\\ \;\;\;\;x + y \cdot \left(1 - \frac{z}{t}\right)\\ \mathbf{elif}\;t \leq 4.5 \cdot 10^{-100}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y \cdot \left(1 - \frac{z}{t}\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 4: 77.2% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.8 \cdot 10^{+43}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 8.8 \cdot 10^{-60}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= t -3.8e+43) (+ x y) (if (<= t 8.8e-60) (+ x (/ y (/ a z))) (+ x y))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -3.8e+43) {
		tmp = x + y;
	} else if (t <= 8.8e-60) {
		tmp = x + (y / (a / z));
	} else {
		tmp = x + y;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8) :: tmp
    if (t <= (-3.8d+43)) then
        tmp = x + y
    else if (t <= 8.8d-60) then
        tmp = x + (y / (a / z))
    else
        tmp = x + y
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -3.8e+43) {
		tmp = x + y;
	} else if (t <= 8.8e-60) {
		tmp = x + (y / (a / z));
	} else {
		tmp = x + y;
	}
	return tmp;
}
def code(x, y, z, t, a):
	tmp = 0
	if t <= -3.8e+43:
		tmp = x + y
	elif t <= 8.8e-60:
		tmp = x + (y / (a / z))
	else:
		tmp = x + y
	return tmp
function code(x, y, z, t, a)
	tmp = 0.0
	if (t <= -3.8e+43)
		tmp = Float64(x + y);
	elseif (t <= 8.8e-60)
		tmp = Float64(x + Float64(y / Float64(a / z)));
	else
		tmp = Float64(x + y);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	tmp = 0.0;
	if (t <= -3.8e+43)
		tmp = x + y;
	elseif (t <= 8.8e-60)
		tmp = x + (y / (a / z));
	else
		tmp = x + y;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3.8e+43], N[(x + y), $MachinePrecision], If[LessEqual[t, 8.8e-60], N[(x + N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.8 \cdot 10^{+43}:\\
\;\;\;\;x + y\\

\mathbf{elif}\;t \leq 8.8 \cdot 10^{-60}:\\
\;\;\;\;x + \frac{y}{\frac{a}{z}}\\

\mathbf{else}:\\
\;\;\;\;x + y\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if t < -3.80000000000000008e43 or 8.7999999999999995e-60 < t

    1. Initial program 81.7%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf

      \[\leadsto \color{blue}{x + y} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto y + \color{blue}{x} \]
      2. +-lowering-+.f6474.7%

        \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
    5. Simplified74.7%

      \[\leadsto \color{blue}{y + x} \]

    if -3.80000000000000008e43 < t < 8.7999999999999995e-60

    1. Initial program 96.9%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. associate-/l*N/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{a - t}}\right)\right) \]
      2. clear-numN/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(y \cdot \frac{1}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
      3. un-div-invN/A

        \[\leadsto \mathsf{+.f64}\left(x, \left(\frac{y}{\color{blue}{\frac{a - t}{z - t}}}\right)\right) \]
      4. /-lowering-/.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a - t}{z - t}\right)}\right)\right) \]
      5. /-lowering-/.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\left(a - t\right), \color{blue}{\left(z - t\right)}\right)\right)\right) \]
      6. --lowering--.f64N/A

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
      7. --lowering--.f6499.2%

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
    4. Applied egg-rr99.2%

      \[\leadsto x + \color{blue}{\frac{y}{\frac{a - t}{z - t}}} \]
    5. Taylor expanded in t around 0

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a}{z}\right)}\right)\right) \]
    6. Step-by-step derivation
      1. /-lowering-/.f6479.3%

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \color{blue}{z}\right)\right)\right) \]
    7. Simplified79.3%

      \[\leadsto x + \frac{y}{\color{blue}{\frac{a}{z}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification77.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.8 \cdot 10^{+43}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 8.8 \cdot 10^{-60}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
  5. Add Preprocessing

Alternative 5: 63.5% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \frac{z}{a - t}\\ \mathbf{if}\;z \leq -1.4 \cdot 10^{+123}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+47}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (let* ((t_1 (* y (/ z (- a t)))))
   (if (<= z -1.4e+123) t_1 (if (<= z 9e+47) (+ x y) t_1))))
double code(double x, double y, double z, double t, double a) {
	double t_1 = y * (z / (a - t));
	double tmp;
	if (z <= -1.4e+123) {
		tmp = t_1;
	} else if (z <= 9e+47) {
		tmp = x + y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8) :: t_1
    real(8) :: tmp
    t_1 = y * (z / (a - t))
    if (z <= (-1.4d+123)) then
        tmp = t_1
    else if (z <= 9d+47) then
        tmp = x + y
    else
        tmp = t_1
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double t_1 = y * (z / (a - t));
	double tmp;
	if (z <= -1.4e+123) {
		tmp = t_1;
	} else if (z <= 9e+47) {
		tmp = x + y;
	} else {
		tmp = t_1;
	}
	return tmp;
}
def code(x, y, z, t, a):
	t_1 = y * (z / (a - t))
	tmp = 0
	if z <= -1.4e+123:
		tmp = t_1
	elif z <= 9e+47:
		tmp = x + y
	else:
		tmp = t_1
	return tmp
function code(x, y, z, t, a)
	t_1 = Float64(y * Float64(z / Float64(a - t)))
	tmp = 0.0
	if (z <= -1.4e+123)
		tmp = t_1;
	elseif (z <= 9e+47)
		tmp = Float64(x + y);
	else
		tmp = t_1;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	t_1 = y * (z / (a - t));
	tmp = 0.0;
	if (z <= -1.4e+123)
		tmp = t_1;
	elseif (z <= 9e+47)
		tmp = x + y;
	else
		tmp = t_1;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y * N[(z / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.4e+123], t$95$1, If[LessEqual[z, 9e+47], N[(x + y), $MachinePrecision], t$95$1]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := y \cdot \frac{z}{a - t}\\
\mathbf{if}\;z \leq -1.4 \cdot 10^{+123}:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq 9 \cdot 10^{+47}:\\
\;\;\;\;x + y\\

\mathbf{else}:\\
\;\;\;\;t\_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if z < -1.40000000000000006e123 or 8.99999999999999958e47 < z

    1. Initial program 85.7%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in z around inf

      \[\leadsto \color{blue}{\frac{y \cdot z}{a - t}} \]
    4. Step-by-step derivation
      1. associate-/l*N/A

        \[\leadsto y \cdot \color{blue}{\frac{z}{a - t}} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z}{a - t}\right)}\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
      4. --lowering--.f6466.8%

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right) \]
    5. Simplified66.8%

      \[\leadsto \color{blue}{y \cdot \frac{z}{a - t}} \]

    if -1.40000000000000006e123 < z < 8.99999999999999958e47

    1. Initial program 91.8%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf

      \[\leadsto \color{blue}{x + y} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto y + \color{blue}{x} \]
      2. +-lowering-+.f6473.8%

        \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
    5. Simplified73.8%

      \[\leadsto \color{blue}{y + x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification70.9%

    \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.4 \cdot 10^{+123}:\\ \;\;\;\;y \cdot \frac{z}{a - t}\\ \mathbf{elif}\;z \leq 9 \cdot 10^{+47}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;y \cdot \frac{z}{a - t}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 60.8% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -3.35 \cdot 10^{+125}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+243}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(1 - \frac{z}{t}\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= z -3.35e+125)
   (* y (/ z a))
   (if (<= z 2.4e+243) (+ x y) (* y (- 1.0 (/ z t))))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (z <= -3.35e+125) {
		tmp = y * (z / a);
	} else if (z <= 2.4e+243) {
		tmp = x + y;
	} else {
		tmp = y * (1.0 - (z / t));
	}
	return tmp;
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    real(8) :: tmp
    if (z <= (-3.35d+125)) then
        tmp = y * (z / a)
    else if (z <= 2.4d+243) then
        tmp = x + y
    else
        tmp = y * (1.0d0 - (z / t))
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (z <= -3.35e+125) {
		tmp = y * (z / a);
	} else if (z <= 2.4e+243) {
		tmp = x + y;
	} else {
		tmp = y * (1.0 - (z / t));
	}
	return tmp;
}
def code(x, y, z, t, a):
	tmp = 0
	if z <= -3.35e+125:
		tmp = y * (z / a)
	elif z <= 2.4e+243:
		tmp = x + y
	else:
		tmp = y * (1.0 - (z / t))
	return tmp
function code(x, y, z, t, a)
	tmp = 0.0
	if (z <= -3.35e+125)
		tmp = Float64(y * Float64(z / a));
	elseif (z <= 2.4e+243)
		tmp = Float64(x + y);
	else
		tmp = Float64(y * Float64(1.0 - Float64(z / t)));
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	tmp = 0.0;
	if (z <= -3.35e+125)
		tmp = y * (z / a);
	elseif (z <= 2.4e+243)
		tmp = x + y;
	else
		tmp = y * (1.0 - (z / t));
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -3.35e+125], N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.4e+243], N[(x + y), $MachinePrecision], N[(y * N[(1.0 - N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.35 \cdot 10^{+125}:\\
\;\;\;\;y \cdot \frac{z}{a}\\

\mathbf{elif}\;z \leq 2.4 \cdot 10^{+243}:\\
\;\;\;\;x + y\\

\mathbf{else}:\\
\;\;\;\;y \cdot \left(1 - \frac{z}{t}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -3.3500000000000002e125

    1. Initial program 89.0%

      \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
    2. Add Preprocessing
    3. Taylor expanded in z around inf

      \[\leadsto \color{blue}{\frac{y \cdot z}{a - t}} \]
    4. Step-by-step derivation
      1. associate-/l*N/A

        \[\leadsto y \cdot \color{blue}{\frac{z}{a - t}} \]
      2. *-lowering-*.f64N/A

        \[\leadsto \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z}{a - t}\right)}\right) \]
      3. /-lowering-/.f64N/A

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
      4. --lowering--.f6472.6%

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right) \]
    5. Simplified72.6%

      \[\leadsto \color{blue}{y \cdot \frac{z}{a - t}} \]
    6. Taylor expanded in a around inf

      \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{a}\right)\right) \]
    7. Step-by-step derivation
      1. Simplified58.5%

        \[\leadsto y \cdot \frac{z}{\color{blue}{a}} \]

      if -3.3500000000000002e125 < z < 2.4e243

      1. Initial program 90.8%

        \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
      2. Add Preprocessing
      3. Taylor expanded in t around inf

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6465.3%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified65.3%

        \[\leadsto \color{blue}{y + x} \]

      if 2.4e243 < z

      1. Initial program 68.7%

        \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
      2. Add Preprocessing
      3. Taylor expanded in a around 0

        \[\leadsto \color{blue}{x + -1 \cdot \frac{y \cdot \left(z - t\right)}{t}} \]
      4. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto x + \left(\mathsf{neg}\left(\frac{y \cdot \left(z - t\right)}{t}\right)\right) \]
        2. unsub-negN/A

          \[\leadsto x - \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
        3. --lowering--.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \color{blue}{\left(\frac{y \cdot \left(z - t\right)}{t}\right)}\right) \]
        4. associate-/l*N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{t}}\right)\right) \]
        5. *-lowering-*.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z - t}{t}\right)}\right)\right) \]
        6. div-subN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} - \color{blue}{\frac{t}{t}}\right)\right)\right) \]
        7. sub-negN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(\frac{t}{t}\right)\right)}\right)\right)\right) \]
        8. *-inversesN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \left(\mathsf{neg}\left(1\right)\right)\right)\right)\right) \]
        9. metadata-evalN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + -1\right)\right)\right) \]
        10. +-commutativeN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(-1 + \color{blue}{\frac{z}{t}}\right)\right)\right) \]
        11. +-lowering-+.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right)\right) \]
        12. /-lowering-/.f6480.5%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \mathsf{/.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      5. Simplified80.5%

        \[\leadsto \color{blue}{x - y \cdot \left(-1 + \frac{z}{t}\right)} \]
      6. Taylor expanded in x around 0

        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\frac{z}{t} - 1\right)\right)} \]
      7. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto \mathsf{neg}\left(y \cdot \left(\frac{z}{t} - 1\right)\right) \]
        2. distribute-rgt-neg-inN/A

          \[\leadsto y \cdot \color{blue}{\left(\mathsf{neg}\left(\left(\frac{z}{t} - 1\right)\right)\right)} \]
        3. mul-1-negN/A

          \[\leadsto y \cdot \left(-1 \cdot \color{blue}{\left(\frac{z}{t} - 1\right)}\right) \]
        4. *-lowering-*.f64N/A

          \[\leadsto \mathsf{*.f64}\left(y, \color{blue}{\left(-1 \cdot \left(\frac{z}{t} - 1\right)\right)}\right) \]
        5. sub-negN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(1\right)\right)}\right)\right)\right) \]
        6. metadata-evalN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \left(\frac{z}{t} + -1\right)\right)\right) \]
        7. distribute-lft-inN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \frac{z}{t} + \color{blue}{-1 \cdot -1}\right)\right) \]
        8. metadata-evalN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \frac{z}{t} + 1\right)\right) \]
        9. +-commutativeN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(1 + \color{blue}{-1 \cdot \frac{z}{t}}\right)\right) \]
        10. mul-1-negN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(1 + \left(\mathsf{neg}\left(\frac{z}{t}\right)\right)\right)\right) \]
        11. sub-negN/A

          \[\leadsto \mathsf{*.f64}\left(y, \left(1 - \color{blue}{\frac{z}{t}}\right)\right) \]
        12. --lowering--.f64N/A

          \[\leadsto \mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right) \]
        13. /-lowering-/.f6480.5%

          \[\leadsto \mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(1, \mathsf{/.f64}\left(z, \color{blue}{t}\right)\right)\right) \]
      8. Simplified80.5%

        \[\leadsto \color{blue}{y \cdot \left(1 - \frac{z}{t}\right)} \]
    8. Recombined 3 regimes into one program.
    9. Final simplification65.3%

      \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.35 \cdot 10^{+125}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \mathbf{elif}\;z \leq 2.4 \cdot 10^{+243}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;y \cdot \left(1 - \frac{z}{t}\right)\\ \end{array} \]
    10. Add Preprocessing

    Alternative 7: 60.9% accurate, 0.7× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := y \cdot \frac{z}{a}\\ \mathbf{if}\;z \leq -1.15 \cdot 10^{+126}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+244}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (let* ((t_1 (* y (/ z a))))
       (if (<= z -1.15e+126) t_1 (if (<= z 2.5e+244) (+ x y) t_1))))
    double code(double x, double y, double z, double t, double a) {
    	double t_1 = y * (z / a);
    	double tmp;
    	if (z <= -1.15e+126) {
    		tmp = t_1;
    	} else if (z <= 2.5e+244) {
    		tmp = x + y;
    	} else {
    		tmp = t_1;
    	}
    	return tmp;
    }
    
    real(8) function code(x, y, z, t, a)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        real(8), intent (in) :: z
        real(8), intent (in) :: t
        real(8), intent (in) :: a
        real(8) :: t_1
        real(8) :: tmp
        t_1 = y * (z / a)
        if (z <= (-1.15d+126)) then
            tmp = t_1
        else if (z <= 2.5d+244) then
            tmp = x + y
        else
            tmp = t_1
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double t_1 = y * (z / a);
    	double tmp;
    	if (z <= -1.15e+126) {
    		tmp = t_1;
    	} else if (z <= 2.5e+244) {
    		tmp = x + y;
    	} else {
    		tmp = t_1;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	t_1 = y * (z / a)
    	tmp = 0
    	if z <= -1.15e+126:
    		tmp = t_1
    	elif z <= 2.5e+244:
    		tmp = x + y
    	else:
    		tmp = t_1
    	return tmp
    
    function code(x, y, z, t, a)
    	t_1 = Float64(y * Float64(z / a))
    	tmp = 0.0
    	if (z <= -1.15e+126)
    		tmp = t_1;
    	elseif (z <= 2.5e+244)
    		tmp = Float64(x + y);
    	else
    		tmp = t_1;
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	t_1 = y * (z / a);
    	tmp = 0.0;
    	if (z <= -1.15e+126)
    		tmp = t_1;
    	elseif (z <= 2.5e+244)
    		tmp = x + y;
    	else
    		tmp = t_1;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.15e+126], t$95$1, If[LessEqual[z, 2.5e+244], N[(x + y), $MachinePrecision], t$95$1]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := y \cdot \frac{z}{a}\\
    \mathbf{if}\;z \leq -1.15 \cdot 10^{+126}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;z \leq 2.5 \cdot 10^{+244}:\\
    \;\;\;\;x + y\\
    
    \mathbf{else}:\\
    \;\;\;\;t\_1\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if z < -1.15e126 or 2.50000000000000011e244 < z

      1. Initial program 82.9%

        \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
      2. Add Preprocessing
      3. Taylor expanded in z around inf

        \[\leadsto \color{blue}{\frac{y \cdot z}{a - t}} \]
      4. Step-by-step derivation
        1. associate-/l*N/A

          \[\leadsto y \cdot \color{blue}{\frac{z}{a - t}} \]
        2. *-lowering-*.f64N/A

          \[\leadsto \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z}{a - t}\right)}\right) \]
        3. /-lowering-/.f64N/A

          \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
        4. --lowering--.f6478.2%

          \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right) \]
      5. Simplified78.2%

        \[\leadsto \color{blue}{y \cdot \frac{z}{a - t}} \]
      6. Taylor expanded in a around inf

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{a}\right)\right) \]
      7. Step-by-step derivation
        1. Simplified57.1%

          \[\leadsto y \cdot \frac{z}{\color{blue}{a}} \]

        if -1.15e126 < z < 2.50000000000000011e244

        1. Initial program 90.8%

          \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
        2. Add Preprocessing
        3. Taylor expanded in t around inf

          \[\leadsto \color{blue}{x + y} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto y + \color{blue}{x} \]
          2. +-lowering-+.f6465.3%

            \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
        5. Simplified65.3%

          \[\leadsto \color{blue}{y + x} \]
      8. Recombined 2 regimes into one program.
      9. Final simplification63.7%

        \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.15 \cdot 10^{+126}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \mathbf{elif}\;z \leq 2.5 \cdot 10^{+244}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \end{array} \]
      10. Add Preprocessing

      Alternative 8: 54.4% accurate, 1.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -3.6 \cdot 10^{-115}:\\ \;\;\;\;x\\ \mathbf{elif}\;x \leq 4.8 \cdot 10^{-140}:\\ \;\;\;\;y\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (<= x -3.6e-115) x (if (<= x 4.8e-140) y x)))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (x <= -3.6e-115) {
      		tmp = x;
      	} else if (x <= 4.8e-140) {
      		tmp = y;
      	} else {
      		tmp = x;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t, a)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8), intent (in) :: a
          real(8) :: tmp
          if (x <= (-3.6d-115)) then
              tmp = x
          else if (x <= 4.8d-140) then
              tmp = y
          else
              tmp = x
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (x <= -3.6e-115) {
      		tmp = x;
      	} else if (x <= 4.8e-140) {
      		tmp = y;
      	} else {
      		tmp = x;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	tmp = 0
      	if x <= -3.6e-115:
      		tmp = x
      	elif x <= 4.8e-140:
      		tmp = y
      	else:
      		tmp = x
      	return tmp
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (x <= -3.6e-115)
      		tmp = x;
      	elseif (x <= 4.8e-140)
      		tmp = y;
      	else
      		tmp = x;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a)
      	tmp = 0.0;
      	if (x <= -3.6e-115)
      		tmp = x;
      	elseif (x <= 4.8e-140)
      		tmp = y;
      	else
      		tmp = x;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_] := If[LessEqual[x, -3.6e-115], x, If[LessEqual[x, 4.8e-140], y, x]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;x \leq -3.6 \cdot 10^{-115}:\\
      \;\;\;\;x\\
      
      \mathbf{elif}\;x \leq 4.8 \cdot 10^{-140}:\\
      \;\;\;\;y\\
      
      \mathbf{else}:\\
      \;\;\;\;x\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if x < -3.60000000000000009e-115 or 4.79999999999999973e-140 < x

        1. Initial program 89.7%

          \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
        2. Add Preprocessing
        3. Taylor expanded in x around inf

          \[\leadsto \color{blue}{x} \]
        4. Step-by-step derivation
          1. Simplified61.1%

            \[\leadsto \color{blue}{x} \]

          if -3.60000000000000009e-115 < x < 4.79999999999999973e-140

          1. Initial program 88.2%

            \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
          2. Add Preprocessing
          3. Taylor expanded in x around 0

            \[\leadsto \color{blue}{\frac{y \cdot \left(z - t\right)}{a - t}} \]
          4. Step-by-step derivation
            1. /-lowering-/.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\left(y \cdot \left(z - t\right)\right), \color{blue}{\left(a - t\right)}\right) \]
            2. *-lowering-*.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \left(z - t\right)\right), \left(\color{blue}{a} - t\right)\right) \]
            3. --lowering--.f64N/A

              \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \left(a - t\right)\right) \]
            4. --lowering--.f6479.6%

              \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right) \]
          5. Simplified79.6%

            \[\leadsto \color{blue}{\frac{y \cdot \left(z - t\right)}{a - t}} \]
          6. Taylor expanded in t around inf

            \[\leadsto \color{blue}{y} \]
          7. Step-by-step derivation
            1. Simplified36.2%

              \[\leadsto \color{blue}{y} \]
          8. Recombined 2 regimes into one program.
          9. Add Preprocessing

          Alternative 9: 95.9% accurate, 1.0× speedup?

          \[\begin{array}{l} \\ x + \left(z - t\right) \cdot \frac{y}{a - t} \end{array} \]
          (FPCore (x y z t a) :precision binary64 (+ x (* (- z t) (/ y (- a t)))))
          double code(double x, double y, double z, double t, double a) {
          	return x + ((z - t) * (y / (a - t)));
          }
          
          real(8) function code(x, y, z, t, a)
              real(8), intent (in) :: x
              real(8), intent (in) :: y
              real(8), intent (in) :: z
              real(8), intent (in) :: t
              real(8), intent (in) :: a
              code = x + ((z - t) * (y / (a - t)))
          end function
          
          public static double code(double x, double y, double z, double t, double a) {
          	return x + ((z - t) * (y / (a - t)));
          }
          
          def code(x, y, z, t, a):
          	return x + ((z - t) * (y / (a - t)))
          
          function code(x, y, z, t, a)
          	return Float64(x + Float64(Float64(z - t) * Float64(y / Float64(a - t))))
          end
          
          function tmp = code(x, y, z, t, a)
          	tmp = x + ((z - t) * (y / (a - t)));
          end
          
          code[x_, y_, z_, t_, a_] := N[(x + N[(N[(z - t), $MachinePrecision] * N[(y / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
          
          \begin{array}{l}
          
          \\
          x + \left(z - t\right) \cdot \frac{y}{a - t}
          \end{array}
          
          Derivation
          1. Initial program 89.3%

            \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto \mathsf{+.f64}\left(x, \left(\frac{\left(z - t\right) \cdot y}{\color{blue}{a} - t}\right)\right) \]
            2. associate-/l*N/A

              \[\leadsto \mathsf{+.f64}\left(x, \left(\left(z - t\right) \cdot \color{blue}{\frac{y}{a - t}}\right)\right) \]
            3. *-commutativeN/A

              \[\leadsto \mathsf{+.f64}\left(x, \left(\frac{y}{a - t} \cdot \color{blue}{\left(z - t\right)}\right)\right) \]
            4. *-lowering-*.f64N/A

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\left(\frac{y}{a - t}\right), \color{blue}{\left(z - t\right)}\right)\right) \]
            5. /-lowering-/.f64N/A

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \left(a - t\right)\right), \left(\color{blue}{z} - t\right)\right)\right) \]
            6. --lowering--.f64N/A

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \mathsf{\_.f64}\left(a, t\right)\right), \left(z - t\right)\right)\right) \]
            7. --lowering--.f6495.4%

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \mathsf{\_.f64}\left(a, t\right)\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right) \]
          4. Applied egg-rr95.4%

            \[\leadsto x + \color{blue}{\frac{y}{a - t} \cdot \left(z - t\right)} \]
          5. Final simplification95.4%

            \[\leadsto x + \left(z - t\right) \cdot \frac{y}{a - t} \]
          6. Add Preprocessing

          Alternative 10: 63.0% accurate, 1.4× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq 3.6 \cdot 10^{+140}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
          (FPCore (x y z t a) :precision binary64 (if (<= a 3.6e+140) (+ x y) x))
          double code(double x, double y, double z, double t, double a) {
          	double tmp;
          	if (a <= 3.6e+140) {
          		tmp = x + y;
          	} else {
          		tmp = x;
          	}
          	return tmp;
          }
          
          real(8) function code(x, y, z, t, a)
              real(8), intent (in) :: x
              real(8), intent (in) :: y
              real(8), intent (in) :: z
              real(8), intent (in) :: t
              real(8), intent (in) :: a
              real(8) :: tmp
              if (a <= 3.6d+140) then
                  tmp = x + y
              else
                  tmp = x
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t, double a) {
          	double tmp;
          	if (a <= 3.6e+140) {
          		tmp = x + y;
          	} else {
          		tmp = x;
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a):
          	tmp = 0
          	if a <= 3.6e+140:
          		tmp = x + y
          	else:
          		tmp = x
          	return tmp
          
          function code(x, y, z, t, a)
          	tmp = 0.0
          	if (a <= 3.6e+140)
          		tmp = Float64(x + y);
          	else
          		tmp = x;
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a)
          	tmp = 0.0;
          	if (a <= 3.6e+140)
          		tmp = x + y;
          	else
          		tmp = x;
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_] := If[LessEqual[a, 3.6e+140], N[(x + y), $MachinePrecision], x]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;a \leq 3.6 \cdot 10^{+140}:\\
          \;\;\;\;x + y\\
          
          \mathbf{else}:\\
          \;\;\;\;x\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if a < 3.6e140

            1. Initial program 90.1%

              \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
            2. Add Preprocessing
            3. Taylor expanded in t around inf

              \[\leadsto \color{blue}{x + y} \]
            4. Step-by-step derivation
              1. +-commutativeN/A

                \[\leadsto y + \color{blue}{x} \]
              2. +-lowering-+.f6459.6%

                \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
            5. Simplified59.6%

              \[\leadsto \color{blue}{y + x} \]

            if 3.6e140 < a

            1. Initial program 81.7%

              \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
            2. Add Preprocessing
            3. Taylor expanded in x around inf

              \[\leadsto \color{blue}{x} \]
            4. Step-by-step derivation
              1. Simplified59.8%

                \[\leadsto \color{blue}{x} \]
            5. Recombined 2 regimes into one program.
            6. Final simplification59.6%

              \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 3.6 \cdot 10^{+140}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
            7. Add Preprocessing

            Alternative 11: 51.0% accurate, 11.0× speedup?

            \[\begin{array}{l} \\ x \end{array} \]
            (FPCore (x y z t a) :precision binary64 x)
            double code(double x, double y, double z, double t, double a) {
            	return x;
            }
            
            real(8) function code(x, y, z, t, a)
                real(8), intent (in) :: x
                real(8), intent (in) :: y
                real(8), intent (in) :: z
                real(8), intent (in) :: t
                real(8), intent (in) :: a
                code = x
            end function
            
            public static double code(double x, double y, double z, double t, double a) {
            	return x;
            }
            
            def code(x, y, z, t, a):
            	return x
            
            function code(x, y, z, t, a)
            	return x
            end
            
            function tmp = code(x, y, z, t, a)
            	tmp = x;
            end
            
            code[x_, y_, z_, t_, a_] := x
            
            \begin{array}{l}
            
            \\
            x
            \end{array}
            
            Derivation
            1. Initial program 89.3%

              \[x + \frac{y \cdot \left(z - t\right)}{a - t} \]
            2. Add Preprocessing
            3. Taylor expanded in x around inf

              \[\leadsto \color{blue}{x} \]
            4. Step-by-step derivation
              1. Simplified46.7%

                \[\leadsto \color{blue}{x} \]
              2. Add Preprocessing

              Developer Target 1: 98.4% accurate, 1.0× speedup?

              \[\begin{array}{l} \\ x + \frac{y}{\frac{a - t}{z - t}} \end{array} \]
              (FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- a t) (- z t)))))
              double code(double x, double y, double z, double t, double a) {
              	return x + (y / ((a - t) / (z - t)));
              }
              
              real(8) function code(x, y, z, t, a)
                  real(8), intent (in) :: x
                  real(8), intent (in) :: y
                  real(8), intent (in) :: z
                  real(8), intent (in) :: t
                  real(8), intent (in) :: a
                  code = x + (y / ((a - t) / (z - t)))
              end function
              
              public static double code(double x, double y, double z, double t, double a) {
              	return x + (y / ((a - t) / (z - t)));
              }
              
              def code(x, y, z, t, a):
              	return x + (y / ((a - t) / (z - t)))
              
              function code(x, y, z, t, a)
              	return Float64(x + Float64(y / Float64(Float64(a - t) / Float64(z - t))))
              end
              
              function tmp = code(x, y, z, t, a)
              	tmp = x + (y / ((a - t) / (z - t)));
              end
              
              code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
              
              \begin{array}{l}
              
              \\
              x + \frac{y}{\frac{a - t}{z - t}}
              \end{array}
              

              Reproduce

              ?
              herbie shell --seed 2024160 
              (FPCore (x y z t a)
                :name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, B"
                :precision binary64
              
                :alt
                (! :herbie-platform default (+ x (/ y (/ (- a t) (- z t)))))
              
                (+ x (/ (* y (- z t)) (- a t))))