
(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 16 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 (<=
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
INFINITY)
(fma
y
(/
(fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)
(fma
z
(fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
0.607771387771))
x)
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= ((double) INFINITY)) {
tmp = fma(y, (fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x);
} else {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= Inf) tmp = fma(y, Float64(fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x); else tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], Infinity], N[(y * N[(N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision] / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\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))) < +inf.0Initial program 95.5%
Simplified98.4%
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%
Simplified0.0%
Taylor expanded in z around -inf 99.0%
mul-1-neg99.0%
unsub-neg99.0%
mul-1-neg99.0%
unsub-neg99.0%
+-commutative99.0%
Simplified99.0%
fma-undefine99.0%
Applied egg-rr99.0%
Final simplification98.7%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))))
(if (<= t_1 INFINITY)
(+ t_1 x)
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771);
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1 + x;
} else {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771);
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1 + x;
} else {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771) tmp = 0 if t_1 <= math.inf: tmp = t_1 + x else: tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(t_1 + x); else tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771); tmp = 0.0; if (t_1 <= Inf) tmp = t_1 + x; else tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(t$95$1 + x), $MachinePrecision], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771}\\
\mathbf{if}\;t\_1 \leq \infty:\\
\;\;\;\;t\_1 + x\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\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))) < +inf.0Initial program 95.5%
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%
Simplified0.0%
Taylor expanded in z around -inf 99.0%
mul-1-neg99.0%
unsub-neg99.0%
mul-1-neg99.0%
unsub-neg99.0%
+-commutative99.0%
Simplified99.0%
fma-undefine99.0%
Applied egg-rr99.0%
Final simplification96.8%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -9e+20) (not (<= z 2.1e+28)))
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -9e+20) || !(z <= 2.1e+28)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
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 ((z <= (-9d+20)) .or. (.not. (z <= 2.1d+28))) then
tmp = x + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0))
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 ((z <= -9e+20) || !(z <= 2.1e+28)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -9e+20) or not (z <= 2.1e+28): tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -9e+20) || !(z <= 2.1e+28)) tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * 11.1667541262))))))) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -9e+20) || ~((z <= 2.1e+28))) tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -9e+20], N[Not[LessEqual[z, 2.1e+28]], $MachinePrecision]], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * 11.1667541262), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -9 \cdot 10^{+20} \lor \neg \left(z \leq 2.1 \cdot 10^{+28}\right):\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771}\\
\end{array}
\end{array}
if z < -9e20 or 2.09999999999999989e28 < z Initial program 10.6%
Simplified12.9%
Taylor expanded in z around -inf 97.6%
mul-1-neg97.6%
unsub-neg97.6%
mul-1-neg97.6%
unsub-neg97.6%
+-commutative97.6%
Simplified97.6%
fma-undefine97.6%
Applied egg-rr97.6%
if -9e20 < z < 2.09999999999999989e28Initial program 98.3%
Taylor expanded in z around 0 97.8%
*-commutative94.9%
Simplified97.8%
Final simplification97.7%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.7e+20) (not (<= z 1.65e+27)))
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+ 0.607771387771 (* z (+ 11.9400905721 (* z 31.4690115749))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.7e+20) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
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 ((z <= (-1.7d+20)) .or. (.not. (z <= 1.65d+27))) then
tmp = x + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * 31.4690115749d0)))))
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 ((z <= -1.7e+20) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1.7e+20) or not (z <= 1.65e+27): tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.7e+20) || !(z <= 1.65e+27)) tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * 31.4690115749)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1.7e+20) || ~((z <= 1.65e+27))) tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.7e+20], N[Not[LessEqual[z, 1.65e+27]], $MachinePrecision]], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.7 \cdot 10^{+20} \lor \neg \left(z \leq 1.65 \cdot 10^{+27}\right):\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot 31.4690115749\right)}\\
\end{array}
\end{array}
if z < -1.7e20 or 1.6499999999999999e27 < z Initial program 10.6%
Simplified12.9%
Taylor expanded in z around -inf 97.6%
mul-1-neg97.6%
unsub-neg97.6%
mul-1-neg97.6%
unsub-neg97.6%
+-commutative97.6%
Simplified97.6%
fma-undefine97.6%
Applied egg-rr97.6%
if -1.7e20 < z < 1.6499999999999999e27Initial program 98.3%
Taylor expanded in z around 0 95.3%
*-commutative95.3%
Simplified95.3%
Final simplification96.3%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -2.3e+15) (not (<= z 1.65e+27)))
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+ 0.607771387771 (* z 11.9400905721))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * 11.9400905721)));
}
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 ((z <= (-2.3d+15)) .or. (.not. (z <= 1.65d+27))) then
tmp = x + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)) / (0.607771387771d0 + (z * 11.9400905721d0)))
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 ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * 11.9400905721)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+15) or not (z <= 1.65e+27): tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * 11.9400905721))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+15) || !(z <= 1.65e+27)) tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+15) || ~((z <= 1.65e+27))) tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * 11.9400905721))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+15], N[Not[LessEqual[z, 1.65e+27]], $MachinePrecision]], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+15} \lor \neg \left(z \leq 1.65 \cdot 10^{+27}\right):\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\end{array}
\end{array}
if z < -2.3e15 or 1.6499999999999999e27 < z Initial program 11.4%
Simplified13.7%
Taylor expanded in z around -inf 96.8%
mul-1-neg96.8%
unsub-neg96.8%
mul-1-neg96.8%
unsub-neg96.8%
+-commutative96.8%
Simplified96.8%
fma-undefine96.8%
Applied egg-rr96.8%
if -2.3e15 < z < 1.6499999999999999e27Initial program 98.3%
Taylor expanded in z around 0 95.6%
*-commutative95.6%
Simplified95.6%
Final simplification96.1%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -2.3e+15) (not (<= z 1.65e+27)))
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+
x
(/
(* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
(+ 0.607771387771 (* z 11.9400905721))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)));
}
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 ((z <= (-2.3d+15)) .or. (.not. (z <= 1.65d+27))) then
tmp = x + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / (0.607771387771d0 + (z * 11.9400905721d0)))
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 ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+15) or not (z <= 1.65e+27): tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+15) || !(z <= 1.65e+27)) tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * 11.1667541262))))))) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+15) || ~((z <= 1.65e+27))) tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / (0.607771387771 + (z * 11.9400905721))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+15], N[Not[LessEqual[z, 1.65e+27]], $MachinePrecision]], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * 11.1667541262), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+15} \lor \neg \left(z \leq 1.65 \cdot 10^{+27}\right):\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\end{array}
\end{array}
if z < -2.3e15 or 1.6499999999999999e27 < z Initial program 11.4%
Simplified13.7%
Taylor expanded in z around -inf 96.8%
mul-1-neg96.8%
unsub-neg96.8%
mul-1-neg96.8%
unsub-neg96.8%
+-commutative96.8%
Simplified96.8%
fma-undefine96.8%
Applied egg-rr96.8%
if -2.3e15 < z < 1.6499999999999999e27Initial program 98.3%
Taylor expanded in z around 0 95.6%
*-commutative95.6%
Simplified95.6%
Taylor expanded in z around 0 95.6%
*-commutative95.6%
Simplified95.6%
Final simplification96.1%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))))
(if (<= z -7.1e-31)
t_1
(if (<= z 2e-104)
(+ x (* (* y b) 1.6453555072203998))
(if (<= z 1.65e+27) (+ x (* (* a (* y z)) 1.6453555072203998)) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
double tmp;
if (z <= -7.1e-31) {
tmp = t_1;
} else if (z <= 2e-104) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.65e+27) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} 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 + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
if (z <= (-7.1d-31)) then
tmp = t_1
else if (z <= 2d-104) then
tmp = x + ((y * b) * 1.6453555072203998d0)
else if (z <= 1.65d+27) then
tmp = x + ((a * (y * z)) * 1.6453555072203998d0)
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 + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
double tmp;
if (z <= -7.1e-31) {
tmp = t_1;
} else if (z <= 2e-104) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.65e+27) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) tmp = 0 if z <= -7.1e-31: tmp = t_1 elif z <= 2e-104: tmp = x + ((y * b) * 1.6453555072203998) elif z <= 1.65e+27: tmp = x + ((a * (y * z)) * 1.6453555072203998) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))) tmp = 0.0 if (z <= -7.1e-31) tmp = t_1; elseif (z <= 2e-104) tmp = Float64(x + Float64(Float64(y * b) * 1.6453555072203998)); elseif (z <= 1.65e+27) tmp = Float64(x + Float64(Float64(a * Float64(y * z)) * 1.6453555072203998)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); tmp = 0.0; if (z <= -7.1e-31) tmp = t_1; elseif (z <= 2e-104) tmp = x + ((y * b) * 1.6453555072203998); elseif (z <= 1.65e+27) tmp = x + ((a * (y * z)) * 1.6453555072203998); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -7.1e-31], t$95$1, If[LessEqual[z, 2e-104], N[(x + N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.65e+27], N[(x + N[(N[(a * N[(y * z), $MachinePrecision]), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{if}\;z \leq -7.1 \cdot 10^{-31}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2 \cdot 10^{-104}:\\
\;\;\;\;x + \left(y \cdot b\right) \cdot 1.6453555072203998\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{+27}:\\
\;\;\;\;x + \left(a \cdot \left(y \cdot z\right)\right) \cdot 1.6453555072203998\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -7.0999999999999999e-31 or 1.6499999999999999e27 < z Initial program 17.0%
Simplified19.2%
Taylor expanded in z around -inf 94.7%
mul-1-neg94.7%
unsub-neg94.7%
mul-1-neg94.7%
unsub-neg94.7%
+-commutative94.7%
Simplified94.7%
fma-undefine94.7%
Applied egg-rr94.7%
if -7.0999999999999999e-31 < z < 1.99999999999999985e-104Initial program 99.6%
Simplified99.6%
Taylor expanded in z around 0 84.0%
+-commutative84.0%
*-commutative84.0%
Simplified84.0%
if 1.99999999999999985e-104 < z < 1.6499999999999999e27Initial program 93.3%
Taylor expanded in z around 0 84.0%
*-commutative84.0%
Simplified84.0%
Taylor expanded in a around inf 69.9%
Taylor expanded in z around 0 70.0%
Final simplification87.6%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -7.1e-31)
(+ x (+ (* -36.52704169880642 (/ y z)) (* y 3.13060547623)))
(if (<= z 3.1e-105)
(+ x (* (* y b) 1.6453555072203998))
(if (<= z 1.1e+59)
(+ x (/ (* a (* y z)) (+ 0.607771387771 (* z 11.9400905721))))
(+ x (* y 3.13060547623))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -7.1e-31) {
tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623));
} else if (z <= 3.1e-105) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y * 3.13060547623);
}
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 (z <= (-7.1d-31)) then
tmp = x + (((-36.52704169880642d0) * (y / z)) + (y * 3.13060547623d0))
else if (z <= 3.1d-105) then
tmp = x + ((y * b) * 1.6453555072203998d0)
else if (z <= 1.1d+59) then
tmp = x + ((a * (y * z)) / (0.607771387771d0 + (z * 11.9400905721d0)))
else
tmp = x + (y * 3.13060547623d0)
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 (z <= -7.1e-31) {
tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623));
} else if (z <= 3.1e-105) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y * 3.13060547623);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -7.1e-31: tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623)) elif z <= 3.1e-105: tmp = x + ((y * b) * 1.6453555072203998) elif z <= 1.1e+59: tmp = x + ((a * (y * z)) / (0.607771387771 + (z * 11.9400905721))) else: tmp = x + (y * 3.13060547623) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -7.1e-31) tmp = Float64(x + Float64(Float64(-36.52704169880642 * Float64(y / z)) + Float64(y * 3.13060547623))); elseif (z <= 3.1e-105) tmp = Float64(x + Float64(Float64(y * b) * 1.6453555072203998)); elseif (z <= 1.1e+59) tmp = Float64(x + Float64(Float64(a * Float64(y * z)) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); else tmp = Float64(x + Float64(y * 3.13060547623)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -7.1e-31) tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623)); elseif (z <= 3.1e-105) tmp = x + ((y * b) * 1.6453555072203998); elseif (z <= 1.1e+59) tmp = x + ((a * (y * z)) / (0.607771387771 + (z * 11.9400905721))); else tmp = x + (y * 3.13060547623); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -7.1e-31], N[(x + N[(N[(-36.52704169880642 * N[(y / z), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.1e-105], N[(x + N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+59], N[(x + N[(N[(a * N[(y * z), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7.1 \cdot 10^{-31}:\\
\;\;\;\;x + \left(-36.52704169880642 \cdot \frac{y}{z} + y \cdot 3.13060547623\right)\\
\mathbf{elif}\;z \leq 3.1 \cdot 10^{-105}:\\
\;\;\;\;x + \left(y \cdot b\right) \cdot 1.6453555072203998\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{a \cdot \left(y \cdot z\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\end{array}
\end{array}
if z < -7.0999999999999999e-31Initial program 21.8%
Simplified24.7%
Taylor expanded in z around -inf 91.1%
mul-1-neg91.1%
unsub-neg91.1%
mul-1-neg91.1%
unsub-neg91.1%
+-commutative91.1%
Simplified91.1%
Taylor expanded in z around inf 86.4%
if -7.0999999999999999e-31 < z < 3.10000000000000014e-105Initial program 99.6%
Simplified99.6%
Taylor expanded in z around 0 84.0%
+-commutative84.0%
*-commutative84.0%
Simplified84.0%
if 3.10000000000000014e-105 < z < 1.1e59Initial program 94.3%
Taylor expanded in z around 0 80.9%
*-commutative80.9%
Simplified80.9%
Taylor expanded in a around inf 68.9%
if 1.1e59 < z Initial program 3.8%
Simplified5.4%
Taylor expanded in z around inf 95.1%
+-commutative95.1%
*-commutative95.1%
Simplified95.1%
Final simplification85.0%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -2.3e+15) (not (<= z 1.65e+27)))
(+
x
(*
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))))
(+ x (/ (+ (* a (* y z)) (* y b)) (+ 0.607771387771 (* z 11.9400905721))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + (((a * (y * z)) + (y * b)) / (0.607771387771 + (z * 11.9400905721)));
}
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 ((z <= (-2.3d+15)) .or. (.not. (z <= 1.65d+27))) then
tmp = x + (y * (3.13060547623d0 + ((((t + 457.9610022158428d0) / z) - 36.52704169880642d0) / z)))
else
tmp = x + (((a * (y * z)) + (y * b)) / (0.607771387771d0 + (z * 11.9400905721d0)))
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 ((z <= -2.3e+15) || !(z <= 1.65e+27)) {
tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)));
} else {
tmp = x + (((a * (y * z)) + (y * b)) / (0.607771387771 + (z * 11.9400905721)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+15) or not (z <= 1.65e+27): tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))) else: tmp = x + (((a * (y * z)) + (y * b)) / (0.607771387771 + (z * 11.9400905721))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+15) || !(z <= 1.65e+27)) tmp = Float64(x + Float64(y * Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)))); else tmp = Float64(x + Float64(Float64(Float64(a * Float64(y * z)) + Float64(y * b)) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+15) || ~((z <= 1.65e+27))) tmp = x + (y * (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z))); else tmp = x + (((a * (y * z)) + (y * b)) / (0.607771387771 + (z * 11.9400905721))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+15], N[Not[LessEqual[z, 1.65e+27]], $MachinePrecision]], N[(x + N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(N[(a * N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(y * b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+15} \lor \neg \left(z \leq 1.65 \cdot 10^{+27}\right):\\
\;\;\;\;x + y \cdot \left(3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{a \cdot \left(y \cdot z\right) + y \cdot b}{0.607771387771 + z \cdot 11.9400905721}\\
\end{array}
\end{array}
if z < -2.3e15 or 1.6499999999999999e27 < z Initial program 11.4%
Simplified13.7%
Taylor expanded in z around -inf 96.8%
mul-1-neg96.8%
unsub-neg96.8%
mul-1-neg96.8%
unsub-neg96.8%
+-commutative96.8%
Simplified96.8%
fma-undefine96.8%
Applied egg-rr96.8%
if -2.3e15 < z < 1.6499999999999999e27Initial program 98.3%
Taylor expanded in z around 0 93.4%
Taylor expanded in z around 0 91.3%
*-commutative95.6%
Simplified91.3%
Final simplification93.8%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -1.35e+18)
t_1
(if (<= z 1.9e-103)
(+ x (* (* y b) 1.6453555072203998))
(if (<= z 1.1e+59) (+ x (* (* a (* y z)) 1.6453555072203998)) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -1.35e+18) {
tmp = t_1;
} else if (z <= 1.9e-103) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} 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 + (y * 3.13060547623d0)
if (z <= (-1.35d+18)) then
tmp = t_1
else if (z <= 1.9d-103) then
tmp = x + ((y * b) * 1.6453555072203998d0)
else if (z <= 1.1d+59) then
tmp = x + ((a * (y * z)) * 1.6453555072203998d0)
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 + (y * 3.13060547623);
double tmp;
if (z <= -1.35e+18) {
tmp = t_1;
} else if (z <= 1.9e-103) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -1.35e+18: tmp = t_1 elif z <= 1.9e-103: tmp = x + ((y * b) * 1.6453555072203998) elif z <= 1.1e+59: tmp = x + ((a * (y * z)) * 1.6453555072203998) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -1.35e+18) tmp = t_1; elseif (z <= 1.9e-103) tmp = Float64(x + Float64(Float64(y * b) * 1.6453555072203998)); elseif (z <= 1.1e+59) tmp = Float64(x + Float64(Float64(a * Float64(y * z)) * 1.6453555072203998)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -1.35e+18) tmp = t_1; elseif (z <= 1.9e-103) tmp = x + ((y * b) * 1.6453555072203998); elseif (z <= 1.1e+59) tmp = x + ((a * (y * z)) * 1.6453555072203998); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.35e+18], t$95$1, If[LessEqual[z, 1.9e-103], N[(x + N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+59], N[(x + N[(N[(a * N[(y * z), $MachinePrecision]), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -1.35 \cdot 10^{+18}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.9 \cdot 10^{-103}:\\
\;\;\;\;x + \left(y \cdot b\right) \cdot 1.6453555072203998\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+59}:\\
\;\;\;\;x + \left(a \cdot \left(y \cdot z\right)\right) \cdot 1.6453555072203998\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.35e18 or 1.1e59 < z Initial program 6.6%
Simplified9.0%
Taylor expanded in z around inf 93.1%
+-commutative93.1%
*-commutative93.1%
Simplified93.1%
if -1.35e18 < z < 1.9e-103Initial program 99.6%
Simplified99.7%
Taylor expanded in z around 0 81.3%
+-commutative81.3%
*-commutative81.3%
Simplified81.3%
if 1.9e-103 < z < 1.1e59Initial program 94.3%
Taylor expanded in z around 0 80.9%
*-commutative80.9%
Simplified80.9%
Taylor expanded in a around inf 68.9%
Taylor expanded in z around 0 68.4%
Final simplification84.7%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -7.1e-31)
(+ x (+ (* -36.52704169880642 (/ y z)) (* y 3.13060547623)))
(if (<= z 2.4e-103)
(+ x (* (* y b) 1.6453555072203998))
(if (<= z 1.1e+59)
(+ x (* (* a (* y z)) 1.6453555072203998))
(+ x (* y 3.13060547623))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -7.1e-31) {
tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623));
} else if (z <= 2.4e-103) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} else {
tmp = x + (y * 3.13060547623);
}
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 (z <= (-7.1d-31)) then
tmp = x + (((-36.52704169880642d0) * (y / z)) + (y * 3.13060547623d0))
else if (z <= 2.4d-103) then
tmp = x + ((y * b) * 1.6453555072203998d0)
else if (z <= 1.1d+59) then
tmp = x + ((a * (y * z)) * 1.6453555072203998d0)
else
tmp = x + (y * 3.13060547623d0)
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 (z <= -7.1e-31) {
tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623));
} else if (z <= 2.4e-103) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 1.1e+59) {
tmp = x + ((a * (y * z)) * 1.6453555072203998);
} else {
tmp = x + (y * 3.13060547623);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -7.1e-31: tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623)) elif z <= 2.4e-103: tmp = x + ((y * b) * 1.6453555072203998) elif z <= 1.1e+59: tmp = x + ((a * (y * z)) * 1.6453555072203998) else: tmp = x + (y * 3.13060547623) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -7.1e-31) tmp = Float64(x + Float64(Float64(-36.52704169880642 * Float64(y / z)) + Float64(y * 3.13060547623))); elseif (z <= 2.4e-103) tmp = Float64(x + Float64(Float64(y * b) * 1.6453555072203998)); elseif (z <= 1.1e+59) tmp = Float64(x + Float64(Float64(a * Float64(y * z)) * 1.6453555072203998)); else tmp = Float64(x + Float64(y * 3.13060547623)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -7.1e-31) tmp = x + ((-36.52704169880642 * (y / z)) + (y * 3.13060547623)); elseif (z <= 2.4e-103) tmp = x + ((y * b) * 1.6453555072203998); elseif (z <= 1.1e+59) tmp = x + ((a * (y * z)) * 1.6453555072203998); else tmp = x + (y * 3.13060547623); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -7.1e-31], N[(x + N[(N[(-36.52704169880642 * N[(y / z), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.4e-103], N[(x + N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1.1e+59], N[(x + N[(N[(a * N[(y * z), $MachinePrecision]), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -7.1 \cdot 10^{-31}:\\
\;\;\;\;x + \left(-36.52704169880642 \cdot \frac{y}{z} + y \cdot 3.13060547623\right)\\
\mathbf{elif}\;z \leq 2.4 \cdot 10^{-103}:\\
\;\;\;\;x + \left(y \cdot b\right) \cdot 1.6453555072203998\\
\mathbf{elif}\;z \leq 1.1 \cdot 10^{+59}:\\
\;\;\;\;x + \left(a \cdot \left(y \cdot z\right)\right) \cdot 1.6453555072203998\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\end{array}
\end{array}
if z < -7.0999999999999999e-31Initial program 21.8%
Simplified24.7%
Taylor expanded in z around -inf 91.1%
mul-1-neg91.1%
unsub-neg91.1%
mul-1-neg91.1%
unsub-neg91.1%
+-commutative91.1%
Simplified91.1%
Taylor expanded in z around inf 86.4%
if -7.0999999999999999e-31 < z < 2.4000000000000002e-103Initial program 99.6%
Simplified99.6%
Taylor expanded in z around 0 84.0%
+-commutative84.0%
*-commutative84.0%
Simplified84.0%
if 2.4000000000000002e-103 < z < 1.1e59Initial program 94.3%
Taylor expanded in z around 0 80.9%
*-commutative80.9%
Simplified80.9%
Taylor expanded in a around inf 68.9%
Taylor expanded in z around 0 68.4%
if 1.1e59 < z Initial program 3.8%
Simplified5.4%
Taylor expanded in z around inf 95.1%
+-commutative95.1%
*-commutative95.1%
Simplified95.1%
Final simplification84.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -5e+19)
t_1
(if (<= z 2.45e-43)
(+ x (* b (* y 1.6453555072203998)))
(if (<= z 6.5e+38) (+ x (* 0.08375145849702896 (* y a))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -5e+19) {
tmp = t_1;
} else if (z <= 2.45e-43) {
tmp = x + (b * (y * 1.6453555072203998));
} else if (z <= 6.5e+38) {
tmp = x + (0.08375145849702896 * (y * a));
} 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 + (y * 3.13060547623d0)
if (z <= (-5d+19)) then
tmp = t_1
else if (z <= 2.45d-43) then
tmp = x + (b * (y * 1.6453555072203998d0))
else if (z <= 6.5d+38) then
tmp = x + (0.08375145849702896d0 * (y * a))
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 + (y * 3.13060547623);
double tmp;
if (z <= -5e+19) {
tmp = t_1;
} else if (z <= 2.45e-43) {
tmp = x + (b * (y * 1.6453555072203998));
} else if (z <= 6.5e+38) {
tmp = x + (0.08375145849702896 * (y * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -5e+19: tmp = t_1 elif z <= 2.45e-43: tmp = x + (b * (y * 1.6453555072203998)) elif z <= 6.5e+38: tmp = x + (0.08375145849702896 * (y * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -5e+19) tmp = t_1; elseif (z <= 2.45e-43) tmp = Float64(x + Float64(b * Float64(y * 1.6453555072203998))); elseif (z <= 6.5e+38) tmp = Float64(x + Float64(0.08375145849702896 * Float64(y * a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -5e+19) tmp = t_1; elseif (z <= 2.45e-43) tmp = x + (b * (y * 1.6453555072203998)); elseif (z <= 6.5e+38) tmp = x + (0.08375145849702896 * (y * a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5e+19], t$95$1, If[LessEqual[z, 2.45e-43], N[(x + N[(b * N[(y * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6.5e+38], N[(x + N[(0.08375145849702896 * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -5 \cdot 10^{+19}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-43}:\\
\;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
\mathbf{elif}\;z \leq 6.5 \cdot 10^{+38}:\\
\;\;\;\;x + 0.08375145849702896 \cdot \left(y \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -5e19 or 6.5e38 < z Initial program 9.0%
Simplified11.4%
Taylor expanded in z around inf 92.2%
+-commutative92.2%
*-commutative92.2%
Simplified92.2%
if -5e19 < z < 2.44999999999999994e-43Initial program 99.6%
Taylor expanded in z around 0 95.7%
Taylor expanded in z around 0 79.7%
*-commutative79.7%
associate-*r*79.6%
Simplified79.6%
if 2.44999999999999994e-43 < z < 6.5e38Initial program 90.8%
Taylor expanded in z around 0 73.7%
*-commutative73.7%
Simplified73.7%
Taylor expanded in a around inf 63.4%
Taylor expanded in z around inf 59.0%
Final simplification83.5%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -1.25e+17)
t_1
(if (<= z 2.4e-43)
(+ x (* y (* b 1.6453555072203998)))
(if (<= z 2.55e+38) (+ x (* 0.08375145849702896 (* y a))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -1.25e+17) {
tmp = t_1;
} else if (z <= 2.4e-43) {
tmp = x + (y * (b * 1.6453555072203998));
} else if (z <= 2.55e+38) {
tmp = x + (0.08375145849702896 * (y * a));
} 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 + (y * 3.13060547623d0)
if (z <= (-1.25d+17)) then
tmp = t_1
else if (z <= 2.4d-43) then
tmp = x + (y * (b * 1.6453555072203998d0))
else if (z <= 2.55d+38) then
tmp = x + (0.08375145849702896d0 * (y * a))
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 + (y * 3.13060547623);
double tmp;
if (z <= -1.25e+17) {
tmp = t_1;
} else if (z <= 2.4e-43) {
tmp = x + (y * (b * 1.6453555072203998));
} else if (z <= 2.55e+38) {
tmp = x + (0.08375145849702896 * (y * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -1.25e+17: tmp = t_1 elif z <= 2.4e-43: tmp = x + (y * (b * 1.6453555072203998)) elif z <= 2.55e+38: tmp = x + (0.08375145849702896 * (y * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -1.25e+17) tmp = t_1; elseif (z <= 2.4e-43) tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); elseif (z <= 2.55e+38) tmp = Float64(x + Float64(0.08375145849702896 * Float64(y * a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -1.25e+17) tmp = t_1; elseif (z <= 2.4e-43) tmp = x + (y * (b * 1.6453555072203998)); elseif (z <= 2.55e+38) tmp = x + (0.08375145849702896 * (y * a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.25e+17], t$95$1, If[LessEqual[z, 2.4e-43], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.55e+38], N[(x + N[(0.08375145849702896 * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -1.25 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.4 \cdot 10^{-43}:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\mathbf{elif}\;z \leq 2.55 \cdot 10^{+38}:\\
\;\;\;\;x + 0.08375145849702896 \cdot \left(y \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.25e17 or 2.5500000000000001e38 < z Initial program 9.0%
Simplified11.4%
Taylor expanded in z around inf 92.2%
+-commutative92.2%
*-commutative92.2%
Simplified92.2%
if -1.25e17 < z < 2.4000000000000002e-43Initial program 99.6%
Taylor expanded in z around 0 79.7%
associate-*r*79.6%
*-commutative79.6%
Simplified79.6%
if 2.4000000000000002e-43 < z < 2.5500000000000001e38Initial program 90.8%
Taylor expanded in z around 0 73.7%
*-commutative73.7%
Simplified73.7%
Taylor expanded in a around inf 63.4%
Taylor expanded in z around inf 59.0%
Final simplification83.6%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -5.2e+17)
t_1
(if (<= z 2.45e-43)
(+ x (* (* y b) 1.6453555072203998))
(if (<= z 4.6e+39) (+ x (* 0.08375145849702896 (* y a))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -5.2e+17) {
tmp = t_1;
} else if (z <= 2.45e-43) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 4.6e+39) {
tmp = x + (0.08375145849702896 * (y * a));
} 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 + (y * 3.13060547623d0)
if (z <= (-5.2d+17)) then
tmp = t_1
else if (z <= 2.45d-43) then
tmp = x + ((y * b) * 1.6453555072203998d0)
else if (z <= 4.6d+39) then
tmp = x + (0.08375145849702896d0 * (y * a))
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 + (y * 3.13060547623);
double tmp;
if (z <= -5.2e+17) {
tmp = t_1;
} else if (z <= 2.45e-43) {
tmp = x + ((y * b) * 1.6453555072203998);
} else if (z <= 4.6e+39) {
tmp = x + (0.08375145849702896 * (y * a));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -5.2e+17: tmp = t_1 elif z <= 2.45e-43: tmp = x + ((y * b) * 1.6453555072203998) elif z <= 4.6e+39: tmp = x + (0.08375145849702896 * (y * a)) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -5.2e+17) tmp = t_1; elseif (z <= 2.45e-43) tmp = Float64(x + Float64(Float64(y * b) * 1.6453555072203998)); elseif (z <= 4.6e+39) tmp = Float64(x + Float64(0.08375145849702896 * Float64(y * a))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -5.2e+17) tmp = t_1; elseif (z <= 2.45e-43) tmp = x + ((y * b) * 1.6453555072203998); elseif (z <= 4.6e+39) tmp = x + (0.08375145849702896 * (y * a)); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.2e+17], t$95$1, If[LessEqual[z, 2.45e-43], N[(x + N[(N[(y * b), $MachinePrecision] * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.6e+39], N[(x + N[(0.08375145849702896 * N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -5.2 \cdot 10^{+17}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 2.45 \cdot 10^{-43}:\\
\;\;\;\;x + \left(y \cdot b\right) \cdot 1.6453555072203998\\
\mathbf{elif}\;z \leq 4.6 \cdot 10^{+39}:\\
\;\;\;\;x + 0.08375145849702896 \cdot \left(y \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -5.2e17 or 4.60000000000000024e39 < z Initial program 9.0%
Simplified11.4%
Taylor expanded in z around inf 92.2%
+-commutative92.2%
*-commutative92.2%
Simplified92.2%
if -5.2e17 < z < 2.44999999999999994e-43Initial program 99.6%
Simplified99.7%
Taylor expanded in z around 0 79.7%
+-commutative79.7%
*-commutative79.7%
Simplified79.7%
if 2.44999999999999994e-43 < z < 4.60000000000000024e39Initial program 90.8%
Taylor expanded in z around 0 73.7%
*-commutative73.7%
Simplified73.7%
Taylor expanded in a around inf 63.4%
Taylor expanded in z around inf 59.0%
Final simplification83.6%
(FPCore (x y z t a b) :precision binary64 (+ x (* y 3.13060547623)))
double code(double x, double y, double z, double t, double a, double b) {
return x + (y * 3.13060547623);
}
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 * 3.13060547623d0)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + (y * 3.13060547623);
}
def code(x, y, z, t, a, b): return x + (y * 3.13060547623)
function code(x, y, z, t, a, b) return Float64(x + Float64(y * 3.13060547623)) end
function tmp = code(x, y, z, t, a, b) tmp = x + (y * 3.13060547623); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot 3.13060547623
\end{array}
Initial program 58.5%
Simplified60.4%
Taylor expanded in z around inf 59.7%
+-commutative59.7%
*-commutative59.7%
Simplified59.7%
Final simplification59.7%
(FPCore (x y z t a b) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b) {
return x;
}
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
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x;
}
def code(x, y, z, t, a, b): return x
function code(x, y, z, t, a, b) return x end
function tmp = code(x, y, z, t, a, b) tmp = x; end
code[x_, y_, z_, t_, a_, b_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 58.5%
Simplified60.4%
Taylor expanded in y around 0 44.5%
Final simplification44.5%
(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 2024084
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:alt
(if (< z -6.499344996252632e+53) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0))) (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)))) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0)))))
(+ 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))))