
(FPCore (x y z t) :precision binary64 (* (* (- (* x 0.5) y) (sqrt (* z 2.0))) (exp (/ (* t t) 2.0))))
double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * sqrt((z * 2.0))) * exp(((t * t) / 2.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 = (((x * 0.5d0) - y) * sqrt((z * 2.0d0))) * exp(((t * t) / 2.0d0))
end function
public static double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * Math.sqrt((z * 2.0))) * Math.exp(((t * t) / 2.0));
}
def code(x, y, z, t): return (((x * 0.5) - y) * math.sqrt((z * 2.0))) * math.exp(((t * t) / 2.0))
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * 0.5) - y) * sqrt(Float64(z * 2.0))) * exp(Float64(Float64(t * t) / 2.0))) end
function tmp = code(x, y, z, t) tmp = (((x * 0.5) - y) * sqrt((z * 2.0))) * exp(((t * t) / 2.0)); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * 0.5), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot 0.5 - y\right) \cdot \sqrt{z \cdot 2}\right) \cdot e^{\frac{t \cdot t}{2}}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 7 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t) :precision binary64 (* (* (- (* x 0.5) y) (sqrt (* z 2.0))) (exp (/ (* t t) 2.0))))
double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * sqrt((z * 2.0))) * exp(((t * t) / 2.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 = (((x * 0.5d0) - y) * sqrt((z * 2.0d0))) * exp(((t * t) / 2.0d0))
end function
public static double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * Math.sqrt((z * 2.0))) * Math.exp(((t * t) / 2.0));
}
def code(x, y, z, t): return (((x * 0.5) - y) * math.sqrt((z * 2.0))) * math.exp(((t * t) / 2.0))
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * 0.5) - y) * sqrt(Float64(z * 2.0))) * exp(Float64(Float64(t * t) / 2.0))) end
function tmp = code(x, y, z, t) tmp = (((x * 0.5) - y) * sqrt((z * 2.0))) * exp(((t * t) / 2.0)); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * 0.5), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot 0.5 - y\right) \cdot \sqrt{z \cdot 2}\right) \cdot e^{\frac{t \cdot t}{2}}
\end{array}
(FPCore (x y z t) :precision binary64 (* (- (* 0.5 x) y) (sqrt (* (exp (pow t 2.0)) (* 2.0 z)))))
double code(double x, double y, double z, double t) {
return ((0.5 * x) - y) * sqrt((exp(pow(t, 2.0)) * (2.0 * z)));
}
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 = ((0.5d0 * x) - y) * sqrt((exp((t ** 2.0d0)) * (2.0d0 * z)))
end function
public static double code(double x, double y, double z, double t) {
return ((0.5 * x) - y) * Math.sqrt((Math.exp(Math.pow(t, 2.0)) * (2.0 * z)));
}
def code(x, y, z, t): return ((0.5 * x) - y) * math.sqrt((math.exp(math.pow(t, 2.0)) * (2.0 * z)))
function code(x, y, z, t) return Float64(Float64(Float64(0.5 * x) - y) * sqrt(Float64(exp((t ^ 2.0)) * Float64(2.0 * z)))) end
function tmp = code(x, y, z, t) tmp = ((0.5 * x) - y) * sqrt((exp((t ^ 2.0)) * (2.0 * z))); end
code[x_, y_, z_, t_] := N[(N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(N[Exp[N[Power[t, 2.0], $MachinePrecision]], $MachinePrecision] * N[(2.0 * z), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(0.5 \cdot x - y\right) \cdot \sqrt{e^{{t}^{2}} \cdot \left(2 \cdot z\right)}
\end{array}
Initial program 99.4%
*-commutative99.4%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
exp-sqrt99.8%
associate-*r*99.4%
*-commutative99.4%
expm1-log1p-u56.6%
expm1-udef44.5%
Applied egg-rr44.9%
expm1-def57.0%
expm1-log1p99.8%
fma-neg99.8%
*-commutative99.8%
*-commutative99.8%
*-commutative99.8%
Simplified99.8%
Final simplification99.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (- (* 0.5 x) y)))
(if (<= (* 2.0 z) 2e+196)
(* (sqrt (* 2.0 z)) (* t_1 (+ 1.0 (* t (/ t 2.0)))))
(* t_1 (sqrt (* z (+ 2.0 (* 2.0 (pow t 2.0)))))))))
double code(double x, double y, double z, double t) {
double t_1 = (0.5 * x) - y;
double tmp;
if ((2.0 * z) <= 2e+196) {
tmp = sqrt((2.0 * z)) * (t_1 * (1.0 + (t * (t / 2.0))));
} else {
tmp = t_1 * sqrt((z * (2.0 + (2.0 * pow(t, 2.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) :: t_1
real(8) :: tmp
t_1 = (0.5d0 * x) - y
if ((2.0d0 * z) <= 2d+196) then
tmp = sqrt((2.0d0 * z)) * (t_1 * (1.0d0 + (t * (t / 2.0d0))))
else
tmp = t_1 * sqrt((z * (2.0d0 + (2.0d0 * (t ** 2.0d0)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = (0.5 * x) - y;
double tmp;
if ((2.0 * z) <= 2e+196) {
tmp = Math.sqrt((2.0 * z)) * (t_1 * (1.0 + (t * (t / 2.0))));
} else {
tmp = t_1 * Math.sqrt((z * (2.0 + (2.0 * Math.pow(t, 2.0)))));
}
return tmp;
}
def code(x, y, z, t): t_1 = (0.5 * x) - y tmp = 0 if (2.0 * z) <= 2e+196: tmp = math.sqrt((2.0 * z)) * (t_1 * (1.0 + (t * (t / 2.0)))) else: tmp = t_1 * math.sqrt((z * (2.0 + (2.0 * math.pow(t, 2.0))))) return tmp
function code(x, y, z, t) t_1 = Float64(Float64(0.5 * x) - y) tmp = 0.0 if (Float64(2.0 * z) <= 2e+196) tmp = Float64(sqrt(Float64(2.0 * z)) * Float64(t_1 * Float64(1.0 + Float64(t * Float64(t / 2.0))))); else tmp = Float64(t_1 * sqrt(Float64(z * Float64(2.0 + Float64(2.0 * (t ^ 2.0)))))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = (0.5 * x) - y; tmp = 0.0; if ((2.0 * z) <= 2e+196) tmp = sqrt((2.0 * z)) * (t_1 * (1.0 + (t * (t / 2.0)))); else tmp = t_1 * sqrt((z * (2.0 + (2.0 * (t ^ 2.0))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision]}, If[LessEqual[N[(2.0 * z), $MachinePrecision], 2e+196], N[(N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision] * N[(t$95$1 * N[(1.0 + N[(t * N[(t / 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(t$95$1 * N[Sqrt[N[(z * N[(2.0 + N[(2.0 * N[Power[t, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0.5 \cdot x - y\\
\mathbf{if}\;2 \cdot z \leq 2 \cdot 10^{+196}:\\
\;\;\;\;\sqrt{2 \cdot z} \cdot \left(t\_1 \cdot \left(1 + t \cdot \frac{t}{2}\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1 \cdot \sqrt{z \cdot \left(2 + 2 \cdot {t}^{2}\right)}\\
\end{array}
\end{array}
if (*.f64 z 2) < 1.9999999999999999e196Initial program 99.4%
*-commutative99.4%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
Taylor expanded in t around 0 87.7%
*-commutative45.7%
metadata-eval45.7%
div-inv45.7%
pow245.7%
associate-/l*45.7%
Applied egg-rr87.7%
associate-/r/45.7%
Simplified87.7%
if 1.9999999999999999e196 < (*.f64 z 2) Initial program 99.8%
*-commutative99.8%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
exp-sqrt99.8%
associate-*r*99.8%
*-commutative99.8%
expm1-log1p-u43.7%
expm1-udef38.4%
Applied egg-rr38.4%
expm1-def43.7%
expm1-log1p99.8%
fma-neg99.8%
*-commutative99.8%
*-commutative99.8%
*-commutative99.8%
Simplified99.8%
Taylor expanded in t around 0 96.2%
associate-*r*96.2%
distribute-rgt-out96.2%
Simplified96.2%
Final simplification89.5%
(FPCore (x y z t) :precision binary64 (* (* (- (* 0.5 x) y) (sqrt (* 2.0 z))) (exp (/ (* t t) 2.0))))
double code(double x, double y, double z, double t) {
return (((0.5 * x) - y) * sqrt((2.0 * z))) * exp(((t * t) / 2.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 = (((0.5d0 * x) - y) * sqrt((2.0d0 * z))) * exp(((t * t) / 2.0d0))
end function
public static double code(double x, double y, double z, double t) {
return (((0.5 * x) - y) * Math.sqrt((2.0 * z))) * Math.exp(((t * t) / 2.0));
}
def code(x, y, z, t): return (((0.5 * x) - y) * math.sqrt((2.0 * z))) * math.exp(((t * t) / 2.0))
function code(x, y, z, t) return Float64(Float64(Float64(Float64(0.5 * x) - y) * sqrt(Float64(2.0 * z))) * exp(Float64(Float64(t * t) / 2.0))) end
function tmp = code(x, y, z, t) tmp = (((0.5 * x) - y) * sqrt((2.0 * z))) * exp(((t * t) / 2.0)); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(0.5 \cdot x - y\right) \cdot \sqrt{2 \cdot z}\right) \cdot e^{\frac{t \cdot t}{2}}
\end{array}
Initial program 99.4%
Final simplification99.4%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (sqrt (* 2.0 z))))
(if (<= t 6.6e-5)
(* (- (* 0.5 x) y) t_1)
(* t_1 (* 0.5 (* x (+ 1.0 (* t (/ t 2.0)))))))))
double code(double x, double y, double z, double t) {
double t_1 = sqrt((2.0 * z));
double tmp;
if (t <= 6.6e-5) {
tmp = ((0.5 * x) - y) * t_1;
} else {
tmp = t_1 * (0.5 * (x * (1.0 + (t * (t / 2.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) :: t_1
real(8) :: tmp
t_1 = sqrt((2.0d0 * z))
if (t <= 6.6d-5) then
tmp = ((0.5d0 * x) - y) * t_1
else
tmp = t_1 * (0.5d0 * (x * (1.0d0 + (t * (t / 2.0d0)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = Math.sqrt((2.0 * z));
double tmp;
if (t <= 6.6e-5) {
tmp = ((0.5 * x) - y) * t_1;
} else {
tmp = t_1 * (0.5 * (x * (1.0 + (t * (t / 2.0)))));
}
return tmp;
}
def code(x, y, z, t): t_1 = math.sqrt((2.0 * z)) tmp = 0 if t <= 6.6e-5: tmp = ((0.5 * x) - y) * t_1 else: tmp = t_1 * (0.5 * (x * (1.0 + (t * (t / 2.0))))) return tmp
function code(x, y, z, t) t_1 = sqrt(Float64(2.0 * z)) tmp = 0.0 if (t <= 6.6e-5) tmp = Float64(Float64(Float64(0.5 * x) - y) * t_1); else tmp = Float64(t_1 * Float64(0.5 * Float64(x * Float64(1.0 + Float64(t * Float64(t / 2.0)))))); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = sqrt((2.0 * z)); tmp = 0.0; if (t <= 6.6e-5) tmp = ((0.5 * x) - y) * t_1; else tmp = t_1 * (0.5 * (x * (1.0 + (t * (t / 2.0))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t, 6.6e-5], N[(N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision] * t$95$1), $MachinePrecision], N[(t$95$1 * N[(0.5 * N[(x * N[(1.0 + N[(t * N[(t / 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \sqrt{2 \cdot z}\\
\mathbf{if}\;t \leq 6.6 \cdot 10^{-5}:\\
\;\;\;\;\left(0.5 \cdot x - y\right) \cdot t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_1 \cdot \left(0.5 \cdot \left(x \cdot \left(1 + t \cdot \frac{t}{2}\right)\right)\right)\\
\end{array}
\end{array}
if t < 6.6000000000000005e-5Initial program 99.8%
*-commutative99.8%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
Taylor expanded in t around 0 67.6%
if 6.6000000000000005e-5 < t Initial program 98.3%
*-commutative98.3%
associate-*l*100.0%
exp-sqrt100.0%
Simplified100.0%
Taylor expanded in t around 0 76.2%
Taylor expanded in x around inf 44.5%
*-commutative44.5%
metadata-eval44.5%
div-inv44.5%
pow244.5%
associate-/l*44.5%
Applied egg-rr44.5%
associate-/r/44.5%
Simplified44.5%
Final simplification62.2%
(FPCore (x y z t) :precision binary64 (* (sqrt (* 2.0 z)) (* (- (* 0.5 x) y) (+ 1.0 (* t (/ t 2.0))))))
double code(double x, double y, double z, double t) {
return sqrt((2.0 * z)) * (((0.5 * x) - y) * (1.0 + (t * (t / 2.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 = sqrt((2.0d0 * z)) * (((0.5d0 * x) - y) * (1.0d0 + (t * (t / 2.0d0))))
end function
public static double code(double x, double y, double z, double t) {
return Math.sqrt((2.0 * z)) * (((0.5 * x) - y) * (1.0 + (t * (t / 2.0))));
}
def code(x, y, z, t): return math.sqrt((2.0 * z)) * (((0.5 * x) - y) * (1.0 + (t * (t / 2.0))))
function code(x, y, z, t) return Float64(sqrt(Float64(2.0 * z)) * Float64(Float64(Float64(0.5 * x) - y) * Float64(1.0 + Float64(t * Float64(t / 2.0))))) end
function tmp = code(x, y, z, t) tmp = sqrt((2.0 * z)) * (((0.5 * x) - y) * (1.0 + (t * (t / 2.0)))); end
code[x_, y_, z_, t_] := N[(N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision] * N[(N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision] * N[(1.0 + N[(t * N[(t / 2.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sqrt{2 \cdot z} \cdot \left(\left(0.5 \cdot x - y\right) \cdot \left(1 + t \cdot \frac{t}{2}\right)\right)
\end{array}
Initial program 99.4%
*-commutative99.4%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
Taylor expanded in t around 0 87.7%
*-commutative48.2%
metadata-eval48.2%
div-inv48.2%
pow248.2%
associate-/l*48.2%
Applied egg-rr87.7%
associate-/r/48.2%
Simplified87.7%
Final simplification87.7%
(FPCore (x y z t) :precision binary64 (* (- (* 0.5 x) y) (sqrt (* 2.0 z))))
double code(double x, double y, double z, double t) {
return ((0.5 * x) - y) * sqrt((2.0 * z));
}
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 = ((0.5d0 * x) - y) * sqrt((2.0d0 * z))
end function
public static double code(double x, double y, double z, double t) {
return ((0.5 * x) - y) * Math.sqrt((2.0 * z));
}
def code(x, y, z, t): return ((0.5 * x) - y) * math.sqrt((2.0 * z))
function code(x, y, z, t) return Float64(Float64(Float64(0.5 * x) - y) * sqrt(Float64(2.0 * z))) end
function tmp = code(x, y, z, t) tmp = ((0.5 * x) - y) * sqrt((2.0 * z)); end
code[x_, y_, z_, t_] := N[(N[(N[(0.5 * x), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(0.5 \cdot x - y\right) \cdot \sqrt{2 \cdot z}
\end{array}
Initial program 99.4%
*-commutative99.4%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
Taylor expanded in t around 0 55.6%
Final simplification55.6%
(FPCore (x y z t) :precision binary64 (* (* 0.5 x) (sqrt (* 2.0 z))))
double code(double x, double y, double z, double t) {
return (0.5 * x) * sqrt((2.0 * z));
}
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 = (0.5d0 * x) * sqrt((2.0d0 * z))
end function
public static double code(double x, double y, double z, double t) {
return (0.5 * x) * Math.sqrt((2.0 * z));
}
def code(x, y, z, t): return (0.5 * x) * math.sqrt((2.0 * z))
function code(x, y, z, t) return Float64(Float64(0.5 * x) * sqrt(Float64(2.0 * z))) end
function tmp = code(x, y, z, t) tmp = (0.5 * x) * sqrt((2.0 * z)); end
code[x_, y_, z_, t_] := N[(N[(0.5 * x), $MachinePrecision] * N[Sqrt[N[(2.0 * z), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(0.5 \cdot x\right) \cdot \sqrt{2 \cdot z}
\end{array}
Initial program 99.4%
*-commutative99.4%
associate-*l*99.8%
exp-sqrt99.8%
Simplified99.8%
Taylor expanded in t around 0 87.7%
Taylor expanded in x around inf 48.2%
Taylor expanded in t around 0 27.8%
Final simplification27.8%
(FPCore (x y z t) :precision binary64 (* (* (- (* x 0.5) y) (sqrt (* z 2.0))) (pow (exp 1.0) (/ (* t t) 2.0))))
double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * sqrt((z * 2.0))) * pow(exp(1.0), ((t * t) / 2.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 = (((x * 0.5d0) - y) * sqrt((z * 2.0d0))) * (exp(1.0d0) ** ((t * t) / 2.0d0))
end function
public static double code(double x, double y, double z, double t) {
return (((x * 0.5) - y) * Math.sqrt((z * 2.0))) * Math.pow(Math.exp(1.0), ((t * t) / 2.0));
}
def code(x, y, z, t): return (((x * 0.5) - y) * math.sqrt((z * 2.0))) * math.pow(math.exp(1.0), ((t * t) / 2.0))
function code(x, y, z, t) return Float64(Float64(Float64(Float64(x * 0.5) - y) * sqrt(Float64(z * 2.0))) * (exp(1.0) ^ Float64(Float64(t * t) / 2.0))) end
function tmp = code(x, y, z, t) tmp = (((x * 0.5) - y) * sqrt((z * 2.0))) * (exp(1.0) ^ ((t * t) / 2.0)); end
code[x_, y_, z_, t_] := N[(N[(N[(N[(x * 0.5), $MachinePrecision] - y), $MachinePrecision] * N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Power[N[Exp[1.0], $MachinePrecision], N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x \cdot 0.5 - y\right) \cdot \sqrt{z \cdot 2}\right) \cdot {\left(e^{1}\right)}^{\left(\frac{t \cdot t}{2}\right)}
\end{array}
herbie shell --seed 2024029
(FPCore (x y z t)
:name "Data.Number.Erf:$cinvnormcdf from erf-2.0.0.0, A"
:precision binary64
:herbie-target
(* (* (- (* x 0.5) y) (sqrt (* z 2.0))) (pow (exp 1.0) (/ (* t t) 2.0)))
(* (* (- (* x 0.5) y) (sqrt (* z 2.0))) (exp (/ (* t t) 2.0))))