
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 25 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
(FPCore (x y z t a) :precision binary64 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
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 = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a): return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}
Initial program 99.8%
Final simplification99.8%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* 60.0 (- x y)) (- z t))))
(if (or (<= t_1 -1e+125) (not (<= t_1 5e+198)))
(* (- x y) (/ 60.0 (- z t)))
(+ (/ -60.0 (/ (- z t) y)) (* a 120.0)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (60.0 * (x - y)) / (z - t);
double tmp;
if ((t_1 <= -1e+125) || !(t_1 <= 5e+198)) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
}
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 = (60.0d0 * (x - y)) / (z - t)
if ((t_1 <= (-1d+125)) .or. (.not. (t_1 <= 5d+198))) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = ((-60.0d0) / ((z - t) / y)) + (a * 120.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double t_1 = (60.0 * (x - y)) / (z - t);
double tmp;
if ((t_1 <= -1e+125) || !(t_1 <= 5e+198)) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (60.0 * (x - y)) / (z - t) tmp = 0 if (t_1 <= -1e+125) or not (t_1 <= 5e+198): tmp = (x - y) * (60.0 / (z - t)) else: tmp = (-60.0 / ((z - t) / y)) + (a * 120.0) return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) tmp = 0.0 if ((t_1 <= -1e+125) || !(t_1 <= 5e+198)) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(Float64(-60.0 / Float64(Float64(z - t) / y)) + Float64(a * 120.0)); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (60.0 * (x - y)) / (z - t); tmp = 0.0; if ((t_1 <= -1e+125) || ~((t_1 <= 5e+198))) tmp = (x - y) * (60.0 / (z - t)); else tmp = (-60.0 / ((z - t) / y)) + (a * 120.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[Or[LessEqual[t$95$1, -1e+125], N[Not[LessEqual[t$95$1, 5e+198]], $MachinePrecision]], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(-60.0 / N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{60 \cdot \left(x - y\right)}{z - t}\\
\mathbf{if}\;t_1 \leq -1 \cdot 10^{+125} \lor \neg \left(t_1 \leq 5 \cdot 10^{+198}\right):\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;\frac{-60}{\frac{z - t}{y}} + a \cdot 120\\
\end{array}
\end{array}
if (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) < -9.9999999999999992e124 or 5.00000000000000049e198 < (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.8%
Applied egg-rr99.8%
Taylor expanded in a around 0 91.1%
associate-*r/91.1%
associate-*l/91.2%
*-commutative91.2%
Simplified91.2%
if -9.9999999999999992e124 < (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) < 5.00000000000000049e198Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in x around 0 83.1%
associate-*r/83.2%
associate-/l*83.2%
Simplified83.2%
Final simplification85.2%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ (* 60.0 (- x y)) (- z t))))
(if (<= t_1 -1e-63)
(* (- x y) (/ 60.0 (- z t)))
(if (<= t_1 5e+79) (* a 120.0) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (60.0 * (x - y)) / (z - t);
double tmp;
if (t_1 <= -1e-63) {
tmp = (x - y) * (60.0 / (z - t));
} else if (t_1 <= 5e+79) {
tmp = a * 120.0;
} 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 = (60.0d0 * (x - y)) / (z - t)
if (t_1 <= (-1d-63)) then
tmp = (x - y) * (60.0d0 / (z - t))
else if (t_1 <= 5d+79) then
tmp = a * 120.0d0
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 = (60.0 * (x - y)) / (z - t);
double tmp;
if (t_1 <= -1e-63) {
tmp = (x - y) * (60.0 / (z - t));
} else if (t_1 <= 5e+79) {
tmp = a * 120.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (60.0 * (x - y)) / (z - t) tmp = 0 if t_1 <= -1e-63: tmp = (x - y) * (60.0 / (z - t)) elif t_1 <= 5e+79: tmp = a * 120.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) tmp = 0.0 if (t_1 <= -1e-63) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); elseif (t_1 <= 5e+79) tmp = Float64(a * 120.0); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (60.0 * (x - y)) / (z - t); tmp = 0.0; if (t_1 <= -1e-63) tmp = (x - y) * (60.0 / (z - t)); elseif (t_1 <= 5e+79) tmp = a * 120.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -1e-63], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 5e+79], N[(a * 120.0), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{60 \cdot \left(x - y\right)}{z - t}\\
\mathbf{if}\;t_1 \leq -1 \cdot 10^{-63}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{elif}\;t_1 \leq 5 \cdot 10^{+79}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) < -1.00000000000000007e-63Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.8%
Applied egg-rr99.8%
Taylor expanded in a around 0 81.6%
associate-*r/81.6%
associate-*l/81.6%
*-commutative81.6%
Simplified81.6%
if -1.00000000000000007e-63 < (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) < 5e79Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 73.8%
if 5e79 < (/.f64 (*.f64 60 (-.f64 x y)) (-.f64 z t)) Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in a around 0 81.7%
associate-*r/81.7%
Simplified81.7%
Final simplification77.6%
(FPCore (x y z t a)
:precision binary64
(if (<= (* a 120.0) -2e+82)
(+ (* a 120.0) (/ 60.0 (/ z x)))
(if (<= (* a 120.0) 2e-141)
(/ (* 60.0 (- x y)) (- z t))
(+ (* a 120.0) (* -60.0 (/ (- x y) t))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a * 120.0) <= -2e+82) {
tmp = (a * 120.0) + (60.0 / (z / x));
} else if ((a * 120.0) <= 2e-141) {
tmp = (60.0 * (x - y)) / (z - t);
} else {
tmp = (a * 120.0) + (-60.0 * ((x - y) / 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 ((a * 120.0d0) <= (-2d+82)) then
tmp = (a * 120.0d0) + (60.0d0 / (z / x))
else if ((a * 120.0d0) <= 2d-141) then
tmp = (60.0d0 * (x - y)) / (z - t)
else
tmp = (a * 120.0d0) + ((-60.0d0) * ((x - y) / t))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a * 120.0) <= -2e+82) {
tmp = (a * 120.0) + (60.0 / (z / x));
} else if ((a * 120.0) <= 2e-141) {
tmp = (60.0 * (x - y)) / (z - t);
} else {
tmp = (a * 120.0) + (-60.0 * ((x - y) / t));
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a * 120.0) <= -2e+82: tmp = (a * 120.0) + (60.0 / (z / x)) elif (a * 120.0) <= 2e-141: tmp = (60.0 * (x - y)) / (z - t) else: tmp = (a * 120.0) + (-60.0 * ((x - y) / t)) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (Float64(a * 120.0) <= -2e+82) tmp = Float64(Float64(a * 120.0) + Float64(60.0 / Float64(z / x))); elseif (Float64(a * 120.0) <= 2e-141) tmp = Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)); else tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(Float64(x - y) / t))); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a * 120.0) <= -2e+82) tmp = (a * 120.0) + (60.0 / (z / x)); elseif ((a * 120.0) <= 2e-141) tmp = (60.0 * (x - y)) / (z - t); else tmp = (a * 120.0) + (-60.0 * ((x - y) / t)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[N[(a * 120.0), $MachinePrecision], -2e+82], N[(N[(a * 120.0), $MachinePrecision] + N[(60.0 / N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(a * 120.0), $MachinePrecision], 2e-141], N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot 120 \leq -2 \cdot 10^{+82}:\\
\;\;\;\;a \cdot 120 + \frac{60}{\frac{z}{x}}\\
\mathbf{elif}\;a \cdot 120 \leq 2 \cdot 10^{-141}:\\
\;\;\;\;\frac{60 \cdot \left(x - y\right)}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{x - y}{t}\\
\end{array}
\end{array}
if (*.f64 a 120) < -1.9999999999999999e82Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in x around inf 90.5%
Taylor expanded in z around inf 83.4%
if -1.9999999999999999e82 < (*.f64 a 120) < 2.0000000000000001e-141Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.6%
Applied egg-rr99.6%
Taylor expanded in a around 0 78.9%
associate-*r/79.0%
Simplified79.0%
if 2.0000000000000001e-141 < (*.f64 a 120) Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around 0 75.8%
Final simplification78.5%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ (/ 60.0 (/ z (- x y))) (* a 120.0))))
(if (<= z -2.3e+87)
t_1
(if (<= z -1.05e-154)
(+ (/ -60.0 (/ (- z t) y)) (* a 120.0))
(if (<= z 3e-26) (+ (* a 120.0) (* -60.0 (/ (- x y) t))) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = (60.0 / (z / (x - y))) + (a * 120.0);
double tmp;
if (z <= -2.3e+87) {
tmp = t_1;
} else if (z <= -1.05e-154) {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
} else if (z <= 3e-26) {
tmp = (a * 120.0) + (-60.0 * ((x - y) / t));
} 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 = (60.0d0 / (z / (x - y))) + (a * 120.0d0)
if (z <= (-2.3d+87)) then
tmp = t_1
else if (z <= (-1.05d-154)) then
tmp = ((-60.0d0) / ((z - t) / y)) + (a * 120.0d0)
else if (z <= 3d-26) then
tmp = (a * 120.0d0) + ((-60.0d0) * ((x - y) / t))
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 = (60.0 / (z / (x - y))) + (a * 120.0);
double tmp;
if (z <= -2.3e+87) {
tmp = t_1;
} else if (z <= -1.05e-154) {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
} else if (z <= 3e-26) {
tmp = (a * 120.0) + (-60.0 * ((x - y) / t));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = (60.0 / (z / (x - y))) + (a * 120.0) tmp = 0 if z <= -2.3e+87: tmp = t_1 elif z <= -1.05e-154: tmp = (-60.0 / ((z - t) / y)) + (a * 120.0) elif z <= 3e-26: tmp = (a * 120.0) + (-60.0 * ((x - y) / t)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(Float64(60.0 / Float64(z / Float64(x - y))) + Float64(a * 120.0)) tmp = 0.0 if (z <= -2.3e+87) tmp = t_1; elseif (z <= -1.05e-154) tmp = Float64(Float64(-60.0 / Float64(Float64(z - t) / y)) + Float64(a * 120.0)); elseif (z <= 3e-26) tmp = Float64(Float64(a * 120.0) + Float64(-60.0 * Float64(Float64(x - y) / t))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = (60.0 / (z / (x - y))) + (a * 120.0); tmp = 0.0; if (z <= -2.3e+87) tmp = t_1; elseif (z <= -1.05e-154) tmp = (-60.0 / ((z - t) / y)) + (a * 120.0); elseif (z <= 3e-26) tmp = (a * 120.0) + (-60.0 * ((x - y) / t)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(60.0 / N[(z / N[(x - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.3e+87], t$95$1, If[LessEqual[z, -1.05e-154], N[(N[(-60.0 / N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3e-26], N[(N[(a * 120.0), $MachinePrecision] + N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{60}{\frac{z}{x - y}} + a \cdot 120\\
\mathbf{if}\;z \leq -2.3 \cdot 10^{+87}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.05 \cdot 10^{-154}:\\
\;\;\;\;\frac{-60}{\frac{z - t}{y}} + a \cdot 120\\
\mathbf{elif}\;z \leq 3 \cdot 10^{-26}:\\
\;\;\;\;a \cdot 120 + -60 \cdot \frac{x - y}{t}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if z < -2.3000000000000002e87 or 3.00000000000000012e-26 < z Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 87.7%
if -2.3000000000000002e87 < z < -1.04999999999999992e-154Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
Taylor expanded in x around 0 82.7%
associate-*r/82.9%
associate-/l*82.9%
Simplified82.9%
if -1.04999999999999992e-154 < z < 3.00000000000000012e-26Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around 0 87.7%
Final simplification86.8%
(FPCore (x y z t a)
:precision binary64
(if (<= (* a 120.0) -2e+82)
(+ (* a 120.0) (/ 60.0 (/ z x)))
(if (<= (* a 120.0) 8e-37)
(* (- x y) (/ 60.0 (- z t)))
(+ (* a 120.0) (/ (* 60.0 y) t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a * 120.0) <= -2e+82) {
tmp = (a * 120.0) + (60.0 / (z / x));
} else if ((a * 120.0) <= 8e-37) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + ((60.0 * y) / 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 ((a * 120.0d0) <= (-2d+82)) then
tmp = (a * 120.0d0) + (60.0d0 / (z / x))
else if ((a * 120.0d0) <= 8d-37) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = (a * 120.0d0) + ((60.0d0 * y) / t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((a * 120.0) <= -2e+82) {
tmp = (a * 120.0) + (60.0 / (z / x));
} else if ((a * 120.0) <= 8e-37) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + ((60.0 * y) / t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (a * 120.0) <= -2e+82: tmp = (a * 120.0) + (60.0 / (z / x)) elif (a * 120.0) <= 8e-37: tmp = (x - y) * (60.0 / (z - t)) else: tmp = (a * 120.0) + ((60.0 * y) / t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (Float64(a * 120.0) <= -2e+82) tmp = Float64(Float64(a * 120.0) + Float64(60.0 / Float64(z / x))); elseif (Float64(a * 120.0) <= 8e-37) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(Float64(60.0 * y) / t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((a * 120.0) <= -2e+82) tmp = (a * 120.0) + (60.0 / (z / x)); elseif ((a * 120.0) <= 8e-37) tmp = (x - y) * (60.0 / (z - t)); else tmp = (a * 120.0) + ((60.0 * y) / t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[N[(a * 120.0), $MachinePrecision], -2e+82], N[(N[(a * 120.0), $MachinePrecision] + N[(60.0 / N[(z / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(a * 120.0), $MachinePrecision], 8e-37], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(60.0 * y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \cdot 120 \leq -2 \cdot 10^{+82}:\\
\;\;\;\;a \cdot 120 + \frac{60}{\frac{z}{x}}\\
\mathbf{elif}\;a \cdot 120 \leq 8 \cdot 10^{-37}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + \frac{60 \cdot y}{t}\\
\end{array}
\end{array}
if (*.f64 a 120) < -1.9999999999999999e82Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in x around inf 90.5%
Taylor expanded in z around inf 83.4%
if -1.9999999999999999e82 < (*.f64 a 120) < 8.00000000000000053e-37Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in a around 0 75.5%
associate-*r/75.7%
associate-*l/75.5%
*-commutative75.5%
Simplified75.5%
if 8.00000000000000053e-37 < (*.f64 a 120) Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 77.1%
Taylor expanded in x around 0 74.0%
*-commutative74.0%
associate-*l/74.0%
Simplified74.0%
Final simplification76.4%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* -60.0 (/ y (- z t)))))
(if (<= y -1.95e+145)
t_1
(if (<= y -1.05e+49)
(* a 120.0)
(if (<= y -9.5e-45)
(* -60.0 (/ (- x y) t))
(if (<= y 2.6e+93) (* a 120.0) t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = -60.0 * (y / (z - t));
double tmp;
if (y <= -1.95e+145) {
tmp = t_1;
} else if (y <= -1.05e+49) {
tmp = a * 120.0;
} else if (y <= -9.5e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 2.6e+93) {
tmp = a * 120.0;
} 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 = (-60.0d0) * (y / (z - t))
if (y <= (-1.95d+145)) then
tmp = t_1
else if (y <= (-1.05d+49)) then
tmp = a * 120.0d0
else if (y <= (-9.5d-45)) then
tmp = (-60.0d0) * ((x - y) / t)
else if (y <= 2.6d+93) then
tmp = a * 120.0d0
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 = -60.0 * (y / (z - t));
double tmp;
if (y <= -1.95e+145) {
tmp = t_1;
} else if (y <= -1.05e+49) {
tmp = a * 120.0;
} else if (y <= -9.5e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 2.6e+93) {
tmp = a * 120.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = -60.0 * (y / (z - t)) tmp = 0 if y <= -1.95e+145: tmp = t_1 elif y <= -1.05e+49: tmp = a * 120.0 elif y <= -9.5e-45: tmp = -60.0 * ((x - y) / t) elif y <= 2.6e+93: tmp = a * 120.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(-60.0 * Float64(y / Float64(z - t))) tmp = 0.0 if (y <= -1.95e+145) tmp = t_1; elseif (y <= -1.05e+49) tmp = Float64(a * 120.0); elseif (y <= -9.5e-45) tmp = Float64(-60.0 * Float64(Float64(x - y) / t)); elseif (y <= 2.6e+93) tmp = Float64(a * 120.0); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = -60.0 * (y / (z - t)); tmp = 0.0; if (y <= -1.95e+145) tmp = t_1; elseif (y <= -1.05e+49) tmp = a * 120.0; elseif (y <= -9.5e-45) tmp = -60.0 * ((x - y) / t); elseif (y <= 2.6e+93) tmp = a * 120.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.95e+145], t$95$1, If[LessEqual[y, -1.05e+49], N[(a * 120.0), $MachinePrecision], If[LessEqual[y, -9.5e-45], N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.6e+93], N[(a * 120.0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := -60 \cdot \frac{y}{z - t}\\
\mathbf{if}\;y \leq -1.95 \cdot 10^{+145}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq -1.05 \cdot 10^{+49}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;y \leq -9.5 \cdot 10^{-45}:\\
\;\;\;\;-60 \cdot \frac{x - y}{t}\\
\mathbf{elif}\;y \leq 2.6 \cdot 10^{+93}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y < -1.9499999999999999e145 or 2.6e93 < y Initial program 99.8%
associate-/l*99.6%
Simplified99.6%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 63.0%
if -1.9499999999999999e145 < y < -1.05000000000000005e49 or -9.5000000000000002e-45 < y < 2.6e93Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 60.4%
if -1.05000000000000005e49 < y < -9.5000000000000002e-45Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 82.1%
Taylor expanded in a around 0 63.7%
Final simplification61.5%
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (/ -60.0 (/ (- z t) y))))
(if (<= y -1.25e+145)
t_1
(if (<= y -8.5e+48)
(* a 120.0)
(if (<= y -3.8e-45)
(* -60.0 (/ (- x y) t))
(if (<= y 2.3e+93) (* a 120.0) t_1))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = -60.0 / ((z - t) / y);
double tmp;
if (y <= -1.25e+145) {
tmp = t_1;
} else if (y <= -8.5e+48) {
tmp = a * 120.0;
} else if (y <= -3.8e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 2.3e+93) {
tmp = a * 120.0;
} 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 = (-60.0d0) / ((z - t) / y)
if (y <= (-1.25d+145)) then
tmp = t_1
else if (y <= (-8.5d+48)) then
tmp = a * 120.0d0
else if (y <= (-3.8d-45)) then
tmp = (-60.0d0) * ((x - y) / t)
else if (y <= 2.3d+93) then
tmp = a * 120.0d0
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 = -60.0 / ((z - t) / y);
double tmp;
if (y <= -1.25e+145) {
tmp = t_1;
} else if (y <= -8.5e+48) {
tmp = a * 120.0;
} else if (y <= -3.8e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 2.3e+93) {
tmp = a * 120.0;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = -60.0 / ((z - t) / y) tmp = 0 if y <= -1.25e+145: tmp = t_1 elif y <= -8.5e+48: tmp = a * 120.0 elif y <= -3.8e-45: tmp = -60.0 * ((x - y) / t) elif y <= 2.3e+93: tmp = a * 120.0 else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(-60.0 / Float64(Float64(z - t) / y)) tmp = 0.0 if (y <= -1.25e+145) tmp = t_1; elseif (y <= -8.5e+48) tmp = Float64(a * 120.0); elseif (y <= -3.8e-45) tmp = Float64(-60.0 * Float64(Float64(x - y) / t)); elseif (y <= 2.3e+93) tmp = Float64(a * 120.0); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = -60.0 / ((z - t) / y); tmp = 0.0; if (y <= -1.25e+145) tmp = t_1; elseif (y <= -8.5e+48) tmp = a * 120.0; elseif (y <= -3.8e-45) tmp = -60.0 * ((x - y) / t); elseif (y <= 2.3e+93) tmp = a * 120.0; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(-60.0 / N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -1.25e+145], t$95$1, If[LessEqual[y, -8.5e+48], N[(a * 120.0), $MachinePrecision], If[LessEqual[y, -3.8e-45], N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.3e+93], N[(a * 120.0), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{-60}{\frac{z - t}{y}}\\
\mathbf{if}\;y \leq -1.25 \cdot 10^{+145}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq -8.5 \cdot 10^{+48}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;y \leq -3.8 \cdot 10^{-45}:\\
\;\;\;\;-60 \cdot \frac{x - y}{t}\\
\mathbf{elif}\;y \leq 2.3 \cdot 10^{+93}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y < -1.24999999999999992e145 or 2.3000000000000002e93 < y Initial program 99.8%
associate-/l*99.6%
Simplified99.6%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 63.0%
clear-num62.8%
div-inv63.0%
Applied egg-rr63.0%
if -1.24999999999999992e145 < y < -8.5000000000000001e48 or -3.79999999999999997e-45 < y < 2.3000000000000002e93Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 60.4%
if -8.5000000000000001e48 < y < -3.79999999999999997e-45Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 82.1%
Taylor expanded in a around 0 63.7%
Final simplification61.5%
(FPCore (x y z t a)
:precision binary64
(if (<= y -1.45e+145)
(/ y (/ (- z t) -60.0))
(if (<= y -9.5e+48)
(* a 120.0)
(if (<= y -9.5e-45)
(* -60.0 (/ (- x y) t))
(if (<= y 1.1e+91) (* a 120.0) (/ -60.0 (/ (- z t) y)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -1.45e+145) {
tmp = y / ((z - t) / -60.0);
} else if (y <= -9.5e+48) {
tmp = a * 120.0;
} else if (y <= -9.5e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 1.1e+91) {
tmp = a * 120.0;
} else {
tmp = -60.0 / ((z - t) / 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 (y <= (-1.45d+145)) then
tmp = y / ((z - t) / (-60.0d0))
else if (y <= (-9.5d+48)) then
tmp = a * 120.0d0
else if (y <= (-9.5d-45)) then
tmp = (-60.0d0) * ((x - y) / t)
else if (y <= 1.1d+91) then
tmp = a * 120.0d0
else
tmp = (-60.0d0) / ((z - t) / y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -1.45e+145) {
tmp = y / ((z - t) / -60.0);
} else if (y <= -9.5e+48) {
tmp = a * 120.0;
} else if (y <= -9.5e-45) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 1.1e+91) {
tmp = a * 120.0;
} else {
tmp = -60.0 / ((z - t) / y);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -1.45e+145: tmp = y / ((z - t) / -60.0) elif y <= -9.5e+48: tmp = a * 120.0 elif y <= -9.5e-45: tmp = -60.0 * ((x - y) / t) elif y <= 1.1e+91: tmp = a * 120.0 else: tmp = -60.0 / ((z - t) / y) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -1.45e+145) tmp = Float64(y / Float64(Float64(z - t) / -60.0)); elseif (y <= -9.5e+48) tmp = Float64(a * 120.0); elseif (y <= -9.5e-45) tmp = Float64(-60.0 * Float64(Float64(x - y) / t)); elseif (y <= 1.1e+91) tmp = Float64(a * 120.0); else tmp = Float64(-60.0 / Float64(Float64(z - t) / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -1.45e+145) tmp = y / ((z - t) / -60.0); elseif (y <= -9.5e+48) tmp = a * 120.0; elseif (y <= -9.5e-45) tmp = -60.0 * ((x - y) / t); elseif (y <= 1.1e+91) tmp = a * 120.0; else tmp = -60.0 / ((z - t) / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -1.45e+145], N[(y / N[(N[(z - t), $MachinePrecision] / -60.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -9.5e+48], N[(a * 120.0), $MachinePrecision], If[LessEqual[y, -9.5e-45], N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.1e+91], N[(a * 120.0), $MachinePrecision], N[(-60.0 / N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.45 \cdot 10^{+145}:\\
\;\;\;\;\frac{y}{\frac{z - t}{-60}}\\
\mathbf{elif}\;y \leq -9.5 \cdot 10^{+48}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;y \leq -9.5 \cdot 10^{-45}:\\
\;\;\;\;-60 \cdot \frac{x - y}{t}\\
\mathbf{elif}\;y \leq 1.1 \cdot 10^{+91}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{-60}{\frac{z - t}{y}}\\
\end{array}
\end{array}
if y < -1.45e145Initial program 99.7%
associate-/l*99.5%
Simplified99.5%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 67.4%
associate-*r/67.5%
*-commutative67.5%
associate-/l*67.5%
Simplified67.5%
if -1.45e145 < y < -9.4999999999999997e48 or -9.5000000000000002e-45 < y < 1.1e91Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 60.4%
if -9.4999999999999997e48 < y < -9.5000000000000002e-45Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 82.1%
Taylor expanded in a around 0 63.7%
if 1.1e91 < y Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.8%
Applied egg-rr99.8%
Taylor expanded in y around inf 61.4%
clear-num61.3%
div-inv61.5%
Applied egg-rr61.5%
Final simplification61.5%
(FPCore (x y z t a)
:precision binary64
(if (<= y -1.25e+145)
(/ y (/ (- z t) -60.0))
(if (<= y -8.5e+48)
(* a 120.0)
(if (<= y -2.15e-46)
(* -60.0 (/ (- x y) t))
(if (<= y 7e+90) (* a 120.0) (/ (* y -60.0) (- z t)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (y <= -1.25e+145) {
tmp = y / ((z - t) / -60.0);
} else if (y <= -8.5e+48) {
tmp = a * 120.0;
} else if (y <= -2.15e-46) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 7e+90) {
tmp = a * 120.0;
} else {
tmp = (y * -60.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 (y <= (-1.25d+145)) then
tmp = y / ((z - t) / (-60.0d0))
else if (y <= (-8.5d+48)) then
tmp = a * 120.0d0
else if (y <= (-2.15d-46)) then
tmp = (-60.0d0) * ((x - y) / t)
else if (y <= 7d+90) then
tmp = a * 120.0d0
else
tmp = (y * (-60.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 (y <= -1.25e+145) {
tmp = y / ((z - t) / -60.0);
} else if (y <= -8.5e+48) {
tmp = a * 120.0;
} else if (y <= -2.15e-46) {
tmp = -60.0 * ((x - y) / t);
} else if (y <= 7e+90) {
tmp = a * 120.0;
} else {
tmp = (y * -60.0) / (z - t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if y <= -1.25e+145: tmp = y / ((z - t) / -60.0) elif y <= -8.5e+48: tmp = a * 120.0 elif y <= -2.15e-46: tmp = -60.0 * ((x - y) / t) elif y <= 7e+90: tmp = a * 120.0 else: tmp = (y * -60.0) / (z - t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (y <= -1.25e+145) tmp = Float64(y / Float64(Float64(z - t) / -60.0)); elseif (y <= -8.5e+48) tmp = Float64(a * 120.0); elseif (y <= -2.15e-46) tmp = Float64(-60.0 * Float64(Float64(x - y) / t)); elseif (y <= 7e+90) tmp = Float64(a * 120.0); else tmp = Float64(Float64(y * -60.0) / Float64(z - t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (y <= -1.25e+145) tmp = y / ((z - t) / -60.0); elseif (y <= -8.5e+48) tmp = a * 120.0; elseif (y <= -2.15e-46) tmp = -60.0 * ((x - y) / t); elseif (y <= 7e+90) tmp = a * 120.0; else tmp = (y * -60.0) / (z - t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[y, -1.25e+145], N[(y / N[(N[(z - t), $MachinePrecision] / -60.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, -8.5e+48], N[(a * 120.0), $MachinePrecision], If[LessEqual[y, -2.15e-46], N[(-60.0 * N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 7e+90], N[(a * 120.0), $MachinePrecision], N[(N[(y * -60.0), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.25 \cdot 10^{+145}:\\
\;\;\;\;\frac{y}{\frac{z - t}{-60}}\\
\mathbf{elif}\;y \leq -8.5 \cdot 10^{+48}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;y \leq -2.15 \cdot 10^{-46}:\\
\;\;\;\;-60 \cdot \frac{x - y}{t}\\
\mathbf{elif}\;y \leq 7 \cdot 10^{+90}:\\
\;\;\;\;a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot -60}{z - t}\\
\end{array}
\end{array}
if y < -1.24999999999999992e145Initial program 99.7%
associate-/l*99.5%
Simplified99.5%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 67.4%
associate-*r/67.5%
*-commutative67.5%
associate-/l*67.5%
Simplified67.5%
if -1.24999999999999992e145 < y < -8.5000000000000001e48 or -2.15000000000000018e-46 < y < 6.9999999999999997e90Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 60.4%
if -8.5000000000000001e48 < y < -2.15000000000000018e-46Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 82.1%
Taylor expanded in a around 0 63.7%
if 6.9999999999999997e90 < y Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.8%
Applied egg-rr99.8%
Taylor expanded in y around inf 61.4%
associate-*r/61.5%
Simplified61.5%
Final simplification61.5%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -1.15e+99) (not (<= y 2.4e+68))) (+ (/ -60.0 (/ (- z t) y)) (* a 120.0)) (+ (/ 60.0 (/ (- z t) x)) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.15e+99) || !(y <= 2.4e+68)) {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
} else {
tmp = (60.0 / ((z - t) / x)) + (a * 120.0);
}
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 ((y <= (-1.15d+99)) .or. (.not. (y <= 2.4d+68))) then
tmp = ((-60.0d0) / ((z - t) / y)) + (a * 120.0d0)
else
tmp = (60.0d0 / ((z - t) / x)) + (a * 120.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.15e+99) || !(y <= 2.4e+68)) {
tmp = (-60.0 / ((z - t) / y)) + (a * 120.0);
} else {
tmp = (60.0 / ((z - t) / x)) + (a * 120.0);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -1.15e+99) or not (y <= 2.4e+68): tmp = (-60.0 / ((z - t) / y)) + (a * 120.0) else: tmp = (60.0 / ((z - t) / x)) + (a * 120.0) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -1.15e+99) || !(y <= 2.4e+68)) tmp = Float64(Float64(-60.0 / Float64(Float64(z - t) / y)) + Float64(a * 120.0)); else tmp = Float64(Float64(60.0 / Float64(Float64(z - t) / x)) + Float64(a * 120.0)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -1.15e+99) || ~((y <= 2.4e+68))) tmp = (-60.0 / ((z - t) / y)) + (a * 120.0); else tmp = (60.0 / ((z - t) / x)) + (a * 120.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -1.15e+99], N[Not[LessEqual[y, 2.4e+68]], $MachinePrecision]], N[(N[(-60.0 / N[(N[(z - t), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision], N[(N[(60.0 / N[(N[(z - t), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.15 \cdot 10^{+99} \lor \neg \left(y \leq 2.4 \cdot 10^{+68}\right):\\
\;\;\;\;\frac{-60}{\frac{z - t}{y}} + a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{60}{\frac{z - t}{x}} + a \cdot 120\\
\end{array}
\end{array}
if y < -1.1500000000000001e99 or 2.40000000000000008e68 < y Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
Taylor expanded in x around 0 89.1%
associate-*r/89.2%
associate-/l*89.1%
Simplified89.1%
if -1.1500000000000001e99 < y < 2.40000000000000008e68Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in x around inf 90.8%
Final simplification90.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -1.75e+100) (not (<= y 5.6e+69))) (+ (/ (* y -60.0) (- z t)) (* a 120.0)) (+ (/ 60.0 (/ (- z t) x)) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.75e+100) || !(y <= 5.6e+69)) {
tmp = ((y * -60.0) / (z - t)) + (a * 120.0);
} else {
tmp = (60.0 / ((z - t) / x)) + (a * 120.0);
}
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 ((y <= (-1.75d+100)) .or. (.not. (y <= 5.6d+69))) then
tmp = ((y * (-60.0d0)) / (z - t)) + (a * 120.0d0)
else
tmp = (60.0d0 / ((z - t) / x)) + (a * 120.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.75e+100) || !(y <= 5.6e+69)) {
tmp = ((y * -60.0) / (z - t)) + (a * 120.0);
} else {
tmp = (60.0 / ((z - t) / x)) + (a * 120.0);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -1.75e+100) or not (y <= 5.6e+69): tmp = ((y * -60.0) / (z - t)) + (a * 120.0) else: tmp = (60.0 / ((z - t) / x)) + (a * 120.0) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -1.75e+100) || !(y <= 5.6e+69)) tmp = Float64(Float64(Float64(y * -60.0) / Float64(z - t)) + Float64(a * 120.0)); else tmp = Float64(Float64(60.0 / Float64(Float64(z - t) / x)) + Float64(a * 120.0)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -1.75e+100) || ~((y <= 5.6e+69))) tmp = ((y * -60.0) / (z - t)) + (a * 120.0); else tmp = (60.0 / ((z - t) / x)) + (a * 120.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -1.75e+100], N[Not[LessEqual[y, 5.6e+69]], $MachinePrecision]], N[(N[(N[(y * -60.0), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision], N[(N[(60.0 / N[(N[(z - t), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.75 \cdot 10^{+100} \lor \neg \left(y \leq 5.6 \cdot 10^{+69}\right):\\
\;\;\;\;\frac{y \cdot -60}{z - t} + a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{60}{\frac{z - t}{x}} + a \cdot 120\\
\end{array}
\end{array}
if y < -1.74999999999999988e100 or 5.59999999999999964e69 < y Initial program 99.8%
Taylor expanded in x around 0 89.2%
if -1.74999999999999988e100 < y < 5.59999999999999964e69Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in x around inf 90.8%
Final simplification90.1%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -4.5e+99) (not (<= y 4.5e+71))) (+ (/ (* y -60.0) (- z t)) (* a 120.0)) (+ (/ (* 60.0 x) (- z t)) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -4.5e+99) || !(y <= 4.5e+71)) {
tmp = ((y * -60.0) / (z - t)) + (a * 120.0);
} else {
tmp = ((60.0 * x) / (z - t)) + (a * 120.0);
}
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 ((y <= (-4.5d+99)) .or. (.not. (y <= 4.5d+71))) then
tmp = ((y * (-60.0d0)) / (z - t)) + (a * 120.0d0)
else
tmp = ((60.0d0 * x) / (z - t)) + (a * 120.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -4.5e+99) || !(y <= 4.5e+71)) {
tmp = ((y * -60.0) / (z - t)) + (a * 120.0);
} else {
tmp = ((60.0 * x) / (z - t)) + (a * 120.0);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -4.5e+99) or not (y <= 4.5e+71): tmp = ((y * -60.0) / (z - t)) + (a * 120.0) else: tmp = ((60.0 * x) / (z - t)) + (a * 120.0) return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -4.5e+99) || !(y <= 4.5e+71)) tmp = Float64(Float64(Float64(y * -60.0) / Float64(z - t)) + Float64(a * 120.0)); else tmp = Float64(Float64(Float64(60.0 * x) / Float64(z - t)) + Float64(a * 120.0)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -4.5e+99) || ~((y <= 4.5e+71))) tmp = ((y * -60.0) / (z - t)) + (a * 120.0); else tmp = ((60.0 * x) / (z - t)) + (a * 120.0); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -4.5e+99], N[Not[LessEqual[y, 4.5e+71]], $MachinePrecision]], N[(N[(N[(y * -60.0), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision], N[(N[(N[(60.0 * x), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.5 \cdot 10^{+99} \lor \neg \left(y \leq 4.5 \cdot 10^{+71}\right):\\
\;\;\;\;\frac{y \cdot -60}{z - t} + a \cdot 120\\
\mathbf{else}:\\
\;\;\;\;\frac{60 \cdot x}{z - t} + a \cdot 120\\
\end{array}
\end{array}
if y < -4.5e99 or 4.50000000000000043e71 < y Initial program 99.8%
Taylor expanded in x around 0 89.2%
if -4.5e99 < y < 4.50000000000000043e71Initial program 99.8%
Taylor expanded in x around inf 90.9%
*-commutative90.9%
Simplified90.9%
Final simplification90.1%
(FPCore (x y z t a) :precision binary64 (if (<= a -5.8e+50) (* a 120.0) (if (<= a 1.16e-39) (* 60.0 (/ (- x y) (- z t))) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -5.8e+50) {
tmp = a * 120.0;
} else if (a <= 1.16e-39) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = a * 120.0;
}
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 <= (-5.8d+50)) then
tmp = a * 120.0d0
else if (a <= 1.16d-39) then
tmp = 60.0d0 * ((x - y) / (z - t))
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -5.8e+50) {
tmp = a * 120.0;
} else if (a <= 1.16e-39) {
tmp = 60.0 * ((x - y) / (z - t));
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -5.8e+50: tmp = a * 120.0 elif a <= 1.16e-39: tmp = 60.0 * ((x - y) / (z - t)) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -5.8e+50) tmp = Float64(a * 120.0); elseif (a <= 1.16e-39) tmp = Float64(60.0 * Float64(Float64(x - y) / Float64(z - t))); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -5.8e+50) tmp = a * 120.0; elseif (a <= 1.16e-39) tmp = 60.0 * ((x - y) / (z - t)); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -5.8e+50], N[(a * 120.0), $MachinePrecision], If[LessEqual[a, 1.16e-39], N[(60.0 * N[(N[(x - y), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -5.8 \cdot 10^{+50}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;a \leq 1.16 \cdot 10^{-39}:\\
\;\;\;\;60 \cdot \frac{x - y}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if a < -5.8e50 or 1.16e-39 < a Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 73.1%
if -5.8e50 < a < 1.16e-39Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
Taylor expanded in a around 0 76.9%
Final simplification75.2%
(FPCore (x y z t a) :precision binary64 (if (<= a -2.5e+52) (* a 120.0) (if (<= a 2.7e-40) (* (- x y) (/ 60.0 (- z t))) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.5e+52) {
tmp = a * 120.0;
} else if (a <= 2.7e-40) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = a * 120.0;
}
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 <= (-2.5d+52)) then
tmp = a * 120.0d0
else if (a <= 2.7d-40) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -2.5e+52) {
tmp = a * 120.0;
} else if (a <= 2.7e-40) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -2.5e+52: tmp = a * 120.0 elif a <= 2.7e-40: tmp = (x - y) * (60.0 / (z - t)) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -2.5e+52) tmp = Float64(a * 120.0); elseif (a <= 2.7e-40) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -2.5e+52) tmp = a * 120.0; elseif (a <= 2.7e-40) tmp = (x - y) * (60.0 / (z - t)); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -2.5e+52], N[(a * 120.0), $MachinePrecision], If[LessEqual[a, 2.7e-40], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -2.5 \cdot 10^{+52}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;a \leq 2.7 \cdot 10^{-40}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if a < -2.5e52 or 2.7e-40 < a Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 73.1%
if -2.5e52 < a < 2.7e-40Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in a around 0 76.9%
associate-*r/77.1%
associate-*l/77.0%
*-commutative77.0%
Simplified77.0%
Final simplification75.2%
(FPCore (x y z t a) :precision binary64 (if (<= a -3.8e+77) (+ (* a 120.0) (* 60.0 (/ x z))) (if (<= a 2.85e-39) (* (- x y) (/ 60.0 (- z t))) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -3.8e+77) {
tmp = (a * 120.0) + (60.0 * (x / z));
} else if (a <= 2.85e-39) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = a * 120.0;
}
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.8d+77)) then
tmp = (a * 120.0d0) + (60.0d0 * (x / z))
else if (a <= 2.85d-39) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = a * 120.0d0
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.8e+77) {
tmp = (a * 120.0) + (60.0 * (x / z));
} else if (a <= 2.85e-39) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -3.8e+77: tmp = (a * 120.0) + (60.0 * (x / z)) elif a <= 2.85e-39: tmp = (x - y) * (60.0 / (z - t)) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -3.8e+77) tmp = Float64(Float64(a * 120.0) + Float64(60.0 * Float64(x / z))); elseif (a <= 2.85e-39) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -3.8e+77) tmp = (a * 120.0) + (60.0 * (x / z)); elseif (a <= 2.85e-39) tmp = (x - y) * (60.0 / (z - t)); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -3.8e+77], N[(N[(a * 120.0), $MachinePrecision] + N[(60.0 * N[(x / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 2.85e-39], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -3.8 \cdot 10^{+77}:\\
\;\;\;\;a \cdot 120 + 60 \cdot \frac{x}{z}\\
\mathbf{elif}\;a \leq 2.85 \cdot 10^{-39}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if a < -3.8000000000000001e77Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 77.8%
Taylor expanded in y around 0 83.4%
if -3.8000000000000001e77 < a < 2.8499999999999998e-39Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in a around 0 75.9%
associate-*r/76.0%
associate-*l/75.9%
*-commutative75.9%
Simplified75.9%
if 2.8499999999999998e-39 < a Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 72.8%
Final simplification76.2%
(FPCore (x y z t a)
:precision binary64
(if (<= a -6.8e+77)
(+ (* a 120.0) (* 60.0 (/ x z)))
(if (<= a 6.4e-39)
(* (- x y) (/ 60.0 (- z t)))
(+ (* a 120.0) (/ (* 60.0 y) t)))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -6.8e+77) {
tmp = (a * 120.0) + (60.0 * (x / z));
} else if (a <= 6.4e-39) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + ((60.0 * y) / 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 (a <= (-6.8d+77)) then
tmp = (a * 120.0d0) + (60.0d0 * (x / z))
else if (a <= 6.4d-39) then
tmp = (x - y) * (60.0d0 / (z - t))
else
tmp = (a * 120.0d0) + ((60.0d0 * y) / t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -6.8e+77) {
tmp = (a * 120.0) + (60.0 * (x / z));
} else if (a <= 6.4e-39) {
tmp = (x - y) * (60.0 / (z - t));
} else {
tmp = (a * 120.0) + ((60.0 * y) / t);
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -6.8e+77: tmp = (a * 120.0) + (60.0 * (x / z)) elif a <= 6.4e-39: tmp = (x - y) * (60.0 / (z - t)) else: tmp = (a * 120.0) + ((60.0 * y) / t) return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -6.8e+77) tmp = Float64(Float64(a * 120.0) + Float64(60.0 * Float64(x / z))); elseif (a <= 6.4e-39) tmp = Float64(Float64(x - y) * Float64(60.0 / Float64(z - t))); else tmp = Float64(Float64(a * 120.0) + Float64(Float64(60.0 * y) / t)); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -6.8e+77) tmp = (a * 120.0) + (60.0 * (x / z)); elseif (a <= 6.4e-39) tmp = (x - y) * (60.0 / (z - t)); else tmp = (a * 120.0) + ((60.0 * y) / t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -6.8e+77], N[(N[(a * 120.0), $MachinePrecision] + N[(60.0 * N[(x / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 6.4e-39], N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * 120.0), $MachinePrecision] + N[(N[(60.0 * y), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.8 \cdot 10^{+77}:\\
\;\;\;\;a \cdot 120 + 60 \cdot \frac{x}{z}\\
\mathbf{elif}\;a \leq 6.4 \cdot 10^{-39}:\\
\;\;\;\;\left(x - y\right) \cdot \frac{60}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120 + \frac{60 \cdot y}{t}\\
\end{array}
\end{array}
if a < -6.79999999999999993e77Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 77.8%
Taylor expanded in y around 0 83.4%
if -6.79999999999999993e77 < a < 6.3999999999999995e-39Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in a around 0 75.5%
associate-*r/75.7%
associate-*l/75.5%
*-commutative75.5%
Simplified75.5%
if 6.3999999999999995e-39 < a Initial program 99.8%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around 0 77.1%
Taylor expanded in x around 0 74.0%
*-commutative74.0%
associate-*l/74.0%
Simplified74.0%
Final simplification76.4%
(FPCore (x y z t a) :precision binary64 (+ (* a 120.0) (* (- x y) (/ 60.0 (- z t)))))
double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + ((x - y) * (60.0 / (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 = (a * 120.0d0) + ((x - y) * (60.0d0 / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
return (a * 120.0) + ((x - y) * (60.0 / (z - t)));
}
def code(x, y, z, t, a): return (a * 120.0) + ((x - y) * (60.0 / (z - t)))
function code(x, y, z, t, a) return Float64(Float64(a * 120.0) + Float64(Float64(x - y) * Float64(60.0 / Float64(z - t)))) end
function tmp = code(x, y, z, t, a) tmp = (a * 120.0) + ((x - y) * (60.0 / (z - t))); end
code[x_, y_, z_, t_, a_] := N[(N[(a * 120.0), $MachinePrecision] + N[(N[(x - y), $MachinePrecision] * N[(60.0 / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
a \cdot 120 + \left(x - y\right) \cdot \frac{60}{z - t}
\end{array}
Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
associate-/r/99.8%
Applied egg-rr99.8%
Final simplification99.8%
(FPCore (x y z t a) :precision binary64 (+ (/ 60.0 (/ (- z t) (- x y))) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
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 = (60.0d0 / ((z - t) / (x - y))) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
def code(x, y, z, t, a): return (60.0 / ((z - t) / (x - y))) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(60.0 / Float64(Float64(z - t) / Float64(x - y))) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = (60.0 / ((z - t) / (x - y))) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(60.0 / N[(N[(z - t), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60}{\frac{z - t}{x - y}} + a \cdot 120
\end{array}
Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Final simplification99.8%
(FPCore (x y z t a) :precision binary64 (if (or (<= y -1.45e+145) (not (<= y 1.35e+93))) (* -60.0 (/ y (- z t))) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.45e+145) || !(y <= 1.35e+93)) {
tmp = -60.0 * (y / (z - t));
} else {
tmp = a * 120.0;
}
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 ((y <= (-1.45d+145)) .or. (.not. (y <= 1.35d+93))) then
tmp = (-60.0d0) * (y / (z - t))
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((y <= -1.45e+145) || !(y <= 1.35e+93)) {
tmp = -60.0 * (y / (z - t));
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (y <= -1.45e+145) or not (y <= 1.35e+93): tmp = -60.0 * (y / (z - t)) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((y <= -1.45e+145) || !(y <= 1.35e+93)) tmp = Float64(-60.0 * Float64(y / Float64(z - t))); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((y <= -1.45e+145) || ~((y <= 1.35e+93))) tmp = -60.0 * (y / (z - t)); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[y, -1.45e+145], N[Not[LessEqual[y, 1.35e+93]], $MachinePrecision]], N[(-60.0 * N[(y / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.45 \cdot 10^{+145} \lor \neg \left(y \leq 1.35 \cdot 10^{+93}\right):\\
\;\;\;\;-60 \cdot \frac{y}{z - t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if y < -1.45e145 or 1.35e93 < y Initial program 99.8%
associate-/l*99.6%
Simplified99.6%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 63.0%
if -1.45e145 < y < 1.35e93Initial program 99.9%
associate-/l*99.9%
Simplified99.9%
Taylor expanded in z around inf 57.7%
Final simplification59.6%
(FPCore (x y z t a) :precision binary64 (if (or (<= x -1.95e+223) (not (<= x 1.05e+242))) (* -60.0 (/ x t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1.95e+223) || !(x <= 1.05e+242)) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
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 <= (-1.95d+223)) .or. (.not. (x <= 1.05d+242))) then
tmp = (-60.0d0) * (x / t)
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if ((x <= -1.95e+223) || !(x <= 1.05e+242)) {
tmp = -60.0 * (x / t);
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if (x <= -1.95e+223) or not (x <= 1.05e+242): tmp = -60.0 * (x / t) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if ((x <= -1.95e+223) || !(x <= 1.05e+242)) tmp = Float64(-60.0 * Float64(x / t)); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if ((x <= -1.95e+223) || ~((x <= 1.05e+242))) tmp = -60.0 * (x / t); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[Or[LessEqual[x, -1.95e+223], N[Not[LessEqual[x, 1.05e+242]], $MachinePrecision]], N[(-60.0 * N[(x / t), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.95 \cdot 10^{+223} \lor \neg \left(x \leq 1.05 \cdot 10^{+242}\right):\\
\;\;\;\;-60 \cdot \frac{x}{t}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if x < -1.9499999999999999e223 or 1.05e242 < x Initial program 99.9%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in x around inf 73.5%
Taylor expanded in z around 0 51.8%
if -1.9499999999999999e223 < x < 1.05e242Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 49.6%
Final simplification49.9%
(FPCore (x y z t a) :precision binary64 (if (<= t -4.1e-83) (* a 120.0) (if (<= t 3.1e-154) (* -60.0 (/ y z)) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -4.1e-83) {
tmp = a * 120.0;
} else if (t <= 3.1e-154) {
tmp = -60.0 * (y / z);
} else {
tmp = a * 120.0;
}
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 <= (-4.1d-83)) then
tmp = a * 120.0d0
else if (t <= 3.1d-154) then
tmp = (-60.0d0) * (y / z)
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -4.1e-83) {
tmp = a * 120.0;
} else if (t <= 3.1e-154) {
tmp = -60.0 * (y / z);
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -4.1e-83: tmp = a * 120.0 elif t <= 3.1e-154: tmp = -60.0 * (y / z) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -4.1e-83) tmp = Float64(a * 120.0); elseif (t <= 3.1e-154) tmp = Float64(-60.0 * Float64(y / z)); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -4.1e-83) tmp = a * 120.0; elseif (t <= 3.1e-154) tmp = -60.0 * (y / z); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -4.1e-83], N[(a * 120.0), $MachinePrecision], If[LessEqual[t, 3.1e-154], N[(-60.0 * N[(y / z), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.1 \cdot 10^{-83}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;t \leq 3.1 \cdot 10^{-154}:\\
\;\;\;\;-60 \cdot \frac{y}{z}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if t < -4.1e-83 or 3.09999999999999982e-154 < t Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 54.4%
if -4.1e-83 < t < 3.09999999999999982e-154Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 50.0%
Taylor expanded in z around inf 45.0%
Final simplification51.7%
(FPCore (x y z t a) :precision binary64 (if (<= t -1e-79) (* a 120.0) (if (<= t 2.4e-154) (/ -60.0 (/ z y)) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -1e-79) {
tmp = a * 120.0;
} else if (t <= 2.4e-154) {
tmp = -60.0 / (z / y);
} else {
tmp = a * 120.0;
}
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 <= (-1d-79)) then
tmp = a * 120.0d0
else if (t <= 2.4d-154) then
tmp = (-60.0d0) / (z / y)
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -1e-79) {
tmp = a * 120.0;
} else if (t <= 2.4e-154) {
tmp = -60.0 / (z / y);
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -1e-79: tmp = a * 120.0 elif t <= 2.4e-154: tmp = -60.0 / (z / y) else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -1e-79) tmp = Float64(a * 120.0); elseif (t <= 2.4e-154) tmp = Float64(-60.0 / Float64(z / y)); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -1e-79) tmp = a * 120.0; elseif (t <= 2.4e-154) tmp = -60.0 / (z / y); else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1e-79], N[(a * 120.0), $MachinePrecision], If[LessEqual[t, 2.4e-154], N[(-60.0 / N[(z / y), $MachinePrecision]), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1 \cdot 10^{-79}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;t \leq 2.4 \cdot 10^{-154}:\\
\;\;\;\;\frac{-60}{\frac{z}{y}}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if t < -1e-79 or 2.39999999999999987e-154 < t Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 54.4%
if -1e-79 < t < 2.39999999999999987e-154Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 50.0%
Taylor expanded in z around inf 45.0%
clear-num45.0%
un-div-inv45.1%
Applied egg-rr45.1%
Final simplification51.7%
(FPCore (x y z t a) :precision binary64 (if (<= t -2.8e-71) (* a 120.0) (if (<= t 5.2e-154) (/ (* y -60.0) z) (* a 120.0))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -2.8e-71) {
tmp = a * 120.0;
} else if (t <= 5.2e-154) {
tmp = (y * -60.0) / z;
} else {
tmp = a * 120.0;
}
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 <= (-2.8d-71)) then
tmp = a * 120.0d0
else if (t <= 5.2d-154) then
tmp = (y * (-60.0d0)) / z
else
tmp = a * 120.0d0
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
double tmp;
if (t <= -2.8e-71) {
tmp = a * 120.0;
} else if (t <= 5.2e-154) {
tmp = (y * -60.0) / z;
} else {
tmp = a * 120.0;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if t <= -2.8e-71: tmp = a * 120.0 elif t <= 5.2e-154: tmp = (y * -60.0) / z else: tmp = a * 120.0 return tmp
function code(x, y, z, t, a) tmp = 0.0 if (t <= -2.8e-71) tmp = Float64(a * 120.0); elseif (t <= 5.2e-154) tmp = Float64(Float64(y * -60.0) / z); else tmp = Float64(a * 120.0); end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (t <= -2.8e-71) tmp = a * 120.0; elseif (t <= 5.2e-154) tmp = (y * -60.0) / z; else tmp = a * 120.0; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.8e-71], N[(a * 120.0), $MachinePrecision], If[LessEqual[t, 5.2e-154], N[(N[(y * -60.0), $MachinePrecision] / z), $MachinePrecision], N[(a * 120.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.8 \cdot 10^{-71}:\\
\;\;\;\;a \cdot 120\\
\mathbf{elif}\;t \leq 5.2 \cdot 10^{-154}:\\
\;\;\;\;\frac{y \cdot -60}{z}\\
\mathbf{else}:\\
\;\;\;\;a \cdot 120\\
\end{array}
\end{array}
if t < -2.8e-71 or 5.2e-154 < t Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 54.4%
if -2.8e-71 < t < 5.2e-154Initial program 99.8%
associate-/l*99.7%
Simplified99.7%
associate-/r/99.7%
Applied egg-rr99.7%
Taylor expanded in y around inf 50.0%
Taylor expanded in z around inf 45.2%
*-commutative45.2%
associate-*l/45.3%
Applied egg-rr45.3%
Final simplification51.8%
(FPCore (x y z t a) :precision binary64 (* a 120.0))
double code(double x, double y, double z, double t, double a) {
return a * 120.0;
}
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 = a * 120.0d0
end function
public static double code(double x, double y, double z, double t, double a) {
return a * 120.0;
}
def code(x, y, z, t, a): return a * 120.0
function code(x, y, z, t, a) return Float64(a * 120.0) end
function tmp = code(x, y, z, t, a) tmp = a * 120.0; end
code[x_, y_, z_, t_, a_] := N[(a * 120.0), $MachinePrecision]
\begin{array}{l}
\\
a \cdot 120
\end{array}
Initial program 99.8%
associate-/l*99.8%
Simplified99.8%
Taylor expanded in z around inf 46.4%
Final simplification46.4%
(FPCore (x y z t a) :precision binary64 (+ (/ 60.0 (/ (- z t) (- x y))) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
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 = (60.0d0 / ((z - t) / (x - y))) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
return (60.0 / ((z - t) / (x - y))) + (a * 120.0);
}
def code(x, y, z, t, a): return (60.0 / ((z - t) / (x - y))) + (a * 120.0)
function code(x, y, z, t, a) return Float64(Float64(60.0 / Float64(Float64(z - t) / Float64(x - y))) + Float64(a * 120.0)) end
function tmp = code(x, y, z, t, a) tmp = (60.0 / ((z - t) / (x - y))) + (a * 120.0); end
code[x_, y_, z_, t_, a_] := N[(N[(60.0 / N[(N[(z - t), $MachinePrecision] / N[(x - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{60}{\frac{z - t}{x - y}} + a \cdot 120
\end{array}
herbie shell --seed 2023230
(FPCore (x y z t a)
:name "Data.Colour.RGB:hslsv from colour-2.3.3, B"
:precision binary64
:herbie-target
(+ (/ 60.0 (/ (- z t) (- x y))) (* a 120.0))
(+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))