
(FPCore (x y z t) :precision binary64 (- (* x x) (* (* y 4.0) (- (* z z) t))))
double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - 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 * x) - ((y * 4.0d0) * ((z * z) - t))
end function
public static double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - t));
}
def code(x, y, z, t): return (x * x) - ((y * 4.0) * ((z * z) - t))
function code(x, y, z, t) return Float64(Float64(x * x) - Float64(Float64(y * 4.0) * Float64(Float64(z * z) - t))) end
function tmp = code(x, y, z, t) tmp = (x * x) - ((y * 4.0) * ((z * z) - t)); end
code[x_, y_, z_, t_] := N[(N[(x * x), $MachinePrecision] - N[(N[(y * 4.0), $MachinePrecision] * N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 7 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (- (* x x) (* (* y 4.0) (- (* z z) t))))
double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - 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 * x) - ((y * 4.0d0) * ((z * z) - t))
end function
public static double code(double x, double y, double z, double t) {
return (x * x) - ((y * 4.0) * ((z * z) - t));
}
def code(x, y, z, t): return (x * x) - ((y * 4.0) * ((z * z) - t))
function code(x, y, z, t) return Float64(Float64(x * x) - Float64(Float64(y * 4.0) * Float64(Float64(z * z) - t))) end
function tmp = code(x, y, z, t) tmp = (x * x) - ((y * 4.0) * ((z * z) - t)); end
code[x_, y_, z_, t_] := N[(N[(x * x), $MachinePrecision] - N[(N[(y * 4.0), $MachinePrecision] * N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\end{array}
(FPCore (x y z t) :precision binary64 (if (<= (* z z) 5e+267) (fma x x (* (- (* z z) t) (* y -4.0))) (/ z (/ (/ 1.0 y) (* z -4.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 5e+267) {
tmp = fma(x, x, (((z * z) - t) * (y * -4.0)));
} else {
tmp = z / ((1.0 / y) / (z * -4.0));
}
return tmp;
}
function code(x, y, z, t) tmp = 0.0 if (Float64(z * z) <= 5e+267) tmp = fma(x, x, Float64(Float64(Float64(z * z) - t) * Float64(y * -4.0))); else tmp = Float64(z / Float64(Float64(1.0 / y) / Float64(z * -4.0))); end return tmp end
code[x_, y_, z_, t_] := If[LessEqual[N[(z * z), $MachinePrecision], 5e+267], N[(x * x + N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z / N[(N[(1.0 / y), $MachinePrecision] / N[(z * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \cdot z \leq 5 \cdot 10^{+267}:\\
\;\;\;\;\mathsf{fma}\left(x, x, \left(z \cdot z - t\right) \cdot \left(y \cdot -4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{z}{\frac{\frac{1}{y}}{z \cdot -4}}\\
\end{array}
\end{array}
if (*.f64 z z) < 4.9999999999999999e267Initial program 98.8%
associate-*l*98.8%
sqr-neg98.8%
associate-*l*98.8%
fma-neg99.4%
*-commutative99.4%
sqr-neg99.4%
distribute-rgt-neg-in99.4%
distribute-rgt-neg-in99.4%
metadata-eval99.4%
Simplified99.4%
if 4.9999999999999999e267 < (*.f64 z z) Initial program 69.5%
Taylor expanded in z around inf 72.1%
associate-*r*72.1%
*-commutative72.1%
unpow272.1%
associate-*r*72.1%
associate-*r*72.1%
*-commutative72.1%
*-commutative72.1%
Simplified72.1%
/-rgt-identity72.1%
associate-*r*72.1%
*-commutative72.1%
remove-double-div72.1%
un-div-inv72.1%
times-frac72.1%
metadata-eval72.1%
distribute-rgt-neg-in72.1%
div-inv72.1%
distribute-neg-frac72.1%
neg-sub072.1%
associate-/r*73.7%
associate-/r/88.6%
cancel-sign-sub-inv88.6%
div-inv88.6%
remove-double-div88.6%
Applied egg-rr88.6%
distribute-lft-neg-in88.6%
associate-*l*72.1%
distribute-rgt-neg-in72.1%
metadata-eval72.1%
associate-*l*72.1%
*-commutative72.1%
remove-double-div72.1%
div-inv72.1%
associate-*r*72.1%
*-commutative72.1%
associate-/l*88.7%
*-commutative88.7%
Applied egg-rr88.7%
Final simplification96.1%
(FPCore (x y z t)
:precision binary64
(if (<= (* z z) 1e-308)
(* x x)
(if (<= (* z z) 1e-55)
(* 4.0 (* t y))
(if (<= (* z z) 1e+56) (* x x) (* y (* z (* z -4.0)))))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 1e-308) {
tmp = x * x;
} else if ((z * z) <= 1e-55) {
tmp = 4.0 * (t * y);
} else if ((z * z) <= 1e+56) {
tmp = x * x;
} else {
tmp = y * (z * (z * -4.0));
}
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 ((z * z) <= 1d-308) then
tmp = x * x
else if ((z * z) <= 1d-55) then
tmp = 4.0d0 * (t * y)
else if ((z * z) <= 1d+56) then
tmp = x * x
else
tmp = y * (z * (z * (-4.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 1e-308) {
tmp = x * x;
} else if ((z * z) <= 1e-55) {
tmp = 4.0 * (t * y);
} else if ((z * z) <= 1e+56) {
tmp = x * x;
} else {
tmp = y * (z * (z * -4.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z * z) <= 1e-308: tmp = x * x elif (z * z) <= 1e-55: tmp = 4.0 * (t * y) elif (z * z) <= 1e+56: tmp = x * x else: tmp = y * (z * (z * -4.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if (Float64(z * z) <= 1e-308) tmp = Float64(x * x); elseif (Float64(z * z) <= 1e-55) tmp = Float64(4.0 * Float64(t * y)); elseif (Float64(z * z) <= 1e+56) tmp = Float64(x * x); else tmp = Float64(y * Float64(z * Float64(z * -4.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z * z) <= 1e-308) tmp = x * x; elseif ((z * z) <= 1e-55) tmp = 4.0 * (t * y); elseif ((z * z) <= 1e+56) tmp = x * x; else tmp = y * (z * (z * -4.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[N[(z * z), $MachinePrecision], 1e-308], N[(x * x), $MachinePrecision], If[LessEqual[N[(z * z), $MachinePrecision], 1e-55], N[(4.0 * N[(t * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[N[(z * z), $MachinePrecision], 1e+56], N[(x * x), $MachinePrecision], N[(y * N[(z * N[(z * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \cdot z \leq 10^{-308}:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;z \cdot z \leq 10^{-55}:\\
\;\;\;\;4 \cdot \left(t \cdot y\right)\\
\mathbf{elif}\;z \cdot z \leq 10^{+56}:\\
\;\;\;\;x \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(z \cdot \left(z \cdot -4\right)\right)\\
\end{array}
\end{array}
if (*.f64 z z) < 9.9999999999999991e-309 or 9.99999999999999995e-56 < (*.f64 z z) < 1.00000000000000009e56Initial program 100.0%
Taylor expanded in x around inf 64.2%
unpow264.2%
Simplified64.2%
if 9.9999999999999991e-309 < (*.f64 z z) < 9.99999999999999995e-56Initial program 99.9%
Taylor expanded in t around inf 60.2%
*-commutative60.2%
Simplified60.2%
if 1.00000000000000009e56 < (*.f64 z z) Initial program 79.7%
Taylor expanded in z around inf 70.1%
associate-*r*70.1%
*-commutative70.1%
unpow270.1%
associate-*r*70.1%
associate-*r*70.1%
*-commutative70.1%
*-commutative70.1%
Simplified70.1%
Final simplification66.2%
(FPCore (x y z t) :precision binary64 (if (<= z 3.7e+139) (+ (* x x) (* (* y 4.0) (- t (* z z)))) (/ z (/ (/ 1.0 y) (* z -4.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 3.7e+139) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = z / ((1.0 / y) / (z * -4.0));
}
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 (z <= 3.7d+139) then
tmp = (x * x) + ((y * 4.0d0) * (t - (z * z)))
else
tmp = z / ((1.0d0 / y) / (z * (-4.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 3.7e+139) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = z / ((1.0 / y) / (z * -4.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 3.7e+139: tmp = (x * x) + ((y * 4.0) * (t - (z * z))) else: tmp = z / ((1.0 / y) / (z * -4.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 3.7e+139) tmp = Float64(Float64(x * x) + Float64(Float64(y * 4.0) * Float64(t - Float64(z * z)))); else tmp = Float64(z / Float64(Float64(1.0 / y) / Float64(z * -4.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 3.7e+139) tmp = (x * x) + ((y * 4.0) * (t - (z * z))); else tmp = z / ((1.0 / y) / (z * -4.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 3.7e+139], N[(N[(x * x), $MachinePrecision] + N[(N[(y * 4.0), $MachinePrecision] * N[(t - N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z / N[(N[(1.0 / y), $MachinePrecision] / N[(z * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 3.7 \cdot 10^{+139}:\\
\;\;\;\;x \cdot x + \left(y \cdot 4\right) \cdot \left(t - z \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{z}{\frac{\frac{1}{y}}{z \cdot -4}}\\
\end{array}
\end{array}
if z < 3.69999999999999992e139Initial program 94.1%
if 3.69999999999999992e139 < z Initial program 69.1%
Taylor expanded in z around inf 69.1%
associate-*r*69.1%
*-commutative69.1%
unpow269.1%
associate-*r*69.1%
associate-*r*69.1%
*-commutative69.1%
*-commutative69.1%
Simplified69.1%
/-rgt-identity69.1%
associate-*r*69.1%
*-commutative69.1%
remove-double-div69.1%
un-div-inv69.1%
times-frac69.1%
metadata-eval69.1%
distribute-rgt-neg-in69.1%
div-inv69.1%
distribute-neg-frac69.1%
neg-sub069.1%
associate-/r*70.2%
associate-/r/81.8%
cancel-sign-sub-inv81.8%
div-inv81.9%
remove-double-div81.9%
Applied egg-rr81.9%
distribute-lft-neg-in81.9%
associate-*l*69.1%
distribute-rgt-neg-in69.1%
metadata-eval69.1%
associate-*l*69.1%
*-commutative69.1%
remove-double-div69.1%
div-inv69.1%
associate-*r*69.1%
*-commutative69.1%
associate-/l*81.9%
*-commutative81.9%
Applied egg-rr81.9%
Final simplification92.0%
(FPCore (x y z t) :precision binary64 (if (<= (* z z) 5e+74) (- (* x x) (* y (* t -4.0))) (* y (* z (* z -4.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 5e+74) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = y * (z * (z * -4.0));
}
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 ((z * z) <= 5d+74) then
tmp = (x * x) - (y * (t * (-4.0d0)))
else
tmp = y * (z * (z * (-4.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 5e+74) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = y * (z * (z * -4.0));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z * z) <= 5e+74: tmp = (x * x) - (y * (t * -4.0)) else: tmp = y * (z * (z * -4.0)) return tmp
function code(x, y, z, t) tmp = 0.0 if (Float64(z * z) <= 5e+74) tmp = Float64(Float64(x * x) - Float64(y * Float64(t * -4.0))); else tmp = Float64(y * Float64(z * Float64(z * -4.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z * z) <= 5e+74) tmp = (x * x) - (y * (t * -4.0)); else tmp = y * (z * (z * -4.0)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[N[(z * z), $MachinePrecision], 5e+74], N[(N[(x * x), $MachinePrecision] - N[(y * N[(t * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(z * N[(z * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \cdot z \leq 5 \cdot 10^{+74}:\\
\;\;\;\;x \cdot x - y \cdot \left(t \cdot -4\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(z \cdot \left(z \cdot -4\right)\right)\\
\end{array}
\end{array}
if (*.f64 z z) < 4.99999999999999963e74Initial program 100.0%
Taylor expanded in z around 0 93.6%
associate-*r*93.6%
*-commutative93.6%
*-commutative93.6%
Simplified93.6%
if 4.99999999999999963e74 < (*.f64 z z) Initial program 78.5%
Taylor expanded in z around inf 71.5%
associate-*r*71.5%
*-commutative71.5%
unpow271.5%
associate-*r*71.5%
associate-*r*71.5%
*-commutative71.5%
*-commutative71.5%
Simplified71.5%
Final simplification83.3%
(FPCore (x y z t) :precision binary64 (if (<= z 1.05e+38) (- (* x x) (* y (* t -4.0))) (* z (* z (* 4.0 (- y))))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.05e+38) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = z * (z * (4.0 * -y));
}
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 (z <= 1.05d+38) then
tmp = (x * x) - (y * (t * (-4.0d0)))
else
tmp = z * (z * (4.0d0 * -y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.05e+38) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = z * (z * (4.0 * -y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 1.05e+38: tmp = (x * x) - (y * (t * -4.0)) else: tmp = z * (z * (4.0 * -y)) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 1.05e+38) tmp = Float64(Float64(x * x) - Float64(y * Float64(t * -4.0))); else tmp = Float64(z * Float64(z * Float64(4.0 * Float64(-y)))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 1.05e+38) tmp = (x * x) - (y * (t * -4.0)); else tmp = z * (z * (4.0 * -y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 1.05e+38], N[(N[(x * x), $MachinePrecision] - N[(y * N[(t * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(z * N[(z * N[(4.0 * (-y)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.05 \cdot 10^{+38}:\\
\;\;\;\;x \cdot x - y \cdot \left(t \cdot -4\right)\\
\mathbf{else}:\\
\;\;\;\;z \cdot \left(z \cdot \left(4 \cdot \left(-y\right)\right)\right)\\
\end{array}
\end{array}
if z < 1.05e38Initial program 94.0%
Taylor expanded in z around 0 73.1%
associate-*r*73.1%
*-commutative73.1%
*-commutative73.1%
Simplified73.1%
if 1.05e38 < z Initial program 77.7%
Taylor expanded in z around inf 67.2%
associate-*r*67.2%
*-commutative67.2%
unpow267.2%
associate-*r*67.2%
associate-*r*67.2%
*-commutative67.2%
*-commutative67.2%
Simplified67.2%
/-rgt-identity67.2%
associate-*r*67.2%
*-commutative67.2%
remove-double-div67.2%
un-div-inv67.2%
times-frac67.2%
metadata-eval67.2%
distribute-rgt-neg-in67.2%
div-inv67.2%
distribute-neg-frac67.2%
neg-sub067.2%
associate-/r*67.8%
associate-/r/75.6%
cancel-sign-sub-inv75.6%
div-inv75.7%
remove-double-div75.7%
Applied egg-rr75.7%
Final simplification73.8%
(FPCore (x y z t) :precision binary64 (if (<= x 1.35e+36) (* 4.0 (* t y)) (* x x)))
double code(double x, double y, double z, double t) {
double tmp;
if (x <= 1.35e+36) {
tmp = 4.0 * (t * y);
} else {
tmp = x * x;
}
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 (x <= 1.35d+36) then
tmp = 4.0d0 * (t * y)
else
tmp = x * x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (x <= 1.35e+36) {
tmp = 4.0 * (t * y);
} else {
tmp = x * x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if x <= 1.35e+36: tmp = 4.0 * (t * y) else: tmp = x * x return tmp
function code(x, y, z, t) tmp = 0.0 if (x <= 1.35e+36) tmp = Float64(4.0 * Float64(t * y)); else tmp = Float64(x * x); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (x <= 1.35e+36) tmp = 4.0 * (t * y); else tmp = x * x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[x, 1.35e+36], N[(4.0 * N[(t * y), $MachinePrecision]), $MachinePrecision], N[(x * x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1.35 \cdot 10^{+36}:\\
\;\;\;\;4 \cdot \left(t \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\end{array}
if x < 1.35e36Initial program 90.4%
Taylor expanded in t around inf 34.1%
*-commutative34.1%
Simplified34.1%
if 1.35e36 < x Initial program 88.2%
Taylor expanded in x around inf 74.5%
unpow274.5%
Simplified74.5%
Final simplification43.3%
(FPCore (x y z t) :precision binary64 (* x x))
double code(double x, double y, double z, double t) {
return x * x;
}
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 * x
end function
public static double code(double x, double y, double z, double t) {
return x * x;
}
def code(x, y, z, t): return x * x
function code(x, y, z, t) return Float64(x * x) end
function tmp = code(x, y, z, t) tmp = x * x; end
code[x_, y_, z_, t_] := N[(x * x), $MachinePrecision]
\begin{array}{l}
\\
x \cdot x
\end{array}
Initial program 89.9%
Taylor expanded in x around inf 39.5%
unpow239.5%
Simplified39.5%
Final simplification39.5%
(FPCore (x y z t) :precision binary64 (- (* x x) (* 4.0 (* y (- (* z z) t)))))
double code(double x, double y, double z, double t) {
return (x * x) - (4.0 * (y * ((z * z) - 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 * x) - (4.0d0 * (y * ((z * z) - t)))
end function
public static double code(double x, double y, double z, double t) {
return (x * x) - (4.0 * (y * ((z * z) - t)));
}
def code(x, y, z, t): return (x * x) - (4.0 * (y * ((z * z) - t)))
function code(x, y, z, t) return Float64(Float64(x * x) - Float64(4.0 * Float64(y * Float64(Float64(z * z) - t)))) end
function tmp = code(x, y, z, t) tmp = (x * x) - (4.0 * (y * ((z * z) - t))); end
code[x_, y_, z_, t_] := N[(N[(x * x), $MachinePrecision] - N[(4.0 * N[(y * N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot x - 4 \cdot \left(y \cdot \left(z \cdot z - t\right)\right)
\end{array}
herbie shell --seed 2023297
(FPCore (x y z t)
:name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1, B"
:precision binary64
:herbie-target
(- (* x x) (* 4.0 (* y (- (* z z) t))))
(- (* x x) (* (* y 4.0) (- (* z z) t))))