
(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 8 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) t) (* y 4.0)) 2e+305) (+ (* x x) (* (* y 4.0) (- t (* z z)))) (* t (* y (+ 4.0 (* -4.0 (* z (/ z t))))))))
double code(double x, double y, double z, double t) {
double tmp;
if ((((z * z) - t) * (y * 4.0)) <= 2e+305) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z * (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 ((((z * z) - t) * (y * 4.0d0)) <= 2d+305) then
tmp = (x * x) + ((y * 4.0d0) * (t - (z * z)))
else
tmp = t * (y * (4.0d0 + ((-4.0d0) * (z * (z / t)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((((z * z) - t) * (y * 4.0)) <= 2e+305) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z * (z / t)))));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (((z * z) - t) * (y * 4.0)) <= 2e+305: tmp = (x * x) + ((y * 4.0) * (t - (z * z))) else: tmp = t * (y * (4.0 + (-4.0 * (z * (z / t))))) return tmp
function code(x, y, z, t) tmp = 0.0 if (Float64(Float64(Float64(z * z) - t) * Float64(y * 4.0)) <= 2e+305) tmp = Float64(Float64(x * x) + Float64(Float64(y * 4.0) * Float64(t - Float64(z * z)))); else tmp = Float64(t * Float64(y * Float64(4.0 + Float64(-4.0 * Float64(z * Float64(z / t)))))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((((z * z) - t) * (y * 4.0)) <= 2e+305) tmp = (x * x) + ((y * 4.0) * (t - (z * z))); else tmp = t * (y * (4.0 + (-4.0 * (z * (z / t))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * 4.0), $MachinePrecision]), $MachinePrecision], 2e+305], N[(N[(x * x), $MachinePrecision] + N[(N[(y * 4.0), $MachinePrecision] * N[(t - N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * N[(4.0 + N[(-4.0 * N[(z * N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\left(z \cdot z - t\right) \cdot \left(y \cdot 4\right) \leq 2 \cdot 10^{+305}:\\
\;\;\;\;x \cdot x + \left(y \cdot 4\right) \cdot \left(t - z \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot \left(4 + -4 \cdot \left(z \cdot \frac{z}{t}\right)\right)\right)\\
\end{array}
\end{array}
if (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)) < 1.9999999999999999e305Initial program 98.2%
if 1.9999999999999999e305 < (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)) Initial program 59.8%
Taylor expanded in t around inf 59.8%
*-commutative59.8%
fma-define59.8%
associate-*r/59.8%
*-commutative59.8%
*-commutative59.8%
associate-*r*59.8%
associate-/l*59.6%
*-commutative59.6%
Simplified59.6%
Taylor expanded in y around -inf 69.6%
unpow269.6%
*-un-lft-identity69.6%
times-frac73.3%
Applied egg-rr73.3%
Final simplification93.2%
(FPCore (x y z t) :precision binary64 (fma x x (* (- (* z z) t) (* y -4.0))))
double code(double x, double y, double z, double t) {
return fma(x, x, (((z * z) - t) * (y * -4.0)));
}
function code(x, y, z, t) return fma(x, x, Float64(Float64(Float64(z * z) - t) * Float64(y * -4.0))) end
code[x_, y_, z_, t_] := N[(x * x + N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(x, x, \left(z \cdot z - t\right) \cdot \left(y \cdot -4\right)\right)
\end{array}
Initial program 90.5%
fma-neg92.5%
distribute-lft-neg-in92.5%
*-commutative92.5%
distribute-rgt-neg-in92.5%
metadata-eval92.5%
Simplified92.5%
(FPCore (x y z t) :precision binary64 (if (<= (* (- (* z z) t) (* y 4.0)) 2e+305) (+ (* x x) (* (* y 4.0) (- t (* z z)))) (* t (* y (+ 4.0 (* -4.0 (/ z (/ t z))))))))
double code(double x, double y, double z, double t) {
double tmp;
if ((((z * z) - t) * (y * 4.0)) <= 2e+305) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z / (t / z)))));
}
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) - t) * (y * 4.0d0)) <= 2d+305) then
tmp = (x * x) + ((y * 4.0d0) * (t - (z * z)))
else
tmp = t * (y * (4.0d0 + ((-4.0d0) * (z / (t / z)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((((z * z) - t) * (y * 4.0)) <= 2e+305) {
tmp = (x * x) + ((y * 4.0) * (t - (z * z)));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z / (t / z)))));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (((z * z) - t) * (y * 4.0)) <= 2e+305: tmp = (x * x) + ((y * 4.0) * (t - (z * z))) else: tmp = t * (y * (4.0 + (-4.0 * (z / (t / z))))) return tmp
function code(x, y, z, t) tmp = 0.0 if (Float64(Float64(Float64(z * z) - t) * Float64(y * 4.0)) <= 2e+305) tmp = Float64(Float64(x * x) + Float64(Float64(y * 4.0) * Float64(t - Float64(z * z)))); else tmp = Float64(t * Float64(y * Float64(4.0 + Float64(-4.0 * Float64(z / Float64(t / z)))))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((((z * z) - t) * (y * 4.0)) <= 2e+305) tmp = (x * x) + ((y * 4.0) * (t - (z * z))); else tmp = t * (y * (4.0 + (-4.0 * (z / (t / z))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * 4.0), $MachinePrecision]), $MachinePrecision], 2e+305], N[(N[(x * x), $MachinePrecision] + N[(N[(y * 4.0), $MachinePrecision] * N[(t - N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * N[(4.0 + N[(-4.0 * N[(z / N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\left(z \cdot z - t\right) \cdot \left(y \cdot 4\right) \leq 2 \cdot 10^{+305}:\\
\;\;\;\;x \cdot x + \left(y \cdot 4\right) \cdot \left(t - z \cdot z\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot \left(4 + -4 \cdot \frac{z}{\frac{t}{z}}\right)\right)\\
\end{array}
\end{array}
if (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)) < 1.9999999999999999e305Initial program 98.2%
if 1.9999999999999999e305 < (*.f64 (*.f64 y #s(literal 4 binary64)) (-.f64 (*.f64 z z) t)) Initial program 59.8%
Taylor expanded in t around inf 59.8%
*-commutative59.8%
fma-define59.8%
associate-*r/59.8%
*-commutative59.8%
*-commutative59.8%
associate-*r*59.8%
associate-/l*59.6%
*-commutative59.6%
Simplified59.6%
Taylor expanded in y around -inf 69.6%
unpow269.6%
*-un-lft-identity69.6%
times-frac73.3%
Applied egg-rr73.3%
/-rgt-identity73.3%
clear-num73.3%
un-div-inv73.3%
Applied egg-rr73.3%
Final simplification93.2%
(FPCore (x y z t) :precision binary64 (if (<= z 8.2e+66) (- (* x x) (* -4.0 (* t y))) (* t (* y (+ 4.0 (* -4.0 (/ z (/ t z))))))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 8.2e+66) {
tmp = (x * x) - (-4.0 * (t * y));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z / (t / z)))));
}
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 <= 8.2d+66) then
tmp = (x * x) - ((-4.0d0) * (t * y))
else
tmp = t * (y * (4.0d0 + ((-4.0d0) * (z / (t / z)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 8.2e+66) {
tmp = (x * x) - (-4.0 * (t * y));
} else {
tmp = t * (y * (4.0 + (-4.0 * (z / (t / z)))));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 8.2e+66: tmp = (x * x) - (-4.0 * (t * y)) else: tmp = t * (y * (4.0 + (-4.0 * (z / (t / z))))) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 8.2e+66) tmp = Float64(Float64(x * x) - Float64(-4.0 * Float64(t * y))); else tmp = Float64(t * Float64(y * Float64(4.0 + Float64(-4.0 * Float64(z / Float64(t / z)))))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 8.2e+66) tmp = (x * x) - (-4.0 * (t * y)); else tmp = t * (y * (4.0 + (-4.0 * (z / (t / z))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 8.2e+66], N[(N[(x * x), $MachinePrecision] - N[(-4.0 * N[(t * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t * N[(y * N[(4.0 + N[(-4.0 * N[(z / N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 8.2 \cdot 10^{+66}:\\
\;\;\;\;x \cdot x - -4 \cdot \left(t \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t \cdot \left(y \cdot \left(4 + -4 \cdot \frac{z}{\frac{t}{z}}\right)\right)\\
\end{array}
\end{array}
if z < 8.19999999999999989e66Initial program 93.4%
Taylor expanded in z around 0 79.1%
*-commutative79.1%
Simplified79.1%
if 8.19999999999999989e66 < z Initial program 77.5%
Taylor expanded in t around inf 73.4%
*-commutative73.4%
fma-define73.4%
associate-*r/73.4%
*-commutative73.4%
*-commutative73.4%
associate-*r*73.4%
associate-/l*69.2%
*-commutative69.2%
Simplified69.2%
Taylor expanded in y around -inf 77.6%
unpow277.6%
*-un-lft-identity77.6%
times-frac79.5%
Applied egg-rr79.5%
/-rgt-identity79.5%
clear-num79.5%
un-div-inv79.5%
Applied egg-rr79.5%
Final simplification79.1%
(FPCore (x y z t) :precision binary64 (if (<= x 2.5e+31) (* y (* t 4.0)) (* x x)))
double code(double x, double y, double z, double t) {
double tmp;
if (x <= 2.5e+31) {
tmp = y * (t * 4.0);
} 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 <= 2.5d+31) then
tmp = y * (t * 4.0d0)
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 <= 2.5e+31) {
tmp = y * (t * 4.0);
} else {
tmp = x * x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if x <= 2.5e+31: tmp = y * (t * 4.0) else: tmp = x * x return tmp
function code(x, y, z, t) tmp = 0.0 if (x <= 2.5e+31) tmp = Float64(y * Float64(t * 4.0)); else tmp = Float64(x * x); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (x <= 2.5e+31) tmp = y * (t * 4.0); else tmp = x * x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[x, 2.5e+31], N[(y * N[(t * 4.0), $MachinePrecision]), $MachinePrecision], N[(x * x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 2.5 \cdot 10^{+31}:\\
\;\;\;\;y \cdot \left(t \cdot 4\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\end{array}
if x < 2.50000000000000013e31Initial program 92.6%
Taylor expanded in t around inf 40.6%
associate-*r*40.6%
Simplified40.6%
if 2.50000000000000013e31 < x Initial program 83.8%
Taylor expanded in y around 0 83.8%
Simplified72.6%
Final simplification48.2%
(FPCore (x y z t) :precision binary64 (if (<= x 2.35e+30) (* y (* t 4.0)) (* x x)))
double code(double x, double y, double z, double t) {
double tmp;
if (x <= 2.35e+30) {
tmp = y * (t * 4.0);
} 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 <= 2.35d+30) then
tmp = y * (t * 4.0d0)
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 <= 2.35e+30) {
tmp = y * (t * 4.0);
} else {
tmp = x * x;
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if x <= 2.35e+30: tmp = y * (t * 4.0) else: tmp = x * x return tmp
function code(x, y, z, t) tmp = 0.0 if (x <= 2.35e+30) tmp = Float64(y * Float64(t * 4.0)); else tmp = Float64(x * x); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (x <= 2.35e+30) tmp = y * (t * 4.0); else tmp = x * x; end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[x, 2.35e+30], N[(y * N[(t * 4.0), $MachinePrecision]), $MachinePrecision], N[(x * x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 2.35 \cdot 10^{+30}:\\
\;\;\;\;y \cdot \left(t \cdot 4\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\end{array}
if x < 2.34999999999999995e30Initial program 92.6%
Taylor expanded in t around inf 40.6%
associate-*r*40.6%
Simplified40.6%
if 2.34999999999999995e30 < x Initial program 83.8%
sub-neg83.8%
distribute-lft-neg-in83.8%
*-commutative83.8%
distribute-lft-neg-in83.8%
metadata-eval83.8%
*-commutative83.8%
add-sqr-sqrt44.3%
sqrt-unprod67.6%
swap-sqr67.6%
metadata-eval67.6%
metadata-eval67.6%
swap-sqr67.6%
sqrt-unprod34.4%
add-sqr-sqrt65.6%
expm1-log1p-u62.7%
add-sqr-sqrt32.9%
Applied egg-rr72.3%
Simplified69.7%
expm1-log1p-u72.6%
unpow272.6%
Applied egg-rr72.6%
Final simplification48.2%
(FPCore (x y z t) :precision binary64 (- (* x x) (* -4.0 (* t y))))
double code(double x, double y, double z, double t) {
return (x * x) - (-4.0 * (t * y));
}
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) * (t * y))
end function
public static double code(double x, double y, double z, double t) {
return (x * x) - (-4.0 * (t * y));
}
def code(x, y, z, t): return (x * x) - (-4.0 * (t * y))
function code(x, y, z, t) return Float64(Float64(x * x) - Float64(-4.0 * Float64(t * y))) end
function tmp = code(x, y, z, t) tmp = (x * x) - (-4.0 * (t * y)); end
code[x_, y_, z_, t_] := N[(N[(x * x), $MachinePrecision] - N[(-4.0 * N[(t * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot x - -4 \cdot \left(t \cdot y\right)
\end{array}
Initial program 90.5%
Taylor expanded in z around 0 69.1%
*-commutative69.1%
Simplified69.1%
Final simplification69.1%
(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 90.5%
sub-neg90.5%
distribute-lft-neg-in90.5%
*-commutative90.5%
distribute-lft-neg-in90.5%
metadata-eval90.5%
*-commutative90.5%
add-sqr-sqrt47.7%
sqrt-unprod57.3%
swap-sqr57.3%
metadata-eval57.3%
metadata-eval57.3%
swap-sqr57.3%
sqrt-unprod18.4%
add-sqr-sqrt37.4%
expm1-log1p-u35.9%
add-sqr-sqrt17.6%
Applied egg-rr66.2%
Simplified40.5%
expm1-log1p-u42.0%
unpow242.0%
Applied egg-rr42.0%
(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 2024103
(FPCore (x y z t)
:name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1, B"
:precision binary64
:alt
(- (* x x) (* 4.0 (* y (- (* z z) t))))
(- (* x x) (* (* y 4.0) (- (* z z) t))))