
(FPCore (x y z t a) :precision binary64 (+ x (* (- y z) (/ (- t x) (- a z)))))
double code(double x, double y, double z, double t, double a) {
return x + ((y - z) * ((t - x) / (a - z)));
}
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 - x) / (a - z)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y - z) * ((t - x) / (a - z)));
}
def code(x, y, z, t, a): return x + ((y - z) * ((t - x) / (a - z)))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z)))) end
function tmp = code(x, y, z, t, a) tmp = x + ((y - z) * ((t - x) / (a - z))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(y - z\right) \cdot \frac{t - x}{a - z}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 19 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a) :precision binary64 (+ x (* (- y z) (/ (- t x) (- a z)))))
double code(double x, double y, double z, double t, double a) {
return x + ((y - z) * ((t - x) / (a - z)));
}
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 - x) / (a - z)))
end function
public static double code(double x, double y, double z, double t, double a) {
return x + ((y - z) * ((t - x) / (a - z)));
}
def code(x, y, z, t, a): return x + ((y - z) * ((t - x) / (a - z)))
function code(x, y, z, t, a) return Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z)))) end
function tmp = code(x, y, z, t, a) tmp = x + ((y - z) * ((t - x) / (a - z))); end
code[x_, y_, z_, t_, a_] := N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \left(y - z\right) \cdot \frac{t - x}{a - z}
\end{array}
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ x (* (- y z) (/ (- t x) (- a z))))))
(if (<= t_1 -4e-265)
(+ x (* (- t x) (/ (- y z) (- a z))))
(if (<= t_1 0.0)
(- t (* (- t x) (/ (- y a) z)))
(+ x (/ (- t x) (/ (- a z) (- y z))))))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x + ((y - z) * ((t - x) / (a - z)));
double tmp;
if (t_1 <= -4e-265) {
tmp = x + ((t - x) * ((y - z) / (a - z)));
} else if (t_1 <= 0.0) {
tmp = t - ((t - x) * ((y - a) / z));
} else {
tmp = x + ((t - x) / ((a - z) / (y - z)));
}
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 - z) * ((t - x) / (a - z)))
if (t_1 <= (-4d-265)) then
tmp = x + ((t - x) * ((y - z) / (a - z)))
else if (t_1 <= 0.0d0) then
tmp = t - ((t - x) * ((y - a) / z))
else
tmp = x + ((t - x) / ((a - z) / (y - z)))
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 - z) * ((t - x) / (a - z)));
double tmp;
if (t_1 <= -4e-265) {
tmp = x + ((t - x) * ((y - z) / (a - z)));
} else if (t_1 <= 0.0) {
tmp = t - ((t - x) * ((y - a) / z));
} else {
tmp = x + ((t - x) / ((a - z) / (y - z)));
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x + ((y - z) * ((t - x) / (a - z))) tmp = 0 if t_1 <= -4e-265: tmp = x + ((t - x) * ((y - z) / (a - z))) elif t_1 <= 0.0: tmp = t - ((t - x) * ((y - a) / z)) else: tmp = x + ((t - x) / ((a - z) / (y - z))) return tmp
function code(x, y, z, t, a) t_1 = Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z)))) tmp = 0.0 if (t_1 <= -4e-265) tmp = Float64(x + Float64(Float64(t - x) * Float64(Float64(y - z) / Float64(a - z)))); elseif (t_1 <= 0.0) tmp = Float64(t - Float64(Float64(t - x) * Float64(Float64(y - a) / z))); else tmp = Float64(x + Float64(Float64(t - x) / Float64(Float64(a - z) / Float64(y - z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x + ((y - z) * ((t - x) / (a - z))); tmp = 0.0; if (t_1 <= -4e-265) tmp = x + ((t - x) * ((y - z) / (a - z))); elseif (t_1 <= 0.0) tmp = t - ((t - x) * ((y - a) / z)); else tmp = x + ((t - x) / ((a - z) / (y - z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -4e-265], N[(x + N[(N[(t - x), $MachinePrecision] * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, 0.0], N[(t - N[(N[(t - x), $MachinePrecision] * N[(N[(y - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(t - x), $MachinePrecision] / N[(N[(a - z), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\
\mathbf{if}\;t\_1 \leq -4 \cdot 10^{-265}:\\
\;\;\;\;x + \left(t - x\right) \cdot \frac{y - z}{a - z}\\
\mathbf{elif}\;t\_1 \leq 0:\\
\;\;\;\;t - \left(t - x\right) \cdot \frac{y - a}{z}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{t - x}{\frac{a - z}{y - z}}\\
\end{array}
\end{array}
if (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < -3.99999999999999994e-265Initial program 93.8%
Simplified0
if -3.99999999999999994e-265 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < 0.0Initial program 4.0%
Simplified0
Applied egg-rr0
Applied egg-rr0
Taylor expanded in z around inf 0
Simplified0
if 0.0 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) Initial program 89.2%
Simplified0
Applied egg-rr0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (+ x (* (- t x) (/ (- y z) (- a z)))))
(t_2 (+ x (* (- y z) (/ (- t x) (- a z))))))
(if (<= t_2 -4e-265)
t_1
(if (<= t_2 0.0) (- t (* (- t x) (/ (- y a) z))) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x + ((t - x) * ((y - z) / (a - z)));
double t_2 = x + ((y - z) * ((t - x) / (a - z)));
double tmp;
if (t_2 <= -4e-265) {
tmp = t_1;
} else if (t_2 <= 0.0) {
tmp = t - ((t - 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) :: t_2
real(8) :: tmp
t_1 = x + ((t - x) * ((y - z) / (a - z)))
t_2 = x + ((y - z) * ((t - x) / (a - z)))
if (t_2 <= (-4d-265)) then
tmp = t_1
else if (t_2 <= 0.0d0) then
tmp = t - ((t - 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 + ((t - x) * ((y - z) / (a - z)));
double t_2 = x + ((y - z) * ((t - x) / (a - z)));
double tmp;
if (t_2 <= -4e-265) {
tmp = t_1;
} else if (t_2 <= 0.0) {
tmp = t - ((t - x) * ((y - a) / z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x + ((t - x) * ((y - z) / (a - z))) t_2 = x + ((y - z) * ((t - x) / (a - z))) tmp = 0 if t_2 <= -4e-265: tmp = t_1 elif t_2 <= 0.0: tmp = t - ((t - x) * ((y - a) / z)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(x + Float64(Float64(t - x) * Float64(Float64(y - z) / Float64(a - z)))) t_2 = Float64(x + Float64(Float64(y - z) * Float64(Float64(t - x) / Float64(a - z)))) tmp = 0.0 if (t_2 <= -4e-265) tmp = t_1; elseif (t_2 <= 0.0) tmp = Float64(t - Float64(Float64(t - x) * Float64(Float64(y - a) / z))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x + ((t - x) * ((y - z) / (a - z))); t_2 = x + ((y - z) * ((t - x) / (a - z))); tmp = 0.0; if (t_2 <= -4e-265) tmp = t_1; elseif (t_2 <= 0.0) tmp = t - ((t - 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[(N[(t - x), $MachinePrecision] * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x + N[(N[(y - z), $MachinePrecision] * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, -4e-265], t$95$1, If[LessEqual[t$95$2, 0.0], N[(t - N[(N[(t - x), $MachinePrecision] * N[(N[(y - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(t - x\right) \cdot \frac{y - z}{a - z}\\
t_2 := x + \left(y - z\right) \cdot \frac{t - x}{a - z}\\
\mathbf{if}\;t\_2 \leq -4 \cdot 10^{-265}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_2 \leq 0:\\
\;\;\;\;t - \left(t - x\right) \cdot \frac{y - a}{z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < -3.99999999999999994e-265 or 0.0 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) Initial program 91.4%
Simplified0
if -3.99999999999999994e-265 < (+.f64 x (*.f64 (-.f64 y z) (/.f64 (-.f64 t x) (-.f64 a z)))) < 0.0Initial program 4.0%
Simplified0
Applied egg-rr0
Applied egg-rr0
Taylor expanded in z around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(if (<= a -6.4e+43)
x
(if (<= a -4e+24)
(* y (/ t a))
(if (<= a -5.2e-51)
t
(if (<= a -4.4e-160)
(/ (* t y) a)
(if (<= a -2.95e-272) (/ (* x y) z) (if (<= a 1700.0) t x)))))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -6.4e+43) {
tmp = x;
} else if (a <= -4e+24) {
tmp = y * (t / a);
} else if (a <= -5.2e-51) {
tmp = t;
} else if (a <= -4.4e-160) {
tmp = (t * y) / a;
} else if (a <= -2.95e-272) {
tmp = (x * y) / z;
} else if (a <= 1700.0) {
tmp = t;
} 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 <= (-6.4d+43)) then
tmp = x
else if (a <= (-4d+24)) then
tmp = y * (t / a)
else if (a <= (-5.2d-51)) then
tmp = t
else if (a <= (-4.4d-160)) then
tmp = (t * y) / a
else if (a <= (-2.95d-272)) then
tmp = (x * y) / z
else if (a <= 1700.0d0) then
tmp = t
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 <= -6.4e+43) {
tmp = x;
} else if (a <= -4e+24) {
tmp = y * (t / a);
} else if (a <= -5.2e-51) {
tmp = t;
} else if (a <= -4.4e-160) {
tmp = (t * y) / a;
} else if (a <= -2.95e-272) {
tmp = (x * y) / z;
} else if (a <= 1700.0) {
tmp = t;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -6.4e+43: tmp = x elif a <= -4e+24: tmp = y * (t / a) elif a <= -5.2e-51: tmp = t elif a <= -4.4e-160: tmp = (t * y) / a elif a <= -2.95e-272: tmp = (x * y) / z elif a <= 1700.0: tmp = t else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -6.4e+43) tmp = x; elseif (a <= -4e+24) tmp = Float64(y * Float64(t / a)); elseif (a <= -5.2e-51) tmp = t; elseif (a <= -4.4e-160) tmp = Float64(Float64(t * y) / a); elseif (a <= -2.95e-272) tmp = Float64(Float64(x * y) / z); elseif (a <= 1700.0) tmp = t; else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -6.4e+43) tmp = x; elseif (a <= -4e+24) tmp = y * (t / a); elseif (a <= -5.2e-51) tmp = t; elseif (a <= -4.4e-160) tmp = (t * y) / a; elseif (a <= -2.95e-272) tmp = (x * y) / z; elseif (a <= 1700.0) tmp = t; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -6.4e+43], x, If[LessEqual[a, -4e+24], N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, -5.2e-51], t, If[LessEqual[a, -4.4e-160], N[(N[(t * y), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[a, -2.95e-272], N[(N[(x * y), $MachinePrecision] / z), $MachinePrecision], If[LessEqual[a, 1700.0], t, x]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.4 \cdot 10^{+43}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -4 \cdot 10^{+24}:\\
\;\;\;\;y \cdot \frac{t}{a}\\
\mathbf{elif}\;a \leq -5.2 \cdot 10^{-51}:\\
\;\;\;\;t\\
\mathbf{elif}\;a \leq -4.4 \cdot 10^{-160}:\\
\;\;\;\;\frac{t \cdot y}{a}\\
\mathbf{elif}\;a \leq -2.95 \cdot 10^{-272}:\\
\;\;\;\;\frac{x \cdot y}{z}\\
\mathbf{elif}\;a \leq 1700:\\
\;\;\;\;t\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if a < -6.40000000000000029e43 or 1700 < a Initial program 85.2%
Simplified0
Taylor expanded in a around inf 0
Simplified0
if -6.40000000000000029e43 < a < -3.9999999999999999e24Initial program 99.5%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in x around 0 0
Simplified0
Taylor expanded in a around inf 0
Simplified0
if -3.9999999999999999e24 < a < -5.2e-51 or -2.95e-272 < a < 1700Initial program 77.9%
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -5.2e-51 < a < -4.4e-160Initial program 87.8%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -4.4e-160 < a < -2.95e-272Initial program 71.4%
Simplified0
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in a around 0 0
Simplified0
Taylor expanded in x around 0 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (- t (* (- t x) (/ (- y a) z)))))
(if (<= z -6.3e+69)
t_1
(if (<= z 7.8e-120)
(+ x (/ (- t x) (/ (- a z) y)))
(if (<= z 2.6e+81) (+ x (/ (- t x) (/ a (- y z)))) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t - ((t - x) * ((y - a) / z));
double tmp;
if (z <= -6.3e+69) {
tmp = t_1;
} else if (z <= 7.8e-120) {
tmp = x + ((t - x) / ((a - z) / y));
} else if (z <= 2.6e+81) {
tmp = x + ((t - x) / (a / (y - 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 = t - ((t - x) * ((y - a) / z))
if (z <= (-6.3d+69)) then
tmp = t_1
else if (z <= 7.8d-120) then
tmp = x + ((t - x) / ((a - z) / y))
else if (z <= 2.6d+81) then
tmp = x + ((t - x) / (a / (y - 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 = t - ((t - x) * ((y - a) / z));
double tmp;
if (z <= -6.3e+69) {
tmp = t_1;
} else if (z <= 7.8e-120) {
tmp = x + ((t - x) / ((a - z) / y));
} else if (z <= 2.6e+81) {
tmp = x + ((t - x) / (a / (y - z)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t - ((t - x) * ((y - a) / z)) tmp = 0 if z <= -6.3e+69: tmp = t_1 elif z <= 7.8e-120: tmp = x + ((t - x) / ((a - z) / y)) elif z <= 2.6e+81: tmp = x + ((t - x) / (a / (y - z))) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t - Float64(Float64(t - x) * Float64(Float64(y - a) / z))) tmp = 0.0 if (z <= -6.3e+69) tmp = t_1; elseif (z <= 7.8e-120) tmp = Float64(x + Float64(Float64(t - x) / Float64(Float64(a - z) / y))); elseif (z <= 2.6e+81) tmp = Float64(x + Float64(Float64(t - x) / Float64(a / Float64(y - z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t - ((t - x) * ((y - a) / z)); tmp = 0.0; if (z <= -6.3e+69) tmp = t_1; elseif (z <= 7.8e-120) tmp = x + ((t - x) / ((a - z) / y)); elseif (z <= 2.6e+81) tmp = x + ((t - x) / (a / (y - z))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t - N[(N[(t - x), $MachinePrecision] * N[(N[(y - a), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -6.3e+69], t$95$1, If[LessEqual[z, 7.8e-120], N[(x + N[(N[(t - x), $MachinePrecision] / N[(N[(a - z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e+81], N[(x + N[(N[(t - x), $MachinePrecision] / N[(a / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t - \left(t - x\right) \cdot \frac{y - a}{z}\\
\mathbf{if}\;z \leq -6.3 \cdot 10^{+69}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 7.8 \cdot 10^{-120}:\\
\;\;\;\;x + \frac{t - x}{\frac{a - z}{y}}\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+81}:\\
\;\;\;\;x + \frac{t - x}{\frac{a}{y - z}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -6.30000000000000007e69 or 2.59999999999999992e81 < z Initial program 60.7%
Simplified0
Applied egg-rr0
Applied egg-rr0
Taylor expanded in z around inf 0
Simplified0
if -6.30000000000000007e69 < z < 7.8000000000000003e-120Initial program 93.9%
Simplified0
Applied egg-rr0
Taylor expanded in y around inf 0
Simplified0
if 7.8000000000000003e-120 < z < 2.59999999999999992e81Initial program 97.1%
Simplified0
Applied egg-rr0
Taylor expanded in a around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ (- y z) (- a z)))))
(if (<= z -5e+25)
t_1
(if (<= z 7.8e-120)
(+ x (/ (- t x) (/ (- a z) y)))
(if (<= z 1.15e+77) (+ x (/ (- t x) (/ a (- y z)))) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -5e+25) {
tmp = t_1;
} else if (z <= 7.8e-120) {
tmp = x + ((t - x) / ((a - z) / y));
} else if (z <= 1.15e+77) {
tmp = x + ((t - x) / (a / (y - 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 = t * ((y - z) / (a - z))
if (z <= (-5d+25)) then
tmp = t_1
else if (z <= 7.8d-120) then
tmp = x + ((t - x) / ((a - z) / y))
else if (z <= 1.15d+77) then
tmp = x + ((t - x) / (a / (y - 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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -5e+25) {
tmp = t_1;
} else if (z <= 7.8e-120) {
tmp = x + ((t - x) / ((a - z) / y));
} else if (z <= 1.15e+77) {
tmp = x + ((t - x) / (a / (y - z)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -5e+25: tmp = t_1 elif z <= 7.8e-120: tmp = x + ((t - x) / ((a - z) / y)) elif z <= 1.15e+77: tmp = x + ((t - x) / (a / (y - z))) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -5e+25) tmp = t_1; elseif (z <= 7.8e-120) tmp = Float64(x + Float64(Float64(t - x) / Float64(Float64(a - z) / y))); elseif (z <= 1.15e+77) tmp = Float64(x + Float64(Float64(t - x) / Float64(a / Float64(y - z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -5e+25) tmp = t_1; elseif (z <= 7.8e-120) tmp = x + ((t - x) / ((a - z) / y)); elseif (z <= 1.15e+77) tmp = x + ((t - x) / (a / (y - z))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5e+25], t$95$1, If[LessEqual[z, 7.8e-120], N[(x + N[(N[(t - x), $MachinePrecision] / N[(N[(a - z), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.15e+77], N[(x + N[(N[(t - x), $MachinePrecision] / N[(a / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -5 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 7.8 \cdot 10^{-120}:\\
\;\;\;\;x + \frac{t - x}{\frac{a - z}{y}}\\
\mathbf{elif}\;z \leq 1.15 \cdot 10^{+77}:\\
\;\;\;\;x + \frac{t - x}{\frac{a}{y - z}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -5.00000000000000024e25 or 1.14999999999999997e77 < z Initial program 65.7%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -5.00000000000000024e25 < z < 7.8000000000000003e-120Initial program 93.2%
Simplified0
Applied egg-rr0
Taylor expanded in y around inf 0
Simplified0
if 7.8000000000000003e-120 < z < 1.14999999999999997e77Initial program 96.9%
Simplified0
Applied egg-rr0
Taylor expanded in a around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ (- y z) (- a z)))))
(if (<= z -4.5e+25)
t_1
(if (<= z 7.2e-121)
(+ x (* y (/ (- t x) (- a z))))
(if (<= z 1.8e+77) (+ x (/ (- t x) (/ a (- y z)))) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4.5e+25) {
tmp = t_1;
} else if (z <= 7.2e-121) {
tmp = x + (y * ((t - x) / (a - z)));
} else if (z <= 1.8e+77) {
tmp = x + ((t - x) / (a / (y - 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 = t * ((y - z) / (a - z))
if (z <= (-4.5d+25)) then
tmp = t_1
else if (z <= 7.2d-121) then
tmp = x + (y * ((t - x) / (a - z)))
else if (z <= 1.8d+77) then
tmp = x + ((t - x) / (a / (y - 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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4.5e+25) {
tmp = t_1;
} else if (z <= 7.2e-121) {
tmp = x + (y * ((t - x) / (a - z)));
} else if (z <= 1.8e+77) {
tmp = x + ((t - x) / (a / (y - z)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -4.5e+25: tmp = t_1 elif z <= 7.2e-121: tmp = x + (y * ((t - x) / (a - z))) elif z <= 1.8e+77: tmp = x + ((t - x) / (a / (y - z))) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -4.5e+25) tmp = t_1; elseif (z <= 7.2e-121) tmp = Float64(x + Float64(y * Float64(Float64(t - x) / Float64(a - z)))); elseif (z <= 1.8e+77) tmp = Float64(x + Float64(Float64(t - x) / Float64(a / Float64(y - z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -4.5e+25) tmp = t_1; elseif (z <= 7.2e-121) tmp = x + (y * ((t - x) / (a - z))); elseif (z <= 1.8e+77) tmp = x + ((t - x) / (a / (y - z))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+25], t$95$1, If[LessEqual[z, 7.2e-121], N[(x + N[(y * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.8e+77], N[(x + N[(N[(t - x), $MachinePrecision] / N[(a / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 7.2 \cdot 10^{-121}:\\
\;\;\;\;x + y \cdot \frac{t - x}{a - z}\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{+77}:\\
\;\;\;\;x + \frac{t - x}{\frac{a}{y - z}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -4.5000000000000003e25 or 1.7999999999999999e77 < z Initial program 65.7%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -4.5000000000000003e25 < z < 7.19999999999999967e-121Initial program 93.2%
Taylor expanded in y around inf 0
Simplified0
if 7.19999999999999967e-121 < z < 1.7999999999999999e77Initial program 96.9%
Simplified0
Applied egg-rr0
Taylor expanded in a around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ (- y z) (- a z)))))
(if (<= z -4.5e+25)
t_1
(if (<= z 4.5e-119)
(+ x (* y (/ (- t x) (- a z))))
(if (<= z 2.5e+78) (+ x (* (- t x) (/ (- y z) a))) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4.5e+25) {
tmp = t_1;
} else if (z <= 4.5e-119) {
tmp = x + (y * ((t - x) / (a - z)));
} else if (z <= 2.5e+78) {
tmp = x + ((t - x) * ((y - z) / 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) :: tmp
t_1 = t * ((y - z) / (a - z))
if (z <= (-4.5d+25)) then
tmp = t_1
else if (z <= 4.5d-119) then
tmp = x + (y * ((t - x) / (a - z)))
else if (z <= 2.5d+78) then
tmp = x + ((t - x) * ((y - z) / 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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4.5e+25) {
tmp = t_1;
} else if (z <= 4.5e-119) {
tmp = x + (y * ((t - x) / (a - z)));
} else if (z <= 2.5e+78) {
tmp = x + ((t - x) * ((y - z) / a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -4.5e+25: tmp = t_1 elif z <= 4.5e-119: tmp = x + (y * ((t - x) / (a - z))) elif z <= 2.5e+78: tmp = x + ((t - x) * ((y - z) / a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -4.5e+25) tmp = t_1; elseif (z <= 4.5e-119) tmp = Float64(x + Float64(y * Float64(Float64(t - x) / Float64(a - z)))); elseif (z <= 2.5e+78) tmp = Float64(x + Float64(Float64(t - x) * Float64(Float64(y - z) / a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -4.5e+25) tmp = t_1; elseif (z <= 4.5e-119) tmp = x + (y * ((t - x) / (a - z))); elseif (z <= 2.5e+78) tmp = x + ((t - x) * ((y - z) / a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.5e+25], t$95$1, If[LessEqual[z, 4.5e-119], N[(x + N[(y * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.5e+78], N[(x + N[(N[(t - x), $MachinePrecision] * N[(N[(y - z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -4.5 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 4.5 \cdot 10^{-119}:\\
\;\;\;\;x + y \cdot \frac{t - x}{a - z}\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+78}:\\
\;\;\;\;x + \left(t - x\right) \cdot \frac{y - z}{a}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -4.5000000000000003e25 or 2.49999999999999992e78 < z Initial program 65.7%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -4.5000000000000003e25 < z < 4.5000000000000003e-119Initial program 93.2%
Taylor expanded in y around inf 0
Simplified0
if 4.5000000000000003e-119 < z < 2.49999999999999992e78Initial program 96.9%
Simplified0
Taylor expanded in a around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ (- y z) (- a z)))))
(if (<= z -4e+23)
t_1
(if (<= z -7.2e-90)
(/ (* y (- t x)) (- a z))
(if (<= z 2.8e-29) (+ (/ (- t x) (/ a y)) x) t_1)))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4e+23) {
tmp = t_1;
} else if (z <= -7.2e-90) {
tmp = (y * (t - x)) / (a - z);
} else if (z <= 2.8e-29) {
tmp = ((t - x) / (a / y)) + x;
} 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 = t * ((y - z) / (a - z))
if (z <= (-4d+23)) then
tmp = t_1
else if (z <= (-7.2d-90)) then
tmp = (y * (t - x)) / (a - z)
else if (z <= 2.8d-29) then
tmp = ((t - x) / (a / y)) + x
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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -4e+23) {
tmp = t_1;
} else if (z <= -7.2e-90) {
tmp = (y * (t - x)) / (a - z);
} else if (z <= 2.8e-29) {
tmp = ((t - x) / (a / y)) + x;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -4e+23: tmp = t_1 elif z <= -7.2e-90: tmp = (y * (t - x)) / (a - z) elif z <= 2.8e-29: tmp = ((t - x) / (a / y)) + x else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -4e+23) tmp = t_1; elseif (z <= -7.2e-90) tmp = Float64(Float64(y * Float64(t - x)) / Float64(a - z)); elseif (z <= 2.8e-29) tmp = Float64(Float64(Float64(t - x) / Float64(a / y)) + x); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -4e+23) tmp = t_1; elseif (z <= -7.2e-90) tmp = (y * (t - x)) / (a - z); elseif (z <= 2.8e-29) tmp = ((t - x) / (a / y)) + x; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4e+23], t$95$1, If[LessEqual[z, -7.2e-90], N[(N[(y * N[(t - x), $MachinePrecision]), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.8e-29], N[(N[(N[(t - x), $MachinePrecision] / N[(a / y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -4 \cdot 10^{+23}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -7.2 \cdot 10^{-90}:\\
\;\;\;\;\frac{y \cdot \left(t - x\right)}{a - z}\\
\mathbf{elif}\;z \leq 2.8 \cdot 10^{-29}:\\
\;\;\;\;\frac{t - x}{\frac{a}{y}} + x\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.9999999999999997e23 or 2.8000000000000002e-29 < z Initial program 71.9%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -3.9999999999999997e23 < z < -7.19999999999999961e-90Initial program 82.6%
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -7.19999999999999961e-90 < z < 2.8000000000000002e-29Initial program 97.0%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Applied egg-rr0
(FPCore (x y z t a)
:precision binary64
(if (<= z -1.65e+90)
t
(if (<= z -1.55e-90)
(* (- x t) (/ y z))
(if (<= z 4e+79) (* x (- 1.0 (/ y a))) t))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.65e+90) {
tmp = t;
} else if (z <= -1.55e-90) {
tmp = (x - t) * (y / z);
} else if (z <= 4e+79) {
tmp = x * (1.0 - (y / a));
} else {
tmp = 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 <= (-1.65d+90)) then
tmp = t
else if (z <= (-1.55d-90)) then
tmp = (x - t) * (y / z)
else if (z <= 4d+79) then
tmp = x * (1.0d0 - (y / a))
else
tmp = 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 <= -1.65e+90) {
tmp = t;
} else if (z <= -1.55e-90) {
tmp = (x - t) * (y / z);
} else if (z <= 4e+79) {
tmp = x * (1.0 - (y / a));
} else {
tmp = t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -1.65e+90: tmp = t elif z <= -1.55e-90: tmp = (x - t) * (y / z) elif z <= 4e+79: tmp = x * (1.0 - (y / a)) else: tmp = t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -1.65e+90) tmp = t; elseif (z <= -1.55e-90) tmp = Float64(Float64(x - t) * Float64(y / z)); elseif (z <= 4e+79) tmp = Float64(x * Float64(1.0 - Float64(y / a))); else tmp = t; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -1.65e+90) tmp = t; elseif (z <= -1.55e-90) tmp = (x - t) * (y / z); elseif (z <= 4e+79) tmp = x * (1.0 - (y / a)); else tmp = t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -1.65e+90], t, If[LessEqual[z, -1.55e-90], N[(N[(x - t), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4e+79], N[(x * N[(1.0 - N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.65 \cdot 10^{+90}:\\
\;\;\;\;t\\
\mathbf{elif}\;z \leq -1.55 \cdot 10^{-90}:\\
\;\;\;\;\left(x - t\right) \cdot \frac{y}{z}\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+79}:\\
\;\;\;\;x \cdot \left(1 - \frac{y}{a}\right)\\
\mathbf{else}:\\
\;\;\;\;t\\
\end{array}
\end{array}
if z < -1.65000000000000004e90 or 3.99999999999999987e79 < z Initial program 60.3%
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -1.65000000000000004e90 < z < -1.5500000000000001e-90Initial program 89.3%
Taylor expanded in a around 0 0
Simplified0
Taylor expanded in y around inf 0
Simplified0
if -1.5500000000000001e-90 < z < 3.99999999999999987e79Initial program 96.5%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Taylor expanded in x around inf 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* t (/ (- y z) (- a z)))))
(if (<= z -3.7e+25)
t_1
(if (<= z 1.6e+78) (+ x (* y (/ (- t x) (- a z)))) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -3.7e+25) {
tmp = t_1;
} else if (z <= 1.6e+78) {
tmp = x + (y * ((t - x) / (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 = t * ((y - z) / (a - z))
if (z <= (-3.7d+25)) then
tmp = t_1
else if (z <= 1.6d+78) then
tmp = x + (y * ((t - x) / (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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -3.7e+25) {
tmp = t_1;
} else if (z <= 1.6e+78) {
tmp = x + (y * ((t - x) / (a - z)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -3.7e+25: tmp = t_1 elif z <= 1.6e+78: tmp = x + (y * ((t - x) / (a - z))) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -3.7e+25) tmp = t_1; elseif (z <= 1.6e+78) tmp = Float64(x + Float64(y * Float64(Float64(t - x) / Float64(a - z)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -3.7e+25) tmp = t_1; elseif (z <= 1.6e+78) tmp = x + (y * ((t - x) / (a - z))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.7e+25], t$95$1, If[LessEqual[z, 1.6e+78], N[(x + N[(y * N[(N[(t - x), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -3.7 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.6 \cdot 10^{+78}:\\
\;\;\;\;x + y \cdot \frac{t - x}{a - z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.6999999999999999e25 or 1.59999999999999997e78 < z Initial program 65.7%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -3.6999999999999999e25 < z < 1.59999999999999997e78Initial program 94.4%
Taylor expanded in y around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 (let* ((t_1 (* t (/ (- y z) (- a z))))) (if (<= z -3.7e+25) t_1 (if (<= z 5.4e-28) (+ x (* (- t x) (/ y a))) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = t * ((y - z) / (a - z));
double tmp;
if (z <= -3.7e+25) {
tmp = t_1;
} else if (z <= 5.4e-28) {
tmp = x + ((t - x) * (y / 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) :: tmp
t_1 = t * ((y - z) / (a - z))
if (z <= (-3.7d+25)) then
tmp = t_1
else if (z <= 5.4d-28) then
tmp = x + ((t - x) * (y / 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 = t * ((y - z) / (a - z));
double tmp;
if (z <= -3.7e+25) {
tmp = t_1;
} else if (z <= 5.4e-28) {
tmp = x + ((t - x) * (y / a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = t * ((y - z) / (a - z)) tmp = 0 if z <= -3.7e+25: tmp = t_1 elif z <= 5.4e-28: tmp = x + ((t - x) * (y / a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(t * Float64(Float64(y - z) / Float64(a - z))) tmp = 0.0 if (z <= -3.7e+25) tmp = t_1; elseif (z <= 5.4e-28) tmp = Float64(x + Float64(Float64(t - x) * Float64(y / a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = t * ((y - z) / (a - z)); tmp = 0.0; if (z <= -3.7e+25) tmp = t_1; elseif (z <= 5.4e-28) tmp = x + ((t - x) * (y / a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.7e+25], t$95$1, If[LessEqual[z, 5.4e-28], N[(x + N[(N[(t - x), $MachinePrecision] * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := t \cdot \frac{y - z}{a - z}\\
\mathbf{if}\;z \leq -3.7 \cdot 10^{+25}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 5.4 \cdot 10^{-28}:\\
\;\;\;\;x + \left(t - x\right) \cdot \frac{y}{a}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -3.6999999999999999e25 or 5.3999999999999998e-28 < z Initial program 71.9%
Simplified0
Taylor expanded in x around 0 0
Simplified0
if -3.6999999999999999e25 < z < 5.3999999999999998e-28Initial program 94.3%
Simplified0
Taylor expanded in z around 0 0
Simplified0
(FPCore (x y z t a) :precision binary64 (let* ((t_1 (* x (- 1.0 (/ y (- a z)))))) (if (<= x -9e+30) t_1 (if (<= x 2.3e+100) (* t (/ (- y z) (- a z))) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x * (1.0 - (y / (a - z)));
double tmp;
if (x <= -9e+30) {
tmp = t_1;
} else if (x <= 2.3e+100) {
tmp = t * ((y - z) / (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 * (1.0d0 - (y / (a - z)))
if (x <= (-9d+30)) then
tmp = t_1
else if (x <= 2.3d+100) then
tmp = t * ((y - z) / (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 * (1.0 - (y / (a - z)));
double tmp;
if (x <= -9e+30) {
tmp = t_1;
} else if (x <= 2.3e+100) {
tmp = t * ((y - z) / (a - z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x * (1.0 - (y / (a - z))) tmp = 0 if x <= -9e+30: tmp = t_1 elif x <= 2.3e+100: tmp = t * ((y - z) / (a - z)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(x * Float64(1.0 - Float64(y / Float64(a - z)))) tmp = 0.0 if (x <= -9e+30) tmp = t_1; elseif (x <= 2.3e+100) tmp = Float64(t * Float64(Float64(y - z) / Float64(a - z))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x * (1.0 - (y / (a - z))); tmp = 0.0; if (x <= -9e+30) tmp = t_1; elseif (x <= 2.3e+100) tmp = t * ((y - z) / (a - z)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x * N[(1.0 - N[(y / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -9e+30], t$95$1, If[LessEqual[x, 2.3e+100], N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(1 - \frac{y}{a - z}\right)\\
\mathbf{if}\;x \leq -9 \cdot 10^{+30}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 2.3 \cdot 10^{+100}:\\
\;\;\;\;t \cdot \frac{y - z}{a - z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -8.9999999999999999e30 or 2.2999999999999999e100 < x Initial program 76.9%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in x around inf 0
Simplified0
if -8.9999999999999999e30 < x < 2.2999999999999999e100Initial program 85.7%
Simplified0
Taylor expanded in x around 0 0
Simplified0
(FPCore (x y z t a)
:precision binary64
(let* ((t_1 (* x (- 1.0 (/ y a)))))
(if (<= x -2.6e+37)
t_1
(if (<= x 3.6e+142) (* t (/ (- y z) (- a z))) t_1))))
double code(double x, double y, double z, double t, double a) {
double t_1 = x * (1.0 - (y / a));
double tmp;
if (x <= -2.6e+37) {
tmp = t_1;
} else if (x <= 3.6e+142) {
tmp = t * ((y - z) / (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 * (1.0d0 - (y / a))
if (x <= (-2.6d+37)) then
tmp = t_1
else if (x <= 3.6d+142) then
tmp = t * ((y - z) / (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 * (1.0 - (y / a));
double tmp;
if (x <= -2.6e+37) {
tmp = t_1;
} else if (x <= 3.6e+142) {
tmp = t * ((y - z) / (a - z));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a): t_1 = x * (1.0 - (y / a)) tmp = 0 if x <= -2.6e+37: tmp = t_1 elif x <= 3.6e+142: tmp = t * ((y - z) / (a - z)) else: tmp = t_1 return tmp
function code(x, y, z, t, a) t_1 = Float64(x * Float64(1.0 - Float64(y / a))) tmp = 0.0 if (x <= -2.6e+37) tmp = t_1; elseif (x <= 3.6e+142) tmp = Float64(t * Float64(Float64(y - z) / Float64(a - z))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a) t_1 = x * (1.0 - (y / a)); tmp = 0.0; if (x <= -2.6e+37) tmp = t_1; elseif (x <= 3.6e+142) tmp = t * ((y - z) / (a - z)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(x * N[(1.0 - N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.6e+37], t$95$1, If[LessEqual[x, 3.6e+142], N[(t * N[(N[(y - z), $MachinePrecision] / N[(a - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \left(1 - \frac{y}{a}\right)\\
\mathbf{if}\;x \leq -2.6 \cdot 10^{+37}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 3.6 \cdot 10^{+142}:\\
\;\;\;\;t \cdot \frac{y - z}{a - z}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -2.5999999999999999e37 or 3.6000000000000001e142 < x Initial program 78.5%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Taylor expanded in x around inf 0
Simplified0
if -2.5999999999999999e37 < x < 3.6000000000000001e142Initial program 84.4%
Simplified0
Taylor expanded in x around 0 0
Simplified0
(FPCore (x y z t a) :precision binary64 (if (<= z -6.3e+91) t (if (<= z 6e+80) (+ x (* t (/ y a))) t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -6.3e+91) {
tmp = t;
} else if (z <= 6e+80) {
tmp = x + (t * (y / a));
} else {
tmp = 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 <= (-6.3d+91)) then
tmp = t
else if (z <= 6d+80) then
tmp = x + (t * (y / a))
else
tmp = 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 <= -6.3e+91) {
tmp = t;
} else if (z <= 6e+80) {
tmp = x + (t * (y / a));
} else {
tmp = t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -6.3e+91: tmp = t elif z <= 6e+80: tmp = x + (t * (y / a)) else: tmp = t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -6.3e+91) tmp = t; elseif (z <= 6e+80) tmp = Float64(x + Float64(t * Float64(y / a))); else tmp = t; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -6.3e+91) tmp = t; elseif (z <= 6e+80) tmp = x + (t * (y / a)); else tmp = t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -6.3e+91], t, If[LessEqual[z, 6e+80], N[(x + N[(t * N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6.3 \cdot 10^{+91}:\\
\;\;\;\;t\\
\mathbf{elif}\;z \leq 6 \cdot 10^{+80}:\\
\;\;\;\;x + t \cdot \frac{y}{a}\\
\mathbf{else}:\\
\;\;\;\;t\\
\end{array}
\end{array}
if z < -6.3e91 or 5.99999999999999974e80 < z Initial program 59.9%
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -6.3e91 < z < 5.99999999999999974e80Initial program 95.0%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Taylor expanded in t around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 (if (<= z -1.6e+91) t (if (<= z 1.8e+79) (* x (- 1.0 (/ y a))) t)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (z <= -1.6e+91) {
tmp = t;
} else if (z <= 1.8e+79) {
tmp = x * (1.0 - (y / a));
} else {
tmp = 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 <= (-1.6d+91)) then
tmp = t
else if (z <= 1.8d+79) then
tmp = x * (1.0d0 - (y / a))
else
tmp = 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 <= -1.6e+91) {
tmp = t;
} else if (z <= 1.8e+79) {
tmp = x * (1.0 - (y / a));
} else {
tmp = t;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if z <= -1.6e+91: tmp = t elif z <= 1.8e+79: tmp = x * (1.0 - (y / a)) else: tmp = t return tmp
function code(x, y, z, t, a) tmp = 0.0 if (z <= -1.6e+91) tmp = t; elseif (z <= 1.8e+79) tmp = Float64(x * Float64(1.0 - Float64(y / a))); else tmp = t; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (z <= -1.6e+91) tmp = t; elseif (z <= 1.8e+79) tmp = x * (1.0 - (y / a)); else tmp = t; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[z, -1.6e+91], t, If[LessEqual[z, 1.8e+79], N[(x * N[(1.0 - N[(y / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.6 \cdot 10^{+91}:\\
\;\;\;\;t\\
\mathbf{elif}\;z \leq 1.8 \cdot 10^{+79}:\\
\;\;\;\;x \cdot \left(1 - \frac{y}{a}\right)\\
\mathbf{else}:\\
\;\;\;\;t\\
\end{array}
\end{array}
if z < -1.59999999999999995e91 or 1.8e79 < z Initial program 60.3%
Simplified0
Taylor expanded in z around inf 0
Simplified0
if -1.59999999999999995e91 < z < 1.8e79Initial program 94.9%
Simplified0
Taylor expanded in z around 0 0
Simplified0
Taylor expanded in x around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 (if (<= a -8.6e+43) x (if (<= a -4.1e+24) (* y (/ t a)) (if (<= a 122.0) t x))))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -8.6e+43) {
tmp = x;
} else if (a <= -4.1e+24) {
tmp = y * (t / a);
} else if (a <= 122.0) {
tmp = t;
} 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 <= (-8.6d+43)) then
tmp = x
else if (a <= (-4.1d+24)) then
tmp = y * (t / a)
else if (a <= 122.0d0) then
tmp = t
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 <= -8.6e+43) {
tmp = x;
} else if (a <= -4.1e+24) {
tmp = y * (t / a);
} else if (a <= 122.0) {
tmp = t;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -8.6e+43: tmp = x elif a <= -4.1e+24: tmp = y * (t / a) elif a <= 122.0: tmp = t else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -8.6e+43) tmp = x; elseif (a <= -4.1e+24) tmp = Float64(y * Float64(t / a)); elseif (a <= 122.0) tmp = t; else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -8.6e+43) tmp = x; elseif (a <= -4.1e+24) tmp = y * (t / a); elseif (a <= 122.0) tmp = t; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -8.6e+43], x, If[LessEqual[a, -4.1e+24], N[(y * N[(t / a), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 122.0], t, x]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -8.6 \cdot 10^{+43}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq -4.1 \cdot 10^{+24}:\\
\;\;\;\;y \cdot \frac{t}{a}\\
\mathbf{elif}\;a \leq 122:\\
\;\;\;\;t\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if a < -8.6e43 or 122 < a Initial program 85.2%
Simplified0
Taylor expanded in a around inf 0
Simplified0
if -8.6e43 < a < -4.1000000000000001e24Initial program 99.5%
Taylor expanded in y around inf 0
Simplified0
Taylor expanded in x around 0 0
Simplified0
Taylor expanded in a around inf 0
Simplified0
if -4.1000000000000001e24 < a < 122Initial program 78.5%
Simplified0
Taylor expanded in z around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 (if (<= a -1.45e+54) x (if (<= a 380.0) t x)))
double code(double x, double y, double z, double t, double a) {
double tmp;
if (a <= -1.45e+54) {
tmp = x;
} else if (a <= 380.0) {
tmp = t;
} 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 <= (-1.45d+54)) then
tmp = x
else if (a <= 380.0d0) then
tmp = t
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 <= -1.45e+54) {
tmp = x;
} else if (a <= 380.0) {
tmp = t;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a): tmp = 0 if a <= -1.45e+54: tmp = x elif a <= 380.0: tmp = t else: tmp = x return tmp
function code(x, y, z, t, a) tmp = 0.0 if (a <= -1.45e+54) tmp = x; elseif (a <= 380.0) tmp = t; else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a) tmp = 0.0; if (a <= -1.45e+54) tmp = x; elseif (a <= 380.0) tmp = t; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_] := If[LessEqual[a, -1.45e+54], x, If[LessEqual[a, 380.0], t, x]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.45 \cdot 10^{+54}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 380:\\
\;\;\;\;t\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if a < -1.4499999999999999e54 or 380 < a Initial program 85.5%
Simplified0
Taylor expanded in a around inf 0
Simplified0
if -1.4499999999999999e54 < a < 380Initial program 79.3%
Simplified0
Taylor expanded in z around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 t)
double code(double x, double y, double z, double t, double a) {
return 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 = t
end function
public static double code(double x, double y, double z, double t, double a) {
return t;
}
def code(x, y, z, t, a): return t
function code(x, y, z, t, a) return t end
function tmp = code(x, y, z, t, a) tmp = t; end
code[x_, y_, z_, t_, a_] := t
\begin{array}{l}
\\
t
\end{array}
Initial program 82.2%
Simplified0
Taylor expanded in z around inf 0
Simplified0
(FPCore (x y z t a) :precision binary64 0.0)
double code(double x, double y, double z, double t, double a) {
return 0.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 = 0.0d0
end function
public static double code(double x, double y, double z, double t, double a) {
return 0.0;
}
def code(x, y, z, t, a): return 0.0
function code(x, y, z, t, a) return 0.0 end
function tmp = code(x, y, z, t, a) tmp = 0.0; end
code[x_, y_, z_, t_, a_] := 0.0
\begin{array}{l}
\\
0
\end{array}
Initial program 82.2%
Simplified0
Taylor expanded in t around 0 0
Simplified0
Taylor expanded in z around inf 0
Simplified0
herbie shell --seed 2024110
(FPCore (x y z t a)
:name "Numeric.Signal:interpolate from hsignal-0.2.7.1"
:precision binary64
(+ x (* (- y z) (/ (- t x) (- a z)))))