
(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+304) (fma x x (* (- (* z z) t) (* y -4.0))) (* -4.0 (* z (* z y)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z * z) <= 5e+304) {
tmp = fma(x, x, (((z * z) - t) * (y * -4.0)));
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
function code(x, y, z, t) tmp = 0.0 if (Float64(z * z) <= 5e+304) tmp = fma(x, x, Float64(Float64(Float64(z * z) - t) * Float64(y * -4.0))); else tmp = Float64(-4.0 * Float64(z * Float64(z * y))); end return tmp end
code[x_, y_, z_, t_] := If[LessEqual[N[(z * z), $MachinePrecision], 5e+304], N[(x * x + N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \cdot z \leq 5 \cdot 10^{+304}:\\
\;\;\;\;\mathsf{fma}\left(x, x, \left(z \cdot z - t\right) \cdot \left(y \cdot -4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\end{array}
if (*.f64 z z) < 4.9999999999999997e304Initial program 95.9%
fma-neg98.2%
distribute-lft-neg-in98.2%
*-commutative98.2%
distribute-rgt-neg-in98.2%
metadata-eval98.2%
Simplified98.2%
if 4.9999999999999997e304 < (*.f64 z z) Initial program 59.1%
sub-neg59.1%
flip-+0.0%
pow20.0%
pow20.0%
pow-prod-up0.0%
metadata-eval0.0%
pow20.0%
Applied egg-rr0.0%
Taylor expanded in x around 0 0.0%
associate-/l*0.0%
+-commutative0.0%
unpow20.0%
fma-udef0.0%
Simplified0.0%
Taylor expanded in z around inf 70.0%
associate-/r/70.0%
/-rgt-identity70.0%
unpow270.0%
associate-*r*89.4%
Applied egg-rr89.4%
Final simplification95.4%
(FPCore (x y z t) :precision binary64 (if (or (<= z 7e-27) (and (not (<= z 0.013)) (<= z 1.5e+59))) (* y (* t 4.0)) (* -4.0 (* z (* z y)))))
double code(double x, double y, double z, double t) {
double tmp;
if ((z <= 7e-27) || (!(z <= 0.013) && (z <= 1.5e+59))) {
tmp = y * (t * 4.0);
} else {
tmp = -4.0 * (z * (z * 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 <= 7d-27) .or. (.not. (z <= 0.013d0)) .and. (z <= 1.5d+59)) then
tmp = y * (t * 4.0d0)
else
tmp = (-4.0d0) * (z * (z * y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if ((z <= 7e-27) || (!(z <= 0.013) && (z <= 1.5e+59))) {
tmp = y * (t * 4.0);
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if (z <= 7e-27) or (not (z <= 0.013) and (z <= 1.5e+59)): tmp = y * (t * 4.0) else: tmp = -4.0 * (z * (z * y)) return tmp
function code(x, y, z, t) tmp = 0.0 if ((z <= 7e-27) || (!(z <= 0.013) && (z <= 1.5e+59))) tmp = Float64(y * Float64(t * 4.0)); else tmp = Float64(-4.0 * Float64(z * Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if ((z <= 7e-27) || (~((z <= 0.013)) && (z <= 1.5e+59))) tmp = y * (t * 4.0); else tmp = -4.0 * (z * (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[Or[LessEqual[z, 7e-27], And[N[Not[LessEqual[z, 0.013]], $MachinePrecision], LessEqual[z, 1.5e+59]]], N[(y * N[(t * 4.0), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 7 \cdot 10^{-27} \lor \neg \left(z \leq 0.013\right) \land z \leq 1.5 \cdot 10^{+59}:\\
\;\;\;\;y \cdot \left(t \cdot 4\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\end{array}
if z < 7.0000000000000003e-27 or 0.0129999999999999994 < z < 1.5e59Initial program 91.6%
Taylor expanded in t around inf 40.6%
associate-*r*40.6%
*-commutative40.6%
Simplified40.6%
if 7.0000000000000003e-27 < z < 0.0129999999999999994 or 1.5e59 < z Initial program 64.2%
sub-neg64.2%
flip-+18.8%
pow218.8%
pow218.8%
pow-prod-up18.8%
metadata-eval18.8%
pow218.8%
Applied egg-rr18.8%
Taylor expanded in x around 0 17.6%
associate-/l*18.9%
+-commutative18.9%
unpow218.9%
fma-udef18.9%
Simplified18.9%
Taylor expanded in z around inf 67.2%
associate-/r/67.2%
/-rgt-identity67.2%
unpow267.2%
associate-*r*81.9%
Applied egg-rr81.9%
Final simplification51.9%
(FPCore (x y z t)
:precision binary64
(if (<= z 7e-27)
(- (* x x) (* y (* t -4.0)))
(if (<= z 5e+251)
(- (* x x) (* z (* z (* y 4.0))))
(* -4.0 (* z (* z y))))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 7e-27) {
tmp = (x * x) - (y * (t * -4.0));
} else if (z <= 5e+251) {
tmp = (x * x) - (z * (z * (y * 4.0)));
} else {
tmp = -4.0 * (z * (z * 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 <= 7d-27) then
tmp = (x * x) - (y * (t * (-4.0d0)))
else if (z <= 5d+251) then
tmp = (x * x) - (z * (z * (y * 4.0d0)))
else
tmp = (-4.0d0) * (z * (z * y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 7e-27) {
tmp = (x * x) - (y * (t * -4.0));
} else if (z <= 5e+251) {
tmp = (x * x) - (z * (z * (y * 4.0)));
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 7e-27: tmp = (x * x) - (y * (t * -4.0)) elif z <= 5e+251: tmp = (x * x) - (z * (z * (y * 4.0))) else: tmp = -4.0 * (z * (z * y)) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 7e-27) tmp = Float64(Float64(x * x) - Float64(y * Float64(t * -4.0))); elseif (z <= 5e+251) tmp = Float64(Float64(x * x) - Float64(z * Float64(z * Float64(y * 4.0)))); else tmp = Float64(-4.0 * Float64(z * Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 7e-27) tmp = (x * x) - (y * (t * -4.0)); elseif (z <= 5e+251) tmp = (x * x) - (z * (z * (y * 4.0))); else tmp = -4.0 * (z * (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 7e-27], N[(N[(x * x), $MachinePrecision] - N[(y * N[(t * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5e+251], N[(N[(x * x), $MachinePrecision] - N[(z * N[(z * N[(y * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 7 \cdot 10^{-27}:\\
\;\;\;\;x \cdot x - y \cdot \left(t \cdot -4\right)\\
\mathbf{elif}\;z \leq 5 \cdot 10^{+251}:\\
\;\;\;\;x \cdot x - z \cdot \left(z \cdot \left(y \cdot 4\right)\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\end{array}
if z < 7.0000000000000003e-27Initial program 91.2%
Taylor expanded in z around 0 76.0%
*-commutative76.0%
*-commutative76.0%
associate-*l*76.0%
Simplified76.0%
if 7.0000000000000003e-27 < z < 5.0000000000000005e251Initial program 70.1%
sub-neg70.1%
flip-+36.2%
pow236.2%
pow236.2%
pow-prod-up36.2%
metadata-eval36.2%
pow236.2%
Applied egg-rr36.2%
associate-*r/34.8%
clear-num34.8%
unpow234.8%
fma-neg34.8%
remove-double-neg34.8%
*-commutative34.8%
associate-*l*34.8%
metadata-eval34.8%
pow-sqr34.7%
sqr-neg34.7%
difference-of-squares37.9%
remove-double-neg37.9%
sub-neg37.9%
sub-neg37.9%
add-sqr-sqrt11.4%
sqrt-prod30.2%
sqr-neg30.2%
sqrt-prod18.7%
add-sqr-sqrt28.4%
Applied egg-rr28.4%
*-lft-identity28.4%
times-frac28.4%
metadata-eval28.4%
*-rgt-identity28.4%
rgt-mult-inverse28.4%
associate-*r*21.9%
unpow221.9%
*-commutative21.9%
times-frac23.3%
*-inverses57.5%
Simplified57.5%
Taylor expanded in z around inf 59.3%
associate-/r*59.3%
Simplified59.3%
associate-/r/59.4%
clear-num59.4%
unpow259.4%
associate-*r*82.9%
div-inv82.9%
metadata-eval82.9%
Applied egg-rr82.9%
if 5.0000000000000005e251 < z Initial program 62.9%
sub-neg62.9%
flip-+0.0%
pow20.0%
pow20.0%
pow-prod-up0.0%
metadata-eval0.0%
pow20.0%
Applied egg-rr0.0%
Taylor expanded in x around 0 0.0%
associate-/l*0.0%
+-commutative0.0%
unpow20.0%
fma-udef0.0%
Simplified0.0%
Taylor expanded in z around inf 94.2%
associate-/r/94.2%
/-rgt-identity94.2%
unpow294.2%
associate-*r*100.0%
Applied egg-rr100.0%
Final simplification79.3%
(FPCore (x y z t) :precision binary64 (if (<= z 1.95e+142) (- (* x x) (* (- (* z z) t) (* y 4.0))) (* -4.0 (* z (* z y)))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.95e+142) {
tmp = (x * x) - (((z * z) - t) * (y * 4.0));
} else {
tmp = -4.0 * (z * (z * 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.95d+142) then
tmp = (x * x) - (((z * z) - t) * (y * 4.0d0))
else
tmp = (-4.0d0) * (z * (z * y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.95e+142) {
tmp = (x * x) - (((z * z) - t) * (y * 4.0));
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 1.95e+142: tmp = (x * x) - (((z * z) - t) * (y * 4.0)) else: tmp = -4.0 * (z * (z * y)) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 1.95e+142) tmp = Float64(Float64(x * x) - Float64(Float64(Float64(z * z) - t) * Float64(y * 4.0))); else tmp = Float64(-4.0 * Float64(z * Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 1.95e+142) tmp = (x * x) - (((z * z) - t) * (y * 4.0)); else tmp = -4.0 * (z * (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 1.95e+142], N[(N[(x * x), $MachinePrecision] - N[(N[(N[(z * z), $MachinePrecision] - t), $MachinePrecision] * N[(y * 4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.95 \cdot 10^{+142}:\\
\;\;\;\;x \cdot x - \left(z \cdot z - t\right) \cdot \left(y \cdot 4\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\end{array}
if z < 1.95e142Initial program 92.0%
if 1.95e142 < z Initial program 49.9%
sub-neg49.9%
flip-+0.1%
pow20.1%
pow20.1%
pow-prod-up0.1%
metadata-eval0.1%
pow20.1%
Applied egg-rr0.1%
Taylor expanded in x around 0 0.1%
associate-/l*0.1%
+-commutative0.1%
unpow20.1%
fma-udef0.1%
Simplified0.1%
Taylor expanded in z around inf 64.5%
associate-/r/64.5%
/-rgt-identity64.5%
unpow264.5%
associate-*r*85.9%
Applied egg-rr85.9%
Final simplification90.9%
(FPCore (x y z t) :precision binary64 (if (<= z 1.3e+95) (- (* x x) (* y (* t -4.0))) (* -4.0 (* z (* z y)))))
double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.3e+95) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = -4.0 * (z * (z * 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.3d+95) then
tmp = (x * x) - (y * (t * (-4.0d0)))
else
tmp = (-4.0d0) * (z * (z * y))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (z <= 1.3e+95) {
tmp = (x * x) - (y * (t * -4.0));
} else {
tmp = -4.0 * (z * (z * y));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if z <= 1.3e+95: tmp = (x * x) - (y * (t * -4.0)) else: tmp = -4.0 * (z * (z * y)) return tmp
function code(x, y, z, t) tmp = 0.0 if (z <= 1.3e+95) tmp = Float64(Float64(x * x) - Float64(y * Float64(t * -4.0))); else tmp = Float64(-4.0 * Float64(z * Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (z <= 1.3e+95) tmp = (x * x) - (y * (t * -4.0)); else tmp = -4.0 * (z * (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[z, 1.3e+95], N[(N[(x * x), $MachinePrecision] - N[(y * N[(t * -4.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(-4.0 * N[(z * N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq 1.3 \cdot 10^{+95}:\\
\;\;\;\;x \cdot x - y \cdot \left(t \cdot -4\right)\\
\mathbf{else}:\\
\;\;\;\;-4 \cdot \left(z \cdot \left(z \cdot y\right)\right)\\
\end{array}
\end{array}
if z < 1.29999999999999995e95Initial program 92.2%
Taylor expanded in z around 0 73.2%
*-commutative73.2%
*-commutative73.2%
associate-*l*73.2%
Simplified73.2%
if 1.29999999999999995e95 < z Initial program 55.3%
sub-neg55.3%
flip-+3.9%
pow23.9%
pow23.9%
pow-prod-up3.9%
metadata-eval3.9%
pow23.9%
Applied egg-rr3.9%
Taylor expanded in x around 0 5.7%
associate-/l*5.7%
+-commutative5.7%
unpow25.7%
fma-udef5.7%
Simplified5.7%
Taylor expanded in z around inf 67.8%
associate-/r/67.8%
/-rgt-identity67.8%
unpow267.8%
associate-*r*86.1%
Applied egg-rr86.1%
Final simplification76.0%
(FPCore (x y z t) :precision binary64 (* -4.0 (* t y)))
double code(double x, double y, double z, double t) {
return -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 = (-4.0d0) * (t * y)
end function
public static double code(double x, double y, double z, double t) {
return -4.0 * (t * y);
}
def code(x, y, z, t): return -4.0 * (t * y)
function code(x, y, z, t) return Float64(-4.0 * Float64(t * y)) end
function tmp = code(x, y, z, t) tmp = -4.0 * (t * y); end
code[x_, y_, z_, t_] := N[(-4.0 * N[(t * y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
-4 \cdot \left(t \cdot y\right)
\end{array}
Initial program 84.1%
Taylor expanded in z around 0 62.3%
*-commutative62.3%
*-commutative62.3%
associate-*l*62.3%
Simplified62.3%
sub-neg62.3%
distribute-rgt-neg-in62.3%
distribute-lft-neg-in62.3%
add-sqr-sqrt30.1%
sqrt-prod47.5%
sqr-neg47.5%
sqrt-prod22.6%
add-sqr-sqrt37.7%
expm1-log1p-u34.9%
fma-def34.9%
Applied egg-rr34.9%
Taylor expanded in x around 0 6.5%
Final simplification6.5%
(FPCore (x y z t) :precision binary64 (* y (* t 4.0)))
double code(double x, double y, double z, double t) {
return y * (t * 4.0);
}
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 * (t * 4.0d0)
end function
public static double code(double x, double y, double z, double t) {
return y * (t * 4.0);
}
def code(x, y, z, t): return y * (t * 4.0)
function code(x, y, z, t) return Float64(y * Float64(t * 4.0)) end
function tmp = code(x, y, z, t) tmp = y * (t * 4.0); end
code[x_, y_, z_, t_] := N[(y * N[(t * 4.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
y \cdot \left(t \cdot 4\right)
\end{array}
Initial program 84.1%
Taylor expanded in t around inf 32.4%
associate-*r*32.4%
*-commutative32.4%
Simplified32.4%
Final simplification32.4%
(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 2024019
(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))))