
(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 7 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 (<= y -2.8e+42) (* y (* (- x z) t)) (* t (* y (- x z)))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (y <= -2.8e+42) {
tmp = y * ((x - z) * t);
} else {
tmp = t * (y * (x - 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 (y <= (-2.8d+42)) then
tmp = y * ((x - z) * t)
else
tmp = t * (y * (x - 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 (y <= -2.8e+42) {
tmp = y * ((x - z) * t);
} else {
tmp = t * (y * (x - z));
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if y <= -2.8e+42: tmp = y * ((x - z) * t) else: tmp = t * (y * (x - z)) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (y <= -2.8e+42) tmp = Float64(y * Float64(Float64(x - z) * t)); else tmp = Float64(t * Float64(y * Float64(x - z))); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (y <= -2.8e+42)
tmp = y * ((x - z) * t);
else
tmp = t * (y * (x - 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[y, -2.8e+42], N[(y * N[(N[(x - z), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * N[(x - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.8 \cdot 10^{+42}:\\
\;\;\;\;y \cdot \left(\left(x - z\right) \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot \left(x - z\right)\right)\\
\end{array}
\end{array}
if y < -2.7999999999999999e42Initial program 73.8%
distribute-rgt-out--77.4%
associate-*l*99.8%
Simplified99.8%
if -2.7999999999999999e42 < y Initial program 93.5%
distribute-rgt-out--94.0%
Simplified94.0%
Final simplification95.3%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= x -5.4e+27) (* t (* y x)) (if (<= x 2.8e+45) (* y (* z (- t))) (* x (* y t)))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (x <= -5.4e+27) {
tmp = t * (y * x);
} else if (x <= 2.8e+45) {
tmp = y * (z * -t);
} else {
tmp = x * (y * t);
}
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 <= (-5.4d+27)) then
tmp = t * (y * x)
else if (x <= 2.8d+45) then
tmp = y * (z * -t)
else
tmp = x * (y * t)
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 <= -5.4e+27) {
tmp = t * (y * x);
} else if (x <= 2.8e+45) {
tmp = y * (z * -t);
} else {
tmp = x * (y * t);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if x <= -5.4e+27: tmp = t * (y * x) elif x <= 2.8e+45: tmp = y * (z * -t) else: tmp = x * (y * t) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (x <= -5.4e+27) tmp = Float64(t * Float64(y * x)); elseif (x <= 2.8e+45) tmp = Float64(y * Float64(z * Float64(-t))); else tmp = Float64(x * Float64(y * t)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (x <= -5.4e+27)
tmp = t * (y * x);
elseif (x <= 2.8e+45)
tmp = y * (z * -t);
else
tmp = x * (y * t);
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, -5.4e+27], N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 2.8e+45], N[(y * N[(z * (-t)), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;x \leq -5.4 \cdot 10^{+27}:\\
\;\;\;\;t \cdot \left(y \cdot x\right)\\
\mathbf{elif}\;x \leq 2.8 \cdot 10^{+45}:\\
\;\;\;\;y \cdot \left(z \cdot \left(-t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot t\right)\\
\end{array}
\end{array}
if x < -5.3999999999999995e27Initial program 89.9%
distribute-rgt-out--93.4%
Simplified93.4%
Taylor expanded in x around inf 82.8%
if -5.3999999999999995e27 < x < 2.7999999999999999e45Initial program 93.1%
distribute-rgt-out--93.1%
associate-*l*91.9%
Simplified91.9%
Taylor expanded in x around 0 73.1%
associate-*r*73.1%
neg-mul-173.1%
Simplified73.1%
if 2.7999999999999999e45 < x Initial program 78.2%
distribute-rgt-out--80.1%
associate-*l*93.2%
Simplified93.2%
*-commutative93.2%
flip--51.1%
associate-*r/51.1%
Applied egg-rr51.1%
associate-/l*51.0%
difference-of-squares56.4%
associate-/r*93.0%
*-inverses93.0%
Simplified93.0%
clear-num92.8%
un-div-inv92.9%
clear-num92.9%
associate-/r/93.0%
/-rgt-identity93.0%
Applied egg-rr93.0%
Taylor expanded in x around inf 81.8%
*-commutative81.8%
associate-/r*81.7%
Simplified81.7%
associate-/r/70.3%
div-inv70.2%
clear-num70.4%
/-rgt-identity70.4%
*-commutative70.4%
associate-*r*82.8%
*-commutative82.8%
Applied egg-rr82.8%
Final simplification77.5%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= t 4.7e+36) (* y (* (- x z) t)) (* (- x z) (* y t))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (t <= 4.7e+36) {
tmp = y * ((x - z) * t);
} else {
tmp = (x - z) * (y * t);
}
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 <= 4.7d+36) then
tmp = y * ((x - z) * t)
else
tmp = (x - z) * (y * t)
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 <= 4.7e+36) {
tmp = y * ((x - z) * t);
} else {
tmp = (x - z) * (y * t);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if t <= 4.7e+36: tmp = y * ((x - z) * t) else: tmp = (x - z) * (y * t) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (t <= 4.7e+36) tmp = Float64(y * Float64(Float64(x - z) * t)); else tmp = Float64(Float64(x - z) * Float64(y * t)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (t <= 4.7e+36)
tmp = y * ((x - z) * t);
else
tmp = (x - z) * (y * t);
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, 4.7e+36], N[(y * N[(N[(x - z), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision], N[(N[(x - z), $MachinePrecision] * N[(y * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;t \leq 4.7 \cdot 10^{+36}:\\
\;\;\;\;y \cdot \left(\left(x - z\right) \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x - z\right) \cdot \left(y \cdot t\right)\\
\end{array}
\end{array}
if t < 4.69999999999999989e36Initial program 88.2%
distribute-rgt-out--88.8%
associate-*l*93.1%
Simplified93.1%
if 4.69999999999999989e36 < t Initial program 91.7%
distribute-rgt-out--95.1%
associate-*l*87.1%
Simplified87.1%
add-cube-cbrt86.4%
pow386.4%
Applied egg-rr86.4%
rem-cube-cbrt87.1%
*-commutative87.1%
associate-*r*93.5%
Applied egg-rr93.5%
Final simplification93.2%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= t 500.0) (* y (* x t)) (* x (* y t))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (t <= 500.0) {
tmp = y * (x * t);
} else {
tmp = x * (y * t);
}
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 <= 500.0d0) then
tmp = y * (x * t)
else
tmp = x * (y * t)
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 <= 500.0) {
tmp = y * (x * t);
} else {
tmp = x * (y * t);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if t <= 500.0: tmp = y * (x * t) else: tmp = x * (y * t) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (t <= 500.0) tmp = Float64(y * Float64(x * t)); else tmp = Float64(x * Float64(y * t)); end return tmp end
y, t = num2cell(sort([y, t])){:}
function tmp_2 = code(x, y, z, t)
tmp = 0.0;
if (t <= 500.0)
tmp = y * (x * t);
else
tmp = x * (y * t);
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, 500.0], N[(y * N[(x * t), $MachinePrecision]), $MachinePrecision], N[(x * N[(y * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;t \leq 500:\\
\;\;\;\;y \cdot \left(x \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(y \cdot t\right)\\
\end{array}
\end{array}
if t < 500Initial program 87.7%
distribute-rgt-out--88.3%
associate-*l*92.8%
Simplified92.8%
Taylor expanded in x around inf 57.4%
if 500 < t Initial program 92.8%
distribute-rgt-out--95.8%
associate-*l*88.8%
Simplified88.8%
*-commutative88.8%
flip--68.3%
associate-*r/65.4%
Applied egg-rr65.4%
associate-/l*68.3%
difference-of-squares69.9%
associate-/r*88.7%
*-inverses88.7%
Simplified88.7%
clear-num88.6%
un-div-inv88.7%
clear-num88.7%
associate-/r/88.8%
/-rgt-identity88.8%
Applied egg-rr88.8%
Taylor expanded in x around inf 50.0%
*-commutative50.0%
associate-/r*49.9%
Simplified49.9%
associate-/r/53.2%
div-inv53.1%
clear-num53.2%
/-rgt-identity53.2%
*-commutative53.2%
associate-*r*55.4%
*-commutative55.4%
Applied egg-rr55.4%
Final simplification56.8%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (if (<= y -1.9e-32) (* x (* y t)) (* t (* y x))))
assert(y < t);
double code(double x, double y, double z, double t) {
double tmp;
if (y <= -1.9e-32) {
tmp = x * (y * 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 (y <= (-1.9d-32)) then
tmp = x * (y * 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 (y <= -1.9e-32) {
tmp = x * (y * t);
} else {
tmp = t * (y * x);
}
return tmp;
}
[y, t] = sort([y, t]) def code(x, y, z, t): tmp = 0 if y <= -1.9e-32: tmp = x * (y * t) else: tmp = t * (y * x) return tmp
y, t = sort([y, t]) function code(x, y, z, t) tmp = 0.0 if (y <= -1.9e-32) tmp = Float64(x * Float64(y * 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 (y <= -1.9e-32)
tmp = x * (y * 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[y, -1.9e-32], N[(x * N[(y * t), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.9 \cdot 10^{-32}:\\
\;\;\;\;x \cdot \left(y \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot x\right)\\
\end{array}
\end{array}
if y < -1.90000000000000004e-32Initial program 77.6%
distribute-rgt-out--80.7%
associate-*l*99.7%
Simplified99.7%
*-commutative99.7%
flip--76.4%
associate-*r/74.9%
Applied egg-rr74.9%
associate-/l*76.2%
difference-of-squares76.4%
associate-/r*99.6%
*-inverses99.6%
Simplified99.6%
clear-num99.6%
un-div-inv99.7%
clear-num99.7%
associate-/r/99.7%
/-rgt-identity99.7%
Applied egg-rr99.7%
Taylor expanded in x around inf 54.3%
*-commutative54.3%
associate-/r*54.4%
Simplified54.4%
associate-/r/44.6%
div-inv44.6%
clear-num44.6%
/-rgt-identity44.6%
*-commutative44.6%
associate-*r*58.3%
*-commutative58.3%
Applied egg-rr58.3%
if -1.90000000000000004e-32 < y Initial program 93.2%
distribute-rgt-out--93.7%
Simplified93.7%
Taylor expanded in x around inf 55.4%
Final simplification56.1%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (* y (* (- x z) t)))
assert(y < t);
double code(double x, double y, double z, double t) {
return y * ((x - z) * t);
}
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 = y * ((x - z) * t)
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
return y * ((x - z) * t);
}
[y, t] = sort([y, t]) def code(x, y, z, t): return y * ((x - z) * t)
y, t = sort([y, t]) function code(x, y, z, t) return Float64(y * Float64(Float64(x - z) * t)) end
y, t = num2cell(sort([y, t])){:}
function tmp = code(x, y, z, t)
tmp = y * ((x - z) * t);
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := N[(y * N[(N[(x - z), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
y \cdot \left(\left(x - z\right) \cdot t\right)
\end{array}
Initial program 89.0%
distribute-rgt-out--90.3%
associate-*l*91.8%
Simplified91.8%
Final simplification91.8%
NOTE: y and t should be sorted in increasing order before calling this function. (FPCore (x y z t) :precision binary64 (* y (* x t)))
assert(y < t);
double code(double x, double y, double z, double t) {
return y * (x * t);
}
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 = y * (x * t)
end function
assert y < t;
public static double code(double x, double y, double z, double t) {
return y * (x * t);
}
[y, t] = sort([y, t]) def code(x, y, z, t): return y * (x * t)
y, t = sort([y, t]) function code(x, y, z, t) return Float64(y * Float64(x * t)) end
y, t = num2cell(sort([y, t])){:}
function tmp = code(x, y, z, t)
tmp = y * (x * t);
end
NOTE: y and t should be sorted in increasing order before calling this function. code[x_, y_, z_, t_] := N[(y * N[(x * t), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
[y, t] = \mathsf{sort}([y, t])\\
\\
y \cdot \left(x \cdot t\right)
\end{array}
Initial program 89.0%
distribute-rgt-out--90.3%
associate-*l*91.8%
Simplified91.8%
Taylor expanded in x around inf 55.4%
Final simplification55.4%
(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 2023195
(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))