
(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 (let* ((t_1 (sqrt (* z 2.0)))) (* (- (* (* x 0.5) t_1) (* t_1 y)) (exp (/ (* t t) 2.0)))))
double code(double x, double y, double z, double t) {
double t_1 = sqrt((z * 2.0));
return (((x * 0.5) * t_1) - (t_1 * y)) * 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
real(8) :: t_1
t_1 = sqrt((z * 2.0d0))
code = (((x * 0.5d0) * t_1) - (t_1 * y)) * exp(((t * t) / 2.0d0))
end function
public static double code(double x, double y, double z, double t) {
double t_1 = Math.sqrt((z * 2.0));
return (((x * 0.5) * t_1) - (t_1 * y)) * Math.exp(((t * t) / 2.0));
}
def code(x, y, z, t): t_1 = math.sqrt((z * 2.0)) return (((x * 0.5) * t_1) - (t_1 * y)) * math.exp(((t * t) / 2.0))
function code(x, y, z, t) t_1 = sqrt(Float64(z * 2.0)) return Float64(Float64(Float64(Float64(x * 0.5) * t_1) - Float64(t_1 * y)) * exp(Float64(Float64(t * t) / 2.0))) end
function tmp = code(x, y, z, t) t_1 = sqrt((z * 2.0)); tmp = (((x * 0.5) * t_1) - (t_1 * y)) * exp(((t * t) / 2.0)); end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision]}, N[(N[(N[(N[(x * 0.5), $MachinePrecision] * t$95$1), $MachinePrecision] - N[(t$95$1 * y), $MachinePrecision]), $MachinePrecision] * N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \sqrt{z \cdot 2}\\
\left(\left(x \cdot 0.5\right) \cdot t_1 - t_1 \cdot y\right) \cdot e^{\frac{t \cdot t}{2}}
\end{array}
\end{array}
Initial program 99.8%
*-commutative99.8%
sub-neg99.8%
distribute-rgt-in99.8%
Applied egg-rr99.8%
Final simplification99.8%
(FPCore (x y z t)
:precision binary64
(let* ((t_1 (sqrt (* z 2.0))))
(if (<= (* t t) 2.1e+19)
(* t_1 (- y))
(* (exp (/ (* t t) 2.0)) (* t_1 y)))))
double code(double x, double y, double z, double t) {
double t_1 = sqrt((z * 2.0));
double tmp;
if ((t * t) <= 2.1e+19) {
tmp = t_1 * -y;
} else {
tmp = exp(((t * t) / 2.0)) * (t_1 * 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) :: t_1
real(8) :: tmp
t_1 = sqrt((z * 2.0d0))
if ((t * t) <= 2.1d+19) then
tmp = t_1 * -y
else
tmp = exp(((t * t) / 2.0d0)) * (t_1 * y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double t_1 = Math.sqrt((z * 2.0));
double tmp;
if ((t * t) <= 2.1e+19) {
tmp = t_1 * -y;
} else {
tmp = Math.exp(((t * t) / 2.0)) * (t_1 * y);
}
return tmp;
}
def code(x, y, z, t): t_1 = math.sqrt((z * 2.0)) tmp = 0 if (t * t) <= 2.1e+19: tmp = t_1 * -y else: tmp = math.exp(((t * t) / 2.0)) * (t_1 * y) return tmp
function code(x, y, z, t) t_1 = sqrt(Float64(z * 2.0)) tmp = 0.0 if (Float64(t * t) <= 2.1e+19) tmp = Float64(t_1 * Float64(-y)); else tmp = Float64(exp(Float64(Float64(t * t) / 2.0)) * Float64(t_1 * y)); end return tmp end
function tmp_2 = code(x, y, z, t) t_1 = sqrt((z * 2.0)); tmp = 0.0; if ((t * t) <= 2.1e+19) tmp = t_1 * -y; else tmp = exp(((t * t) / 2.0)) * (t_1 * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[N[(t * t), $MachinePrecision], 2.1e+19], N[(t$95$1 * (-y)), $MachinePrecision], N[(N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision] * N[(t$95$1 * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \sqrt{z \cdot 2}\\
\mathbf{if}\;t \cdot t \leq 2.1 \cdot 10^{+19}:\\
\;\;\;\;t_1 \cdot \left(-y\right)\\
\mathbf{else}:\\
\;\;\;\;e^{\frac{t \cdot t}{2}} \cdot \left(t_1 \cdot y\right)\\
\end{array}
\end{array}
if (*.f64 t t) < 2.1e19Initial program 99.6%
Taylor expanded in x around 0 58.5%
mul-1-neg58.5%
distribute-rgt-neg-in58.5%
associate-*l*58.6%
Simplified58.6%
add-sqr-sqrt0.0%
sqrt-unprod2.9%
sqr-neg2.9%
add-sqr-sqrt2.9%
sqrt-prod2.9%
*-commutative2.9%
Applied egg-rr2.9%
Taylor expanded in t around 0 2.9%
associate-*l*2.9%
Simplified2.9%
add-sqr-sqrt1.0%
sqrt-unprod19.6%
sqr-neg19.6%
sqrt-unprod25.6%
add-sqr-sqrt55.2%
sqrt-prod55.3%
distribute-lft-neg-out55.3%
sqrt-prod55.2%
neg-sub055.2%
sqrt-prod55.3%
Applied egg-rr55.3%
neg-sub055.3%
distribute-rgt-neg-in55.3%
Simplified55.3%
if 2.1e19 < (*.f64 t t) Initial program 100.0%
Taylor expanded in x around 0 71.5%
mul-1-neg71.5%
distribute-rgt-neg-in71.5%
associate-*l*71.5%
Simplified71.5%
add-sqr-sqrt0.0%
sqrt-unprod25.2%
sqr-neg25.2%
add-sqr-sqrt25.2%
sqrt-prod25.2%
*-commutative25.2%
Applied egg-rr25.2%
Final simplification40.8%
(FPCore (x y z t) :precision binary64 (* (exp (/ (* t t) 2.0)) (* (sqrt (* z 2.0)) (- (* x 0.5) y))))
double code(double x, double y, double z, double t) {
return exp(((t * t) / 2.0)) * (sqrt((z * 2.0)) * ((x * 0.5) - 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 = exp(((t * t) / 2.0d0)) * (sqrt((z * 2.0d0)) * ((x * 0.5d0) - y))
end function
public static double code(double x, double y, double z, double t) {
return Math.exp(((t * t) / 2.0)) * (Math.sqrt((z * 2.0)) * ((x * 0.5) - y));
}
def code(x, y, z, t): return math.exp(((t * t) / 2.0)) * (math.sqrt((z * 2.0)) * ((x * 0.5) - y))
function code(x, y, z, t) return Float64(exp(Float64(Float64(t * t) / 2.0)) * Float64(sqrt(Float64(z * 2.0)) * Float64(Float64(x * 0.5) - y))) end
function tmp = code(x, y, z, t) tmp = exp(((t * t) / 2.0)) * (sqrt((z * 2.0)) * ((x * 0.5) - y)); end
code[x_, y_, z_, t_] := N[(N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision] * N[(N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision] * N[(N[(x * 0.5), $MachinePrecision] - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
e^{\frac{t \cdot t}{2}} \cdot \left(\sqrt{z \cdot 2} \cdot \left(x \cdot 0.5 - y\right)\right)
\end{array}
Initial program 99.8%
Final simplification99.8%
(FPCore (x y z t) :precision binary64 (* (exp (/ (* t t) 2.0)) (* (sqrt (* z 2.0)) (- y))))
double code(double x, double y, double z, double t) {
return exp(((t * t) / 2.0)) * (sqrt((z * 2.0)) * -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 = exp(((t * t) / 2.0d0)) * (sqrt((z * 2.0d0)) * -y)
end function
public static double code(double x, double y, double z, double t) {
return Math.exp(((t * t) / 2.0)) * (Math.sqrt((z * 2.0)) * -y);
}
def code(x, y, z, t): return math.exp(((t * t) / 2.0)) * (math.sqrt((z * 2.0)) * -y)
function code(x, y, z, t) return Float64(exp(Float64(Float64(t * t) / 2.0)) * Float64(sqrt(Float64(z * 2.0)) * Float64(-y))) end
function tmp = code(x, y, z, t) tmp = exp(((t * t) / 2.0)) * (sqrt((z * 2.0)) * -y); end
code[x_, y_, z_, t_] := N[(N[Exp[N[(N[(t * t), $MachinePrecision] / 2.0), $MachinePrecision]], $MachinePrecision] * N[(N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision] * (-y)), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
e^{\frac{t \cdot t}{2}} \cdot \left(\sqrt{z \cdot 2} \cdot \left(-y\right)\right)
\end{array}
Initial program 99.8%
Taylor expanded in x around 0 64.8%
mul-1-neg64.8%
distribute-rgt-neg-in64.8%
associate-*l*64.8%
Simplified64.8%
*-commutative64.8%
distribute-lft-neg-out64.8%
sqrt-prod64.9%
Applied egg-rr64.9%
Final simplification64.9%
(FPCore (x y z t) :precision binary64 (if (<= t 250000.0) (* (sqrt (* z 2.0)) (- y)) (sqrt (* (* z 2.0) (pow y 2.0)))))
double code(double x, double y, double z, double t) {
double tmp;
if (t <= 250000.0) {
tmp = sqrt((z * 2.0)) * -y;
} else {
tmp = sqrt(((z * 2.0) * pow(y, 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) :: tmp
if (t <= 250000.0d0) then
tmp = sqrt((z * 2.0d0)) * -y
else
tmp = sqrt(((z * 2.0d0) * (y ** 2.0d0)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t) {
double tmp;
if (t <= 250000.0) {
tmp = Math.sqrt((z * 2.0)) * -y;
} else {
tmp = Math.sqrt(((z * 2.0) * Math.pow(y, 2.0)));
}
return tmp;
}
def code(x, y, z, t): tmp = 0 if t <= 250000.0: tmp = math.sqrt((z * 2.0)) * -y else: tmp = math.sqrt(((z * 2.0) * math.pow(y, 2.0))) return tmp
function code(x, y, z, t) tmp = 0.0 if (t <= 250000.0) tmp = Float64(sqrt(Float64(z * 2.0)) * Float64(-y)); else tmp = sqrt(Float64(Float64(z * 2.0) * (y ^ 2.0))); end return tmp end
function tmp_2 = code(x, y, z, t) tmp = 0.0; if (t <= 250000.0) tmp = sqrt((z * 2.0)) * -y; else tmp = sqrt(((z * 2.0) * (y ^ 2.0))); end tmp_2 = tmp; end
code[x_, y_, z_, t_] := If[LessEqual[t, 250000.0], N[(N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision] * (-y)), $MachinePrecision], N[Sqrt[N[(N[(z * 2.0), $MachinePrecision] * N[Power[y, 2.0], $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq 250000:\\
\;\;\;\;\sqrt{z \cdot 2} \cdot \left(-y\right)\\
\mathbf{else}:\\
\;\;\;\;\sqrt{\left(z \cdot 2\right) \cdot {y}^{2}}\\
\end{array}
\end{array}
if t < 2.5e5Initial program 99.7%
Taylor expanded in x around 0 62.6%
mul-1-neg62.6%
distribute-rgt-neg-in62.6%
associate-*l*62.7%
Simplified62.7%
add-sqr-sqrt0.0%
sqrt-unprod10.3%
sqr-neg10.3%
add-sqr-sqrt10.3%
sqrt-prod10.3%
*-commutative10.3%
Applied egg-rr10.3%
Taylor expanded in t around 0 2.5%
associate-*l*2.5%
Simplified2.5%
add-sqr-sqrt0.8%
sqrt-unprod18.6%
sqr-neg18.6%
sqrt-unprod19.7%
add-sqr-sqrt40.4%
sqrt-prod40.4%
distribute-lft-neg-out40.4%
sqrt-prod40.4%
neg-sub040.4%
sqrt-prod40.4%
Applied egg-rr40.4%
neg-sub040.4%
distribute-rgt-neg-in40.4%
Simplified40.4%
if 2.5e5 < t Initial program 100.0%
Taylor expanded in x around 0 71.4%
mul-1-neg71.4%
distribute-rgt-neg-in71.4%
associate-*l*71.4%
Simplified71.4%
add-sqr-sqrt0.0%
sqrt-unprod23.8%
sqr-neg23.8%
add-sqr-sqrt23.8%
sqrt-prod23.8%
*-commutative23.8%
Applied egg-rr23.8%
Taylor expanded in t around 0 1.1%
associate-*l*1.1%
Simplified1.1%
rem-square-sqrt0.5%
sqrt-unprod13.8%
sqrt-prod13.8%
*-commutative13.8%
sqrt-prod13.8%
*-commutative13.8%
swap-sqr16.9%
add-sqr-sqrt16.9%
pow216.9%
Applied egg-rr16.9%
Final simplification34.6%
(FPCore (x y z t) :precision binary64 (* (sqrt (* z 2.0)) (- y)))
double code(double x, double y, double z, double t) {
return sqrt((z * 2.0)) * -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 = sqrt((z * 2.0d0)) * -y
end function
public static double code(double x, double y, double z, double t) {
return Math.sqrt((z * 2.0)) * -y;
}
def code(x, y, z, t): return math.sqrt((z * 2.0)) * -y
function code(x, y, z, t) return Float64(sqrt(Float64(z * 2.0)) * Float64(-y)) end
function tmp = code(x, y, z, t) tmp = sqrt((z * 2.0)) * -y; end
code[x_, y_, z_, t_] := N[(N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision] * (-y)), $MachinePrecision]
\begin{array}{l}
\\
\sqrt{z \cdot 2} \cdot \left(-y\right)
\end{array}
Initial program 99.8%
Taylor expanded in x around 0 64.8%
mul-1-neg64.8%
distribute-rgt-neg-in64.8%
associate-*l*64.8%
Simplified64.8%
add-sqr-sqrt0.0%
sqrt-unprod13.6%
sqr-neg13.6%
add-sqr-sqrt13.6%
sqrt-prod13.6%
*-commutative13.6%
Applied egg-rr13.6%
Taylor expanded in t around 0 2.1%
associate-*l*2.1%
Simplified2.1%
add-sqr-sqrt0.8%
sqrt-unprod16.3%
sqr-neg16.3%
sqrt-unprod15.5%
add-sqr-sqrt32.7%
sqrt-prod32.8%
distribute-lft-neg-out32.8%
sqrt-prod32.7%
neg-sub032.7%
sqrt-prod32.8%
Applied egg-rr32.8%
neg-sub032.8%
distribute-rgt-neg-in32.8%
Simplified32.8%
Final simplification32.8%
(FPCore (x y z t) :precision binary64 (* (sqrt (* z 2.0)) y))
double code(double x, double y, double z, double t) {
return sqrt((z * 2.0)) * 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 = sqrt((z * 2.0d0)) * y
end function
public static double code(double x, double y, double z, double t) {
return Math.sqrt((z * 2.0)) * y;
}
def code(x, y, z, t): return math.sqrt((z * 2.0)) * y
function code(x, y, z, t) return Float64(sqrt(Float64(z * 2.0)) * y) end
function tmp = code(x, y, z, t) tmp = sqrt((z * 2.0)) * y; end
code[x_, y_, z_, t_] := N[(N[Sqrt[N[(z * 2.0), $MachinePrecision]], $MachinePrecision] * y), $MachinePrecision]
\begin{array}{l}
\\
\sqrt{z \cdot 2} \cdot y
\end{array}
Initial program 99.8%
Taylor expanded in x around 0 64.8%
mul-1-neg64.8%
distribute-rgt-neg-in64.8%
associate-*l*64.8%
Simplified64.8%
add-sqr-sqrt0.0%
sqrt-unprod13.6%
sqr-neg13.6%
add-sqr-sqrt13.6%
sqrt-prod13.6%
*-commutative13.6%
Applied egg-rr13.6%
Taylor expanded in t around 0 2.1%
associate-*l*2.1%
Simplified2.1%
sqrt-prod2.1%
expm1-log1p-u2.1%
expm1-udef2.3%
Applied egg-rr2.3%
expm1-def2.1%
expm1-log1p2.1%
Simplified2.1%
Final simplification2.1%
(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 2023310
(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))))