
(FPCore (x y z t a b)
:precision binary64
(+
x
(/
(*
y
(+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b))
(+
(* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z)
0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
def code(x, y, z, t, a, b): return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))
function code(x, y, z, t, a, b) return Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) end
function tmp = code(x, y, z, t, a, b) tmp = x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 21 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b)
:precision binary64
(+
x
(/
(*
y
(+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b))
(+
(* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z)
0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
def code(x, y, z, t, a, b): return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))
function code(x, y, z, t, a, b) return Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) end
function tmp = code(x, y, z, t, a, b) tmp = x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\end{array}
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.3e+44)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(if (<= z 4.4e+21)
(fma
(fma (fma t z a) z b)
(/
y
(fma
(fma (fma (+ 15.234687407 z) z 31.4690115749) z 11.9400905721)
z
0.607771387771))
x)
(+ x (fma 3.13060547623 y (/ (* (- t) (/ y z)) (- z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.3e+44) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else if (z <= 4.4e+21) {
tmp = fma(fma(fma(t, z, a), z, b), (y / fma(fma(fma((15.234687407 + z), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771)), x);
} else {
tmp = x + fma(3.13060547623, y, ((-t * (y / z)) / -z));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.3e+44) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); elseif (z <= 4.4e+21) tmp = fma(fma(fma(t, z, a), z, b), Float64(y / fma(fma(fma(Float64(15.234687407 + z), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771)), x); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(Float64(-t) * Float64(y / z)) / Float64(-z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.3e+44], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.4e+21], N[(N[(N[(t * z + a), $MachinePrecision] * z + b), $MachinePrecision] * N[(y / N[(N[(N[(N[(15.234687407 + z), $MachinePrecision] * z + 31.4690115749), $MachinePrecision] * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[((-t) * N[(y / z), $MachinePrecision]), $MachinePrecision] / (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.3 \cdot 10^{+44}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{elif}\;z \leq 4.4 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(t, z, a\right), z, b\right), \frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(15.234687407 + z, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{\left(-t\right) \cdot \frac{y}{z}}{-z}\right)\\
\end{array}
\end{array}
if z < -3.30000000000000013e44Initial program 6.1%
Taylor expanded in z around -inf
Applied rewrites76.1%
Taylor expanded in t around inf
Applied rewrites99.2%
if -3.30000000000000013e44 < z < 4.4e21Initial program 99.0%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6491.5
Applied rewrites91.5%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites91.4%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6499.2
Applied rewrites99.2%
if 4.4e21 < z Initial program 13.8%
Taylor expanded in z around -inf
Applied rewrites89.9%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* (* y b) 1.6453555072203998))
(t_2
(/
(*
y
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771))))
(if (<= t_2 -1e+115)
t_1
(if (<= t_2 2e+45)
(* 1.0 x)
(if (<= t_2 INFINITY) t_1 (+ x (* 3.13060547623 y)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * b) * 1.6453555072203998;
double t_2 = (y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771);
double tmp;
if (t_2 <= -1e+115) {
tmp = t_1;
} else if (t_2 <= 2e+45) {
tmp = 1.0 * x;
} else if (t_2 <= ((double) INFINITY)) {
tmp = t_1;
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * b) * 1.6453555072203998;
double t_2 = (y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771);
double tmp;
if (t_2 <= -1e+115) {
tmp = t_1;
} else if (t_2 <= 2e+45) {
tmp = 1.0 * x;
} else if (t_2 <= Double.POSITIVE_INFINITY) {
tmp = t_1;
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (y * b) * 1.6453555072203998 t_2 = (y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) tmp = 0 if t_2 <= -1e+115: tmp = t_1 elif t_2 <= 2e+45: tmp = 1.0 * x elif t_2 <= math.inf: tmp = t_1 else: tmp = x + (3.13060547623 * y) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(y * b) * 1.6453555072203998) t_2 = Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) tmp = 0.0 if (t_2 <= -1e+115) tmp = t_1; elseif (t_2 <= 2e+45) tmp = Float64(1.0 * x); elseif (t_2 <= Inf) tmp = t_1; else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (y * b) * 1.6453555072203998; t_2 = (y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771); tmp = 0.0; if (t_2 <= -1e+115) tmp = t_1; elseif (t_2 <= 2e+45) tmp = 1.0 * x; elseif (t_2 <= Inf) tmp = t_1; else tmp = x + (3.13060547623 * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]}, Block[{t$95$2 = N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, -1e+115], t$95$1, If[LessEqual[t$95$2, 2e+45], N[(1.0 * x), $MachinePrecision], If[LessEqual[t$95$2, Infinity], t$95$1, N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(y \cdot b\right) \cdot 1.6453555072203998\\
t_2 := \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}\\
\mathbf{if}\;t\_2 \leq -1 \cdot 10^{+115}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+45}:\\
\;\;\;\;1 \cdot x\\
\mathbf{elif}\;t\_2 \leq \infty:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < -1e115 or 1.9999999999999999e45 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < +inf.0Initial program 88.9%
Taylor expanded in z around 0
associate-+r+N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-out--N/A
lower-*.f64N/A
lower--.f64N/A
lower-*.f64N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-*.f6457.4
Applied rewrites57.4%
Taylor expanded in b around inf
Applied rewrites53.4%
Taylor expanded in z around 0
Applied rewrites53.3%
if -1e115 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < 1.9999999999999999e45Initial program 99.8%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6461.2
Applied rewrites61.2%
Taylor expanded in x around inf
Applied rewrites61.1%
Taylor expanded in x around inf
Applied rewrites67.6%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 0.0%
Taylor expanded in z around inf
lower-*.f6497.5
Applied rewrites97.5%
(FPCore (x y z t a b)
:precision binary64
(if (<=
(+
x
(/
(*
y
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771)))
INFINITY)
(fma
(/
(fma (fma (fma (fma 3.13060547623 z 11.1667541262) z t) z a) z b)
(fma
(fma (fma (+ 15.234687407 z) z 31.4690115749) z 11.9400905721)
z
0.607771387771))
y
x)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) <= ((double) INFINITY)) {
tmp = fma((fma(fma(fma(fma(3.13060547623, z, 11.1667541262), z, t), z, a), z, b) / fma(fma(fma((15.234687407 + z), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771)), y, x);
} else {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771))) <= Inf) tmp = fma(Float64(fma(fma(fma(fma(3.13060547623, z, 11.1667541262), z, t), z, a), z, b) / fma(fma(fma(Float64(15.234687407 + z), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771)), y, x); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(N[(N[(N[(N[(3.13060547623 * z + 11.1667541262), $MachinePrecision] * z + t), $MachinePrecision] * z + a), $MachinePrecision] * z + b), $MachinePrecision] / N[(N[(N[(N[(15.234687407 + z), $MachinePrecision] * z + 31.4690115749), $MachinePrecision] * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(3.13060547623, z, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(15.234687407 + z, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}, y, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\end{array}
\end{array}
if (+.f64 x (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64)))) < +inf.0Initial program 95.0%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
associate-/l*N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites97.2%
if +inf.0 < (+.f64 x (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64)))) Initial program 0.0%
Taylor expanded in z around -inf
Applied rewrites82.5%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(if (<=
(/
(*
y
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771))
2e+78)
(* 1.0 x)
(+ x (* 3.13060547623 y))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) {
tmp = 1.0 * x;
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0)) <= 2d+78) then
tmp = 1.0d0 * x
else
tmp = x + (3.13060547623d0 * y)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) {
tmp = 1.0 * x;
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78: tmp = 1.0 * x else: tmp = x + (3.13060547623 * y) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) tmp = Float64(1.0 * x); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) tmp = 1.0 * x; else tmp = x + (3.13060547623 * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], 2e+78], N[(1.0 * x), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \leq 2 \cdot 10^{+78}:\\
\;\;\;\;1 \cdot x\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < 2.00000000000000002e78Initial program 96.8%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6447.3
Applied rewrites47.3%
Taylor expanded in x around inf
Applied rewrites48.3%
Taylor expanded in x around inf
Applied rewrites51.1%
if 2.00000000000000002e78 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 23.4%
Taylor expanded in z around inf
lower-*.f6475.2
Applied rewrites75.2%
(FPCore (x y z t a b)
:precision binary64
(if (<=
(/
(*
y
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771))
2e+78)
(* 1.0 x)
(fma 3.13060547623 y x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) {
tmp = 1.0 * x;
} else {
tmp = fma(3.13060547623, y, x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)) <= 2e+78) tmp = Float64(1.0 * x); else tmp = fma(3.13060547623, y, x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], 2e+78], N[(1.0 * x), $MachinePrecision], N[(3.13060547623 * y + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771} \leq 2 \cdot 10^{+78}:\\
\;\;\;\;1 \cdot x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < 2.00000000000000002e78Initial program 96.8%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6447.3
Applied rewrites47.3%
Taylor expanded in x around inf
Applied rewrites48.3%
Taylor expanded in x around inf
Applied rewrites51.1%
if 2.00000000000000002e78 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 23.4%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6475.2
Applied rewrites75.2%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.12e+20)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(if (<= z 1.9e+21)
(fma
(fma (fma (fma 11.1667541262 z t) z a) z b)
(/ y (fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771))
x)
(+ x (fma 3.13060547623 y (/ (* (- t) (/ y z)) (- z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.12e+20) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else if (z <= 1.9e+21) {
tmp = fma(fma(fma(fma(11.1667541262, z, t), z, a), z, b), (y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x);
} else {
tmp = x + fma(3.13060547623, y, ((-t * (y / z)) / -z));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.12e+20) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); elseif (z <= 1.9e+21) tmp = fma(fma(fma(fma(11.1667541262, z, t), z, a), z, b), Float64(y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(Float64(-t) * Float64(y / z)) / Float64(-z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.12e+20], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e+21], N[(N[(N[(N[(11.1667541262 * z + t), $MachinePrecision] * z + a), $MachinePrecision] * z + b), $MachinePrecision] * N[(y / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[((-t) * N[(y / z), $MachinePrecision]), $MachinePrecision] / (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(11.1667541262, z, t\right), z, a\right), z, b\right), \frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{\left(-t\right) \cdot \frac{y}{z}}{-z}\right)\\
\end{array}
\end{array}
if z < -1.12e20Initial program 15.4%
Taylor expanded in z around -inf
Applied rewrites77.2%
Taylor expanded in t around inf
Applied rewrites97.6%
if -1.12e20 < z < 1.9e21Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6497.9
Applied rewrites97.9%
if 1.9e21 < z Initial program 13.8%
Taylor expanded in z around -inf
Applied rewrites89.9%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.12e+20)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(if (<= z 1.9e+21)
(fma
(fma (fma t z a) z b)
(/ y (fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771))
x)
(+ x (fma 3.13060547623 y (/ (* (- t) (/ y z)) (- z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.12e+20) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else if (z <= 1.9e+21) {
tmp = fma(fma(fma(t, z, a), z, b), (y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x);
} else {
tmp = x + fma(3.13060547623, y, ((-t * (y / z)) / -z));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.12e+20) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); elseif (z <= 1.9e+21) tmp = fma(fma(fma(t, z, a), z, b), Float64(y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(Float64(-t) * Float64(y / z)) / Float64(-z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.12e+20], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.9e+21], N[(N[(N[(t * z + a), $MachinePrecision] * z + b), $MachinePrecision] * N[(y / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[((-t) * N[(y / z), $MachinePrecision]), $MachinePrecision] / (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(t, z, a\right), z, b\right), \frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{\left(-t\right) \cdot \frac{y}{z}}{-z}\right)\\
\end{array}
\end{array}
if z < -1.12e20Initial program 15.4%
Taylor expanded in z around -inf
Applied rewrites77.2%
Taylor expanded in t around inf
Applied rewrites97.6%
if -1.12e20 < z < 1.9e21Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6497.5
Applied rewrites97.5%
if 1.9e21 < z Initial program 13.8%
Taylor expanded in z around -inf
Applied rewrites89.9%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.12e+20)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(if (<= z 8.8e+20)
(fma
(fma a z b)
(fma
(fma (- z) (* y -549.8376187179895) (* -32.324150453290734 y))
z
(* 1.6453555072203998 y))
x)
(+ x (fma 3.13060547623 y (/ (* (- t) (/ y z)) (- z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.12e+20) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else if (z <= 8.8e+20) {
tmp = fma(fma(a, z, b), fma(fma(-z, (y * -549.8376187179895), (-32.324150453290734 * y)), z, (1.6453555072203998 * y)), x);
} else {
tmp = x + fma(3.13060547623, y, ((-t * (y / z)) / -z));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.12e+20) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); elseif (z <= 8.8e+20) tmp = fma(fma(a, z, b), fma(fma(Float64(-z), Float64(y * -549.8376187179895), Float64(-32.324150453290734 * y)), z, Float64(1.6453555072203998 * y)), x); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(Float64(-t) * Float64(y / z)) / Float64(-z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.12e+20], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e+20], N[(N[(a * z + b), $MachinePrecision] * N[(N[((-z) * N[(y * -549.8376187179895), $MachinePrecision] + N[(-32.324150453290734 * y), $MachinePrecision]), $MachinePrecision] * z + N[(1.6453555072203998 * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[((-t) * N[(y / z), $MachinePrecision]), $MachinePrecision] / (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{elif}\;z \leq 8.8 \cdot 10^{+20}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(a, z, b\right), \mathsf{fma}\left(\mathsf{fma}\left(-z, y \cdot -549.8376187179895, -32.324150453290734 \cdot y\right), z, 1.6453555072203998 \cdot y\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{\left(-t\right) \cdot \frac{y}{z}}{-z}\right)\\
\end{array}
\end{array}
if z < -1.12e20Initial program 15.4%
Taylor expanded in z around -inf
Applied rewrites77.2%
Taylor expanded in t around inf
Applied rewrites97.6%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
fp-cancel-sub-sign-invN/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
distribute-rgt-outN/A
lower-*.f64N/A
metadata-evalN/A
metadata-evalN/A
lower-*.f64N/A
lower-*.f6492.5
Applied rewrites92.5%
if 8.8e20 < z Initial program 13.8%
Taylor expanded in z around -inf
Applied rewrites89.9%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.12e+20)
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(if (<= z 8.8e+20)
(+
x
(/
(* y (fma a z b))
(fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771)))
(+ x (fma 3.13060547623 y (/ (* (- t) (/ y z)) (- z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.12e+20) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else if (z <= 8.8e+20) {
tmp = x + ((y * fma(a, z, b)) / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771));
} else {
tmp = x + fma(3.13060547623, y, ((-t * (y / z)) / -z));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.12e+20) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); elseif (z <= 8.8e+20) tmp = Float64(x + Float64(Float64(y * fma(a, z, b)) / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771))); else tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(Float64(-t) * Float64(y / z)) / Float64(-z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.12e+20], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e+20], N[(x + N[(N[(y * N[(a * z + b), $MachinePrecision]), $MachinePrecision] / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(3.13060547623 * y + N[(N[((-t) * N[(y / z), $MachinePrecision]), $MachinePrecision] / (-z)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{elif}\;z \leq 8.8 \cdot 10^{+20}:\\
\;\;\;\;x + \frac{y \cdot \mathsf{fma}\left(a, z, b\right)}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{\left(-t\right) \cdot \frac{y}{z}}{-z}\right)\\
\end{array}
\end{array}
if z < -1.12e20Initial program 15.4%
Taylor expanded in z around -inf
Applied rewrites77.2%
Taylor expanded in t around inf
Applied rewrites97.6%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
if 8.8e20 < z Initial program 13.8%
Taylor expanded in z around -inf
Applied rewrites89.9%
Taylor expanded in t around inf
Applied rewrites100.0%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.12e+20) (not (<= z 8.8e+20)))
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(+
x
(/
(* y (fma a z b))
(fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+20) || !(z <= 8.8e+20)) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else {
tmp = x + ((y * fma(a, z, b)) / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.12e+20) || !(z <= 8.8e+20)) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); else tmp = Float64(x + Float64(Float64(y * fma(a, z, b)) / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.12e+20], N[Not[LessEqual[z, 8.8e+20]], $MachinePrecision]], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(a * z + b), $MachinePrecision]), $MachinePrecision] / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20} \lor \neg \left(z \leq 8.8 \cdot 10^{+20}\right):\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \mathsf{fma}\left(a, z, b\right)}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}\\
\end{array}
\end{array}
if z < -1.12e20 or 8.8e20 < z Initial program 14.6%
Taylor expanded in z around -inf
Applied rewrites83.4%
Taylor expanded in t around inf
Applied rewrites98.8%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
Final simplification95.4%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.85e+54)
(fma 3.13060547623 y x)
(if (<= z -1.12e+20)
(+ x (* t (/ y (* z z))))
(if (<= z 2.1e+21)
(+ x (/ (* y (fma a z b)) (fma 11.9400905721 z 0.607771387771)))
(+ x (* 3.13060547623 y))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.85e+54) {
tmp = fma(3.13060547623, y, x);
} else if (z <= -1.12e+20) {
tmp = x + (t * (y / (z * z)));
} else if (z <= 2.1e+21) {
tmp = x + ((y * fma(a, z, b)) / fma(11.9400905721, z, 0.607771387771));
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.85e+54) tmp = fma(3.13060547623, y, x); elseif (z <= -1.12e+20) tmp = Float64(x + Float64(t * Float64(y / Float64(z * z)))); elseif (z <= 2.1e+21) tmp = Float64(x + Float64(Float64(y * fma(a, z, b)) / fma(11.9400905721, z, 0.607771387771))); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.85e+54], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, -1.12e+20], N[(x + N[(t * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(x + N[(N[(y * N[(a * z + b), $MachinePrecision]), $MachinePrecision] / N[(11.9400905721 * z + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.85 \cdot 10^{+54}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + t \cdot \frac{y}{z \cdot z}\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;x + \frac{y \cdot \mathsf{fma}\left(a, z, b\right)}{\mathsf{fma}\left(11.9400905721, z, 0.607771387771\right)}\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -1.8500000000000001e54Initial program 6.2%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6493.1
Applied rewrites93.1%
if -1.8500000000000001e54 < z < -1.12e20Initial program 68.3%
Taylor expanded in z around -inf
Applied rewrites78.5%
Taylor expanded in z around 0
Applied rewrites78.1%
Taylor expanded in t around inf
Applied rewrites88.6%
Applied rewrites88.9%
if -1.12e20 < z < 2.1e21Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.3
Applied rewrites92.3%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.12e+20) (not (<= z 8.8e+20)))
(+ x (fma 3.13060547623 y (* (/ t z) (/ y z))))
(fma
(fma a z b)
(/ y (fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+20) || !(z <= 8.8e+20)) {
tmp = x + fma(3.13060547623, y, ((t / z) * (y / z)));
} else {
tmp = fma(fma(a, z, b), (y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.12e+20) || !(z <= 8.8e+20)) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(t / z) * Float64(y / z)))); else tmp = fma(fma(a, z, b), Float64(y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.12e+20], N[Not[LessEqual[z, 8.8e+20]], $MachinePrecision]], N[(x + N[(3.13060547623 * y + N[(N[(t / z), $MachinePrecision] * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * z + b), $MachinePrecision] * N[(y / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20} \lor \neg \left(z \leq 8.8 \cdot 10^{+20}\right):\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{t}{z} \cdot \frac{y}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(a, z, b\right), \frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}, x\right)\\
\end{array}
\end{array}
if z < -1.12e20 or 8.8e20 < z Initial program 14.6%
Taylor expanded in z around -inf
Applied rewrites83.4%
Taylor expanded in t around inf
Applied rewrites98.8%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
Final simplification95.4%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.12e+20) (not (<= z 8.8e+20)))
(+ x (fma 3.13060547623 y (* (/ y (* z z)) (+ 457.9610022158428 t))))
(fma
(fma a z b)
(/ y (fma (fma 31.4690115749 z 11.9400905721) z 0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+20) || !(z <= 8.8e+20)) {
tmp = x + fma(3.13060547623, y, ((y / (z * z)) * (457.9610022158428 + t)));
} else {
tmp = fma(fma(a, z, b), (y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.12e+20) || !(z <= 8.8e+20)) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(y / Float64(z * z)) * Float64(457.9610022158428 + t)))); else tmp = fma(fma(a, z, b), Float64(y / fma(fma(31.4690115749, z, 11.9400905721), z, 0.607771387771)), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.12e+20], N[Not[LessEqual[z, 8.8e+20]], $MachinePrecision]], N[(x + N[(3.13060547623 * y + N[(N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision] * N[(457.9610022158428 + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * z + b), $MachinePrecision] * N[(y / N[(N[(31.4690115749 * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20} \lor \neg \left(z \leq 8.8 \cdot 10^{+20}\right):\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{y}{z \cdot z} \cdot \left(457.9610022158428 + t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(a, z, b\right), \frac{y}{\mathsf{fma}\left(\mathsf{fma}\left(31.4690115749, z, 11.9400905721\right), z, 0.607771387771\right)}, x\right)\\
\end{array}
\end{array}
if z < -1.12e20 or 8.8e20 < z Initial program 14.6%
Taylor expanded in z around -inf
Applied rewrites83.4%
Taylor expanded in z around 0
Applied rewrites83.1%
Taylor expanded in y around 0
Applied rewrites96.7%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.5
Applied rewrites92.5%
Final simplification94.4%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.85e+54)
(fma 3.13060547623 y x)
(if (<= z -1.12e+20)
(+ x (* t (/ y (* z z))))
(if (<= z 2.1e+21)
(fma (fma a z b) (/ y (fma 11.9400905721 z 0.607771387771)) x)
(+ x (* 3.13060547623 y))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.85e+54) {
tmp = fma(3.13060547623, y, x);
} else if (z <= -1.12e+20) {
tmp = x + (t * (y / (z * z)));
} else if (z <= 2.1e+21) {
tmp = fma(fma(a, z, b), (y / fma(11.9400905721, z, 0.607771387771)), x);
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.85e+54) tmp = fma(3.13060547623, y, x); elseif (z <= -1.12e+20) tmp = Float64(x + Float64(t * Float64(y / Float64(z * z)))); elseif (z <= 2.1e+21) tmp = fma(fma(a, z, b), Float64(y / fma(11.9400905721, z, 0.607771387771)), x); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.85e+54], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, -1.12e+20], N[(x + N[(t * N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(N[(a * z + b), $MachinePrecision] * N[(y / N[(11.9400905721 * z + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.85 \cdot 10^{+54}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq -1.12 \cdot 10^{+20}:\\
\;\;\;\;x + t \cdot \frac{y}{z \cdot z}\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(a, z, b\right), \frac{y}{\mathsf{fma}\left(11.9400905721, z, 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -1.8500000000000001e54Initial program 6.2%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6493.1
Applied rewrites93.1%
if -1.8500000000000001e54 < z < -1.12e20Initial program 68.3%
Taylor expanded in z around -inf
Applied rewrites78.5%
Taylor expanded in z around 0
Applied rewrites78.1%
Taylor expanded in t around inf
Applied rewrites88.6%
Applied rewrites88.9%
if -1.12e20 < z < 2.1e21Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites93.8%
Taylor expanded in z around 0
Applied rewrites92.3%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -1.12e+20) (not (<= z 8.8e+20))) (+ x (fma 3.13060547623 y (* (/ y (* z z)) (+ 457.9610022158428 t)))) (+ x (/ (* y (fma a z b)) (fma 11.9400905721 z 0.607771387771)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.12e+20) || !(z <= 8.8e+20)) {
tmp = x + fma(3.13060547623, y, ((y / (z * z)) * (457.9610022158428 + t)));
} else {
tmp = x + ((y * fma(a, z, b)) / fma(11.9400905721, z, 0.607771387771));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.12e+20) || !(z <= 8.8e+20)) tmp = Float64(x + fma(3.13060547623, y, Float64(Float64(y / Float64(z * z)) * Float64(457.9610022158428 + t)))); else tmp = Float64(x + Float64(Float64(y * fma(a, z, b)) / fma(11.9400905721, z, 0.607771387771))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.12e+20], N[Not[LessEqual[z, 8.8e+20]], $MachinePrecision]], N[(x + N[(3.13060547623 * y + N[(N[(y / N[(z * z), $MachinePrecision]), $MachinePrecision] * N[(457.9610022158428 + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(a * z + b), $MachinePrecision]), $MachinePrecision] / N[(11.9400905721 * z + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.12 \cdot 10^{+20} \lor \neg \left(z \leq 8.8 \cdot 10^{+20}\right):\\
\;\;\;\;x + \mathsf{fma}\left(3.13060547623, y, \frac{y}{z \cdot z} \cdot \left(457.9610022158428 + t\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \mathsf{fma}\left(a, z, b\right)}{\mathsf{fma}\left(11.9400905721, z, 0.607771387771\right)}\\
\end{array}
\end{array}
if z < -1.12e20 or 8.8e20 < z Initial program 14.6%
Taylor expanded in z around -inf
Applied rewrites83.4%
Taylor expanded in z around 0
Applied rewrites83.1%
Taylor expanded in y around 0
Applied rewrites96.7%
if -1.12e20 < z < 8.8e20Initial program 99.7%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6493.8
Applied rewrites93.8%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6492.3
Applied rewrites92.3%
Final simplification94.3%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.4e+44)
(fma 3.13060547623 y x)
(if (<= z 2.1e+21)
(fma (fma a z b) (* 1.6453555072203998 y) x)
(+ x (* 3.13060547623 y)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.4e+44) {
tmp = fma(3.13060547623, y, x);
} else if (z <= 2.1e+21) {
tmp = fma(fma(a, z, b), (1.6453555072203998 * y), x);
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.4e+44) tmp = fma(3.13060547623, y, x); elseif (z <= 2.1e+21) tmp = fma(fma(a, z, b), Float64(1.6453555072203998 * y), x); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.4e+44], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(N[(a * z + b), $MachinePrecision] * N[(1.6453555072203998 * y), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.4 \cdot 10^{+44}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(a, z, b\right), 1.6453555072203998 \cdot y, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -2.40000000000000013e44Initial program 6.1%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6491.6
Applied rewrites91.6%
if -2.40000000000000013e44 < z < 2.1e21Initial program 99.0%
Taylor expanded in z around 0
+-commutativeN/A
lower-fma.f6491.5
Applied rewrites91.5%
lift-+.f64N/A
+-commutativeN/A
lift-/.f64N/A
lift-*.f64N/A
*-commutativeN/A
associate-/l*N/A
lower-fma.f64N/A
Applied rewrites91.4%
Taylor expanded in z around 0
lower-*.f6489.6
Applied rewrites89.6%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -6e+50)
(fma 3.13060547623 y x)
(if (<= z 2.1e+21)
(+ x (* (* b y) 1.6453555072203998))
(+ x (* 3.13060547623 y)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -6e+50) {
tmp = fma(3.13060547623, y, x);
} else if (z <= 2.1e+21) {
tmp = x + ((b * y) * 1.6453555072203998);
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -6e+50) tmp = fma(3.13060547623, y, x); elseif (z <= 2.1e+21) tmp = Float64(x + Float64(Float64(b * y) * 1.6453555072203998)); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -6e+50], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(x + N[(N[(b * y), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6 \cdot 10^{+50}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;x + \left(b \cdot y\right) \cdot 1.6453555072203998\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -5.9999999999999996e50Initial program 6.2%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6491.4
Applied rewrites91.4%
if -5.9999999999999996e50 < z < 2.1e21Initial program 98.4%
Taylor expanded in z around 0
*-commutativeN/A
lower-*.f64N/A
lower-*.f6480.8
Applied rewrites80.8%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -6e+50)
(fma 3.13060547623 y x)
(if (<= z 2.1e+21)
(fma (* b y) 1.6453555072203998 x)
(+ x (* 3.13060547623 y)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -6e+50) {
tmp = fma(3.13060547623, y, x);
} else if (z <= 2.1e+21) {
tmp = fma((b * y), 1.6453555072203998, x);
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -6e+50) tmp = fma(3.13060547623, y, x); elseif (z <= 2.1e+21) tmp = fma(Float64(b * y), 1.6453555072203998, x); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -6e+50], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(N[(b * y), $MachinePrecision] * 1.6453555072203998 + x), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6 \cdot 10^{+50}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(b \cdot y, 1.6453555072203998, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -5.9999999999999996e50Initial program 6.2%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6491.4
Applied rewrites91.4%
if -5.9999999999999996e50 < z < 2.1e21Initial program 98.4%
Taylor expanded in z around 0
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower-*.f6480.8
Applied rewrites80.8%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -6e+50)
(fma 3.13060547623 y x)
(if (<= z 2.1e+21)
(fma (* 1.6453555072203998 b) y x)
(+ x (* 3.13060547623 y)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -6e+50) {
tmp = fma(3.13060547623, y, x);
} else if (z <= 2.1e+21) {
tmp = fma((1.6453555072203998 * b), y, x);
} else {
tmp = x + (3.13060547623 * y);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -6e+50) tmp = fma(3.13060547623, y, x); elseif (z <= 2.1e+21) tmp = fma(Float64(1.6453555072203998 * b), y, x); else tmp = Float64(x + Float64(3.13060547623 * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -6e+50], N[(3.13060547623 * y + x), $MachinePrecision], If[LessEqual[z, 2.1e+21], N[(N[(1.6453555072203998 * b), $MachinePrecision] * y + x), $MachinePrecision], N[(x + N[(3.13060547623 * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -6 \cdot 10^{+50}:\\
\;\;\;\;\mathsf{fma}\left(3.13060547623, y, x\right)\\
\mathbf{elif}\;z \leq 2.1 \cdot 10^{+21}:\\
\;\;\;\;\mathsf{fma}\left(1.6453555072203998 \cdot b, y, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + 3.13060547623 \cdot y\\
\end{array}
\end{array}
if z < -5.9999999999999996e50Initial program 6.2%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6491.4
Applied rewrites91.4%
if -5.9999999999999996e50 < z < 2.1e21Initial program 98.4%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6436.7
Applied rewrites36.7%
Taylor expanded in z around 0
+-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
lower-*.f6480.8
Applied rewrites80.8%
if 2.1e21 < z Initial program 13.8%
Taylor expanded in z around inf
lower-*.f6495.0
Applied rewrites95.0%
(FPCore (x y z t a b) :precision binary64 (if (or (<= x -4e-78) (not (<= x 2.4e-178))) (* 1.0 x) (* 3.13060547623 y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((x <= -4e-78) || !(x <= 2.4e-178)) {
tmp = 1.0 * x;
} else {
tmp = 3.13060547623 * y;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((x <= (-4d-78)) .or. (.not. (x <= 2.4d-178))) then
tmp = 1.0d0 * x
else
tmp = 3.13060547623d0 * y
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((x <= -4e-78) || !(x <= 2.4e-178)) {
tmp = 1.0 * x;
} else {
tmp = 3.13060547623 * y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (x <= -4e-78) or not (x <= 2.4e-178): tmp = 1.0 * x else: tmp = 3.13060547623 * y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((x <= -4e-78) || !(x <= 2.4e-178)) tmp = Float64(1.0 * x); else tmp = Float64(3.13060547623 * y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((x <= -4e-78) || ~((x <= 2.4e-178))) tmp = 1.0 * x; else tmp = 3.13060547623 * y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[x, -4e-78], N[Not[LessEqual[x, 2.4e-178]], $MachinePrecision]], N[(1.0 * x), $MachinePrecision], N[(3.13060547623 * y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -4 \cdot 10^{-78} \lor \neg \left(x \leq 2.4 \cdot 10^{-178}\right):\\
\;\;\;\;1 \cdot x\\
\mathbf{else}:\\
\;\;\;\;3.13060547623 \cdot y\\
\end{array}
\end{array}
if x < -4e-78 or 2.40000000000000005e-178 < x Initial program 62.1%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6467.6
Applied rewrites67.6%
Taylor expanded in x around inf
Applied rewrites66.0%
Taylor expanded in x around inf
Applied rewrites61.6%
if -4e-78 < x < 2.40000000000000005e-178Initial program 55.9%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6447.8
Applied rewrites47.8%
Taylor expanded in x around 0
Applied rewrites40.6%
Final simplification54.9%
(FPCore (x y z t a b) :precision binary64 (* 3.13060547623 y))
double code(double x, double y, double z, double t, double a, double b) {
return 3.13060547623 * y;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = 3.13060547623d0 * y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return 3.13060547623 * y;
}
def code(x, y, z, t, a, b): return 3.13060547623 * y
function code(x, y, z, t, a, b) return Float64(3.13060547623 * y) end
function tmp = code(x, y, z, t, a, b) tmp = 3.13060547623 * y; end
code[x_, y_, z_, t_, a_, b_] := N[(3.13060547623 * y), $MachinePrecision]
\begin{array}{l}
\\
3.13060547623 \cdot y
\end{array}
Initial program 60.1%
Taylor expanded in z around inf
+-commutativeN/A
lower-fma.f6461.3
Applied rewrites61.3%
Taylor expanded in x around 0
Applied rewrites21.3%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(+
x
(*
(+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z)))
(/ y 1.0)))))
(if (< z -6.499344996252632e+53)
t_1
(if (< z 7.066965436914287e+59)
(+
x
(/
y
(/
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771)
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))))
t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x + (((3.13060547623d0 - (36.527041698806414d0 / z)) + (t / (z * z))) * (y / 1.0d0))
if (z < (-6.499344996252632d+53)) then
tmp = t_1
else if (z < 7.066965436914287d+59) then
tmp = x + (y / ((((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0) / ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)) tmp = 0 if z < -6.499344996252632e+53: tmp = t_1 elif z < 7.066965436914287e+59: tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(Float64(Float64(3.13060547623 - Float64(36.527041698806414 / z)) + Float64(t / Float64(z * z))) * Float64(y / 1.0))) tmp = 0.0 if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = Float64(x + Float64(y / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)); tmp = 0.0; if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(N[(N[(3.13060547623 - N[(36.527041698806414 / z), $MachinePrecision]), $MachinePrecision] + N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y / 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -6.499344996252632e+53], t$95$1, If[Less[z, 7.066965436914287e+59], N[(x + N[(y / N[(N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\
\mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z < 7.066965436914287 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024338
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:alt
(! :herbie-platform default (if (< z -649934499625263200000000000000000000000000000000000000) (+ x (* (+ (- 313060547623/100000000000 (/ 18263520849403207/500000000000000 z)) (/ t (* z z))) (/ y 1))) (if (< z 706696543691428700000000000000000000000000000000000000000000) (+ x (/ y (/ (+ (* (+ (* (+ (* (+ z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000) (+ (* (+ (* (+ (* (+ (* z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)))) (+ x (* (+ (- 313060547623/100000000000 (/ 18263520849403207/500000000000000 z)) (/ t (* z z))) (/ y 1))))))
(+ x (/ (* y (+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b)) (+ (* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z) 0.607771387771))))