
(FPCore (x y z t) :precision binary64 (* (- (* x y) (* z y)) t))
double code(double x, double y, double z, double t) {
return ((x * y) - (z * y)) * t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = ((x * y) - (z * y)) * t
end function
public static double code(double x, double y, double z, double t) {
return ((x * y) - (z * y)) * t;
}
def code(x, y, z, t): return ((x * y) - (z * y)) * t
function code(x, y, z, t) return Float64(Float64(Float64(x * y) - Float64(z * y)) * t) end
function tmp = code(x, y, z, t) tmp = ((x * y) - (z * y)) * t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * y), $MachinePrecision] - N[(z * y), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y - z \cdot y\right) \cdot t
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 6 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (* (- (* x y) (* z y)) t))
double code(double x, double y, double z, double t) {
return ((x * y) - (z * y)) * t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = ((x * y) - (z * y)) * t
end function
public static double code(double x, double y, double z, double t) {
return ((x * y) - (z * y)) * t;
}
def code(x, y, z, t): return ((x * y) - (z * y)) * t
function code(x, y, z, t) return Float64(Float64(Float64(x * y) - Float64(z * y)) * t) end
function tmp = code(x, y, z, t) tmp = ((x * y) - (z * y)) * t; end
code[x_, y_, z_, t_] := N[(N[(N[(x * y), $MachinePrecision] - N[(z * y), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot y - z \cdot y\right) \cdot t
\end{array}
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= t 5e-34) (* y (* t (- x z))) (* (- x z) (* t y))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (t <= 5e-34) {
tmp = y * (t * (x - z));
} else {
tmp = (x - z) * (t * y);
}
return tmp;
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (t <= 5d-34) then
tmp = y * (t * (x - z))
else
tmp = (x - z) * (t * y)
end if
code = tmp
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
double tmp;
if (t <= 5e-34) {
tmp = y * (t * (x - z));
} else {
tmp = (x - z) * (t * y);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if t <= 5e-34: tmp = y * (t * (x - z)) else: tmp = (x - z) * (t * y) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (t <= 5e-34) tmp = Float64(y * Float64(t * Float64(x - z))); else tmp = Float64(Float64(x - z) * Float64(t * y)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (t <= 5e-34)
tmp = y * (t * (x - z));
else
tmp = (x - z) * (t * y);
end
tmp_2 = tmp;
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := If[LessEqual[t, 5e-34], N[(y * N[(t * N[(x - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x - z), $MachinePrecision] * N[(t * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;t \leq 5 \cdot 10^{-34}:\\
\;\;\;\;y \cdot \left(t \cdot \left(x - z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x - z\right) \cdot \left(t \cdot y\right)\\
\end{array}
\end{array}
if t < 5.0000000000000003e-34Initial program 92.9%
distribute-rgt-out--92.9%
associate-*l*93.1%
*-commutative93.1%
Simplified93.1%
if 5.0000000000000003e-34 < t Initial program 95.0%
*-commutative95.0%
distribute-rgt-out--97.7%
associate-*r*94.8%
*-commutative94.8%
Simplified94.8%
Final simplification93.6%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= x -3.8e+49) (* x (* t y)) (if (<= x 340.0) (* t (* y (- z))) (* t (* y x)))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (x <= -3.8e+49) {
tmp = x * (t * y);
} else if (x <= 340.0) {
tmp = t * (y * -z);
} else {
tmp = t * (y * x);
}
return tmp;
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (x <= (-3.8d+49)) then
tmp = x * (t * y)
else if (x <= 340.0d0) then
tmp = t * (y * -z)
else
tmp = t * (y * x)
end if
code = tmp
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= -3.8e+49) {
tmp = x * (t * y);
} else if (x <= 340.0) {
tmp = t * (y * -z);
} else {
tmp = t * (y * x);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if x <= -3.8e+49: tmp = x * (t * y) elif x <= 340.0: tmp = t * (y * -z) else: tmp = t * (y * x) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (x <= -3.8e+49) tmp = Float64(x * Float64(t * y)); elseif (x <= 340.0) tmp = Float64(t * Float64(y * Float64(-z))); else tmp = Float64(t * Float64(y * x)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (x <= -3.8e+49)
tmp = x * (t * y);
elseif (x <= 340.0)
tmp = t * (y * -z);
else
tmp = t * (y * x);
end
tmp_2 = tmp;
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := If[LessEqual[x, -3.8e+49], N[(x * N[(t * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 340.0], N[(t * N[(y * (-z)), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.8 \cdot 10^{+49}:\\
\;\;\;\;x \cdot \left(t \cdot y\right)\\
\mathbf{elif}\;x \leq 340:\\
\;\;\;\;t \cdot \left(y \cdot \left(-z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot x\right)\\
\end{array}
\end{array}
if x < -3.7999999999999999e49Initial program 89.9%
distribute-rgt-out--92.0%
associate-*l*84.1%
*-commutative84.1%
Simplified84.1%
Taylor expanded in x around inf 89.9%
associate-*r*80.1%
*-commutative80.1%
Simplified80.1%
associate-*r*91.8%
*-commutative91.8%
remove-double-div91.8%
div-inv91.8%
add-cube-cbrt90.6%
associate-/l*90.6%
cbrt-unprod79.6%
pow279.6%
Applied egg-rr79.6%
expm1-log1p-u37.0%
expm1-udef33.3%
associate-/r/33.3%
associate-*l/33.3%
cbrt-prod29.4%
unpow229.4%
add-cbrt-cube38.0%
Applied egg-rr38.0%
expm1-def48.4%
expm1-log1p91.8%
associate-/r/91.8%
/-rgt-identity91.8%
*-commutative91.8%
Simplified91.8%
if -3.7999999999999999e49 < x < 340Initial program 94.5%
distribute-rgt-out--94.5%
associate-*l*93.3%
*-commutative93.3%
Simplified93.3%
Taylor expanded in x around 0 79.8%
mul-1-neg79.8%
distribute-rgt-neg-in79.8%
*-commutative79.8%
distribute-lft-neg-out79.8%
*-commutative79.8%
Simplified79.8%
if 340 < x Initial program 94.1%
distribute-rgt-out--96.0%
associate-*l*90.6%
*-commutative90.6%
Simplified90.6%
Taylor expanded in x around inf 86.3%
*-commutative86.3%
Simplified86.3%
Final simplification83.3%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= x -3.3e+50) (* x (* t y)) (if (<= x 130.0) (* y (* z (- t))) (* t (* y x)))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (x <= -3.3e+50) {
tmp = x * (t * y);
} else if (x <= 130.0) {
tmp = y * (z * -t);
} else {
tmp = t * (y * x);
}
return tmp;
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (x <= (-3.3d+50)) then
tmp = x * (t * y)
else if (x <= 130.0d0) then
tmp = y * (z * -t)
else
tmp = t * (y * x)
end if
code = tmp
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= -3.3e+50) {
tmp = x * (t * y);
} else if (x <= 130.0) {
tmp = y * (z * -t);
} else {
tmp = t * (y * x);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if x <= -3.3e+50: tmp = x * (t * y) elif x <= 130.0: tmp = y * (z * -t) else: tmp = t * (y * x) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (x <= -3.3e+50) tmp = Float64(x * Float64(t * y)); elseif (x <= 130.0) tmp = Float64(y * Float64(z * Float64(-t))); else tmp = Float64(t * Float64(y * x)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (x <= -3.3e+50)
tmp = x * (t * y);
elseif (x <= 130.0)
tmp = y * (z * -t);
else
tmp = t * (y * x);
end
tmp_2 = tmp;
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := If[LessEqual[x, -3.3e+50], N[(x * N[(t * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 130.0], N[(y * N[(z * (-t)), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;x \leq -3.3 \cdot 10^{+50}:\\
\;\;\;\;x \cdot \left(t \cdot y\right)\\
\mathbf{elif}\;x \leq 130:\\
\;\;\;\;y \cdot \left(z \cdot \left(-t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot x\right)\\
\end{array}
\end{array}
if x < -3.3e50Initial program 89.9%
distribute-rgt-out--92.0%
associate-*l*84.1%
*-commutative84.1%
Simplified84.1%
Taylor expanded in x around inf 89.9%
associate-*r*80.1%
*-commutative80.1%
Simplified80.1%
associate-*r*91.8%
*-commutative91.8%
remove-double-div91.8%
div-inv91.8%
add-cube-cbrt90.6%
associate-/l*90.6%
cbrt-unprod79.6%
pow279.6%
Applied egg-rr79.6%
expm1-log1p-u37.0%
expm1-udef33.3%
associate-/r/33.3%
associate-*l/33.3%
cbrt-prod29.4%
unpow229.4%
add-cbrt-cube38.0%
Applied egg-rr38.0%
expm1-def48.4%
expm1-log1p91.8%
associate-/r/91.8%
/-rgt-identity91.8%
*-commutative91.8%
Simplified91.8%
if -3.3e50 < x < 130Initial program 94.5%
distribute-rgt-out--94.5%
associate-*l*93.3%
*-commutative93.3%
Simplified93.3%
Taylor expanded in x around 0 79.8%
mul-1-neg79.8%
associate-*r*77.4%
*-commutative77.4%
distribute-rgt-neg-out77.4%
associate-*l*80.0%
Simplified80.0%
if 130 < x Initial program 94.1%
distribute-rgt-out--96.0%
associate-*l*90.6%
*-commutative90.6%
Simplified90.6%
Taylor expanded in x around inf 86.3%
*-commutative86.3%
Simplified86.3%
Final simplification83.5%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= z 1.55e+211) (* y (* t (- x z))) (* t (* y (- z)))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.55e+211) {
tmp = y * (t * (x - z));
} else {
tmp = t * (y * -z);
}
return tmp;
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (z <= 1.55d+211) then
tmp = y * (t * (x - z))
else
tmp = t * (y * -z)
end if
code = tmp
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.55e+211) {
tmp = y * (t * (x - z));
} else {
tmp = t * (y * -z);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if z <= 1.55e+211: tmp = y * (t * (x - z)) else: tmp = t * (y * -z) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (z <= 1.55e+211) tmp = Float64(y * Float64(t * Float64(x - z))); else tmp = Float64(t * Float64(y * Float64(-z))); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (z <= 1.55e+211)
tmp = y * (t * (x - z));
else
tmp = t * (y * -z);
end
tmp_2 = tmp;
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := If[LessEqual[z, 1.55e+211], N[(y * N[(t * N[(x - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * (-z)), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.55 \cdot 10^{+211}:\\
\;\;\;\;y \cdot \left(t \cdot \left(x - z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot \left(-z\right)\right)\\
\end{array}
\end{array}
if z < 1.5500000000000001e211Initial program 94.6%
distribute-rgt-out--95.1%
associate-*l*91.5%
*-commutative91.5%
Simplified91.5%
if 1.5500000000000001e211 < z Initial program 79.6%
distribute-rgt-out--84.8%
associate-*l*85.6%
*-commutative85.6%
Simplified85.6%
Taylor expanded in x around 0 84.8%
mul-1-neg84.8%
distribute-rgt-neg-in84.8%
*-commutative84.8%
distribute-lft-neg-out84.8%
*-commutative84.8%
Simplified84.8%
Final simplification91.0%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= x 4e-48) (* x (* t y)) (* t (* y x))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (x <= 4e-48) {
tmp = x * (t * y);
} else {
tmp = t * (y * x);
}
return tmp;
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (x <= 4d-48) then
tmp = x * (t * y)
else
tmp = t * (y * x)
end if
code = tmp
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= 4e-48) {
tmp = x * (t * y);
} else {
tmp = t * (y * x);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if x <= 4e-48: tmp = x * (t * y) else: tmp = t * (y * x) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (x <= 4e-48) tmp = Float64(x * Float64(t * y)); else tmp = Float64(t * Float64(y * x)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (x <= 4e-48)
tmp = x * (t * y);
else
tmp = t * (y * x);
end
tmp_2 = tmp;
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := If[LessEqual[x, 4e-48], N[(x * N[(t * y), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;x \leq 4 \cdot 10^{-48}:\\
\;\;\;\;x \cdot \left(t \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot x\right)\\
\end{array}
\end{array}
if x < 3.9999999999999999e-48Initial program 93.5%
distribute-rgt-out--94.0%
associate-*l*90.7%
*-commutative90.7%
Simplified90.7%
Taylor expanded in x around inf 47.2%
associate-*r*43.6%
*-commutative43.6%
Simplified43.6%
associate-*r*49.0%
*-commutative49.0%
remove-double-div49.0%
div-inv48.9%
add-cube-cbrt48.5%
associate-/l*48.5%
cbrt-unprod44.8%
pow244.8%
Applied egg-rr44.8%
expm1-log1p-u30.3%
expm1-udef25.5%
associate-/r/25.5%
associate-*l/25.5%
cbrt-prod24.5%
unpow224.5%
add-cbrt-cube25.1%
Applied egg-rr25.1%
expm1-def33.3%
expm1-log1p48.9%
associate-/r/49.0%
/-rgt-identity49.0%
*-commutative49.0%
Simplified49.0%
if 3.9999999999999999e-48 < x Initial program 93.5%
distribute-rgt-out--95.1%
associate-*l*92.2%
*-commutative92.2%
Simplified92.2%
Taylor expanded in x around inf 77.7%
*-commutative77.7%
Simplified77.7%
Final simplification55.9%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (* t (* y x)))
assert(y < t);
double code(double x, double y, double z, double t) {
return t * (y * x);
}
NOTE: y and t should be sorted in increasing order before calling this function.
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = t * (y * x)
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
return t * (y * x);
}
[y, t] = sort([y, t]) def code(x, y, z, t): return t * (y * x)
y, t = sort([y, t]) function code(x, y, z, t) return Float64(t * Float64(y * x)) end
y, t = num2cell(sort([y, t])){:}
function tmp = code(x, y, z, t)
tmp = t * (y * x);
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
t \cdot \left(y \cdot x\right)
\end{array}
Initial program 93.5%
distribute-rgt-out--94.3%
associate-*l*91.0%
*-commutative91.0%
Simplified91.0%
Taylor expanded in x around inf 54.6%
*-commutative54.6%
Simplified54.6%
Final simplification54.6%
(FPCore (x y z t) :precision binary64 (if (< t -9.231879582886777e-80) (* (* y t) (- x z)) (if (< t 2.543067051564877e+83) (* y (* t (- x z))) (* (* y (- x z)) t))))
double code(double x, double y, double z, double t) {
double tmp;
if (t < -9.231879582886777e-80) {
tmp = (y * t) * (x - z);
} else if (t < 2.543067051564877e+83) {
tmp = y * (t * (x - z));
} else {
tmp = (y * (x - z)) * t;
}
return tmp;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8) :: tmp
if (t < (-9.231879582886777d-80)) then
tmp = (y * t) * (x - z)
else if (t < 2.543067051564877d+83) then
tmp = y * (t * (x - z))
else
tmp = (y * (x - z)) * t
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (t < -9.231879582886777e-80) {
tmp = (y * t) * (x - z);
} else if (t < 2.543067051564877e+83) {
tmp = y * (t * (x - z));
} else {
tmp = (y * (x - z)) * t;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if t < -9.231879582886777e-80: tmp = (y * t) * (x - z) elif t < 2.543067051564877e+83: tmp = y * (t * (x - z)) else: tmp = (y * (x - z)) * t return tmp
function code(x, y, z, t) tmp = 0.0 if (t < -9.231879582886777e-80) tmp = Float64(Float64(y * t) * Float64(x - z)); elseif (t < 2.543067051564877e+83) tmp = Float64(y * Float64(t * Float64(x - z))); else tmp = Float64(Float64(y * Float64(x - z)) * t); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (t < -9.231879582886777e-80) tmp = (y * t) * (x - z); elseif (t < 2.543067051564877e+83) tmp = y * (t * (x - z)); else tmp = (y * (x - z)) * t; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Less[t, -9.231879582886777e-80], N[(N[(y * t), $MachinePrecision] * N[(x - z), $MachinePrecision]), $MachinePrecision], If[Less[t, 2.543067051564877e+83], N[(y * N[(t * N[(x - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(x - z), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t < -9.231879582886777 \cdot 10^{-80}:\\
\;\;\;\;\left(y \cdot t\right) \cdot \left(x - z\right)\\
\mathbf{elif}\;t < 2.543067051564877 \cdot 10^{+83}:\\
\;\;\;\;y \cdot \left(t \cdot \left(x - z\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y \cdot \left(x - z\right)\right) \cdot t\\
\end{array}
\end{array}
herbie shell --seed 2023298
(FPCore (x y z t)
:name "Linear.Projection:inverseInfinitePerspective from linear-1.19.1.3"
:precision binary64
:herbie-target
(if (< t -9.231879582886777e-80) (* (* y t) (- x z)) (if (< t 2.543067051564877e+83) (* y (* t (- x z))) (* (* y (- x z)) t)))
(* (- (* x y) (* z y)) t))