
(FPCore (x y) :precision binary64 (/ (* (sin x) (sinh y)) x))
double code(double x, double y) {
return (sin(x) * sinh(y)) / x;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (sin(x) * sinh(y)) / x
end function
public static double code(double x, double y) {
return (Math.sin(x) * Math.sinh(y)) / x;
}
def code(x, y): return (math.sin(x) * math.sinh(y)) / x
function code(x, y) return Float64(Float64(sin(x) * sinh(y)) / x) end
function tmp = code(x, y) tmp = (sin(x) * sinh(y)) / x; end
code[x_, y_] := N[(N[(N[Sin[x], $MachinePrecision] * N[Sinh[y], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]
\begin{array}{l}
\\
\frac{\sin x \cdot \sinh y}{x}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 20 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y) :precision binary64 (/ (* (sin x) (sinh y)) x))
double code(double x, double y) {
return (sin(x) * sinh(y)) / x;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (sin(x) * sinh(y)) / x
end function
public static double code(double x, double y) {
return (Math.sin(x) * Math.sinh(y)) / x;
}
def code(x, y): return (math.sin(x) * math.sinh(y)) / x
function code(x, y) return Float64(Float64(sin(x) * sinh(y)) / x) end
function tmp = code(x, y) tmp = (sin(x) * sinh(y)) / x; end
code[x_, y_] := N[(N[(N[Sin[x], $MachinePrecision] * N[Sinh[y], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]
\begin{array}{l}
\\
\frac{\sin x \cdot \sinh y}{x}
\end{array}
(FPCore (x y) :precision binary64 (* (sin x) (/ (sinh y) x)))
double code(double x, double y) {
return sin(x) * (sinh(y) / x);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sin(x) * (sinh(y) / x)
end function
public static double code(double x, double y) {
return Math.sin(x) * (Math.sinh(y) / x);
}
def code(x, y): return math.sin(x) * (math.sinh(y) / x)
function code(x, y) return Float64(sin(x) * Float64(sinh(y) / x)) end
function tmp = code(x, y) tmp = sin(x) * (sinh(y) / x); end
code[x_, y_] := N[(N[Sin[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sin x \cdot \frac{\sinh y}{x}
\end{array}
Initial program 89.8%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
(FPCore (x y) :precision binary64 (if (<= (sinh y) 4e-52) (/ x (/ x y)) (sinh y)))
double code(double x, double y) {
double tmp;
if (sinh(y) <= 4e-52) {
tmp = x / (x / y);
} else {
tmp = sinh(y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (sinh(y) <= 4d-52) then
tmp = x / (x / y)
else
tmp = sinh(y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (Math.sinh(y) <= 4e-52) {
tmp = x / (x / y);
} else {
tmp = Math.sinh(y);
}
return tmp;
}
def code(x, y): tmp = 0 if math.sinh(y) <= 4e-52: tmp = x / (x / y) else: tmp = math.sinh(y) return tmp
function code(x, y) tmp = 0.0 if (sinh(y) <= 4e-52) tmp = Float64(x / Float64(x / y)); else tmp = sinh(y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (sinh(y) <= 4e-52) tmp = x / (x / y); else tmp = sinh(y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[N[Sinh[y], $MachinePrecision], 4e-52], N[(x / N[(x / y), $MachinePrecision]), $MachinePrecision], N[Sinh[y], $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\sinh y \leq 4 \cdot 10^{-52}:\\
\;\;\;\;\frac{x}{\frac{x}{y}}\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (sinh.f64 y) < 4e-52Initial program 86.8%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified76.6%
Taylor expanded in y around 0
/-lowering-/.f6459.7%
Simplified59.7%
clear-numN/A
un-div-invN/A
/-lowering-/.f64N/A
/-lowering-/.f6459.5%
Applied egg-rr59.5%
if 4e-52 < (sinh.f64 y) Initial program 98.5%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified66.9%
*-commutativeN/A
div-invN/A
associate-*l*N/A
lft-mult-inverseN/A
*-rgt-identityN/A
sinh-lowering-sinh.f6466.9%
Applied egg-rr66.9%
(FPCore (x y)
:precision binary64
(if (<= y 0.0039)
(* y (* (+ 1.0 (* 0.16666666666666666 (* y y))) (/ (sin x) x)))
(if (<= y 9e+61)
(/ (* (sinh y) (* x (+ 1.0 (* x (* x -0.16666666666666666))))) x)
(/
(*
y
(*
(sin x)
(+
1.0
(*
y
(* y (+ 0.16666666666666666 (* (* y y) 0.008333333333333333)))))))
x))))
double code(double x, double y) {
double tmp;
if (y <= 0.0039) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (sin(x) / x));
} else if (y <= 9e+61) {
tmp = (sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x;
} else {
tmp = (y * (sin(x) * (1.0 + (y * (y * (0.16666666666666666 + ((y * y) * 0.008333333333333333))))))) / x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 0.0039d0) then
tmp = y * ((1.0d0 + (0.16666666666666666d0 * (y * y))) * (sin(x) / x))
else if (y <= 9d+61) then
tmp = (sinh(y) * (x * (1.0d0 + (x * (x * (-0.16666666666666666d0)))))) / x
else
tmp = (y * (sin(x) * (1.0d0 + (y * (y * (0.16666666666666666d0 + ((y * y) * 0.008333333333333333d0))))))) / x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 0.0039) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (Math.sin(x) / x));
} else if (y <= 9e+61) {
tmp = (Math.sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x;
} else {
tmp = (y * (Math.sin(x) * (1.0 + (y * (y * (0.16666666666666666 + ((y * y) * 0.008333333333333333))))))) / x;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 0.0039: tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (math.sin(x) / x)) elif y <= 9e+61: tmp = (math.sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x else: tmp = (y * (math.sin(x) * (1.0 + (y * (y * (0.16666666666666666 + ((y * y) * 0.008333333333333333))))))) / x return tmp
function code(x, y) tmp = 0.0 if (y <= 0.0039) tmp = Float64(y * Float64(Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) * Float64(sin(x) / x))); elseif (y <= 9e+61) tmp = Float64(Float64(sinh(y) * Float64(x * Float64(1.0 + Float64(x * Float64(x * -0.16666666666666666))))) / x); else tmp = Float64(Float64(y * Float64(sin(x) * Float64(1.0 + Float64(y * Float64(y * Float64(0.16666666666666666 + Float64(Float64(y * y) * 0.008333333333333333))))))) / x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 0.0039) tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (sin(x) / x)); elseif (y <= 9e+61) tmp = (sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x; else tmp = (y * (sin(x) * (1.0 + (y * (y * (0.16666666666666666 + ((y * y) * 0.008333333333333333))))))) / x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 0.0039], N[(y * N[(N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9e+61], N[(N[(N[Sinh[y], $MachinePrecision] * N[(x * N[(1.0 + N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(N[(y * N[(N[Sin[x], $MachinePrecision] * N[(1.0 + N[(y * N[(y * N[(0.16666666666666666 + N[(N[(y * y), $MachinePrecision] * 0.008333333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 0.0039:\\
\;\;\;\;y \cdot \left(\left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right) \cdot \frac{\sin x}{x}\right)\\
\mathbf{elif}\;y \leq 9 \cdot 10^{+61}:\\
\;\;\;\;\frac{\sinh y \cdot \left(x \cdot \left(1 + x \cdot \left(x \cdot -0.16666666666666666\right)\right)\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(\sin x \cdot \left(1 + y \cdot \left(y \cdot \left(0.16666666666666666 + \left(y \cdot y\right) \cdot 0.008333333333333333\right)\right)\right)\right)}{x}\\
\end{array}
\end{array}
if y < 0.0038999999999999998Initial program 87.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified86.9%
if 0.0038999999999999998 < y < 9e61Initial program 100.0%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6468.8%
Simplified68.8%
if 9e61 < y Initial program 100.0%
Taylor expanded in y around 0
*-lowering-*.f64N/A
*-rgt-identityN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-outN/A
*-commutativeN/A
distribute-lft-inN/A
Simplified97.6%
Final simplification87.4%
(FPCore (x y)
:precision binary64
(let* ((t_0 (+ 1.0 (* 0.16666666666666666 (* y y))))
(t_1 (* y (* t_0 (/ (sin x) x)))))
(if (<= y 0.0039)
t_1
(if (<= y 9.5e+102)
(sinh y)
(if (<= y 2.8e+132)
(* y (* t_0 (+ 1.0 (* -0.16666666666666666 (* x x)))))
t_1)))))
double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = y * (t_0 * (sin(x) / x));
double tmp;
if (y <= 0.0039) {
tmp = t_1;
} else if (y <= 9.5e+102) {
tmp = sinh(y);
} else if (y <= 2.8e+132) {
tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = 1.0d0 + (0.16666666666666666d0 * (y * y))
t_1 = y * (t_0 * (sin(x) / x))
if (y <= 0.0039d0) then
tmp = t_1
else if (y <= 9.5d+102) then
tmp = sinh(y)
else if (y <= 2.8d+132) then
tmp = y * (t_0 * (1.0d0 + ((-0.16666666666666666d0) * (x * x))))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = y * (t_0 * (Math.sin(x) / x));
double tmp;
if (y <= 0.0039) {
tmp = t_1;
} else if (y <= 9.5e+102) {
tmp = Math.sinh(y);
} else if (y <= 2.8e+132) {
tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y): t_0 = 1.0 + (0.16666666666666666 * (y * y)) t_1 = y * (t_0 * (math.sin(x) / x)) tmp = 0 if y <= 0.0039: tmp = t_1 elif y <= 9.5e+102: tmp = math.sinh(y) elif y <= 2.8e+132: tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x)))) else: tmp = t_1 return tmp
function code(x, y) t_0 = Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) t_1 = Float64(y * Float64(t_0 * Float64(sin(x) / x))) tmp = 0.0 if (y <= 0.0039) tmp = t_1; elseif (y <= 9.5e+102) tmp = sinh(y); elseif (y <= 2.8e+132) tmp = Float64(y * Float64(t_0 * Float64(1.0 + Float64(-0.16666666666666666 * Float64(x * x))))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 + (0.16666666666666666 * (y * y)); t_1 = y * (t_0 * (sin(x) / x)); tmp = 0.0; if (y <= 0.0039) tmp = t_1; elseif (y <= 9.5e+102) tmp = sinh(y); elseif (y <= 2.8e+132) tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x)))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(y * N[(t$95$0 * N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, 0.0039], t$95$1, If[LessEqual[y, 9.5e+102], N[Sinh[y], $MachinePrecision], If[LessEqual[y, 2.8e+132], N[(y * N[(t$95$0 * N[(1.0 + N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\\
t_1 := y \cdot \left(t\_0 \cdot \frac{\sin x}{x}\right)\\
\mathbf{if}\;y \leq 0.0039:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 9.5 \cdot 10^{+102}:\\
\;\;\;\;\sinh y\\
\mathbf{elif}\;y \leq 2.8 \cdot 10^{+132}:\\
\;\;\;\;y \cdot \left(t\_0 \cdot \left(1 + -0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < 0.0038999999999999998 or 2.7999999999999999e132 < y Initial program 88.7%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified88.2%
if 0.0038999999999999998 < y < 9.4999999999999992e102Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified75.0%
*-commutativeN/A
div-invN/A
associate-*l*N/A
lft-mult-inverseN/A
*-rgt-identityN/A
sinh-lowering-sinh.f6475.0%
Applied egg-rr75.0%
if 9.4999999999999992e102 < y < 2.7999999999999999e132Initial program 100.0%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64100.0%
Simplified100.0%
Taylor expanded in y around 0
associate-+r+N/A
distribute-lft-inN/A
*-commutativeN/A
associate-*r*N/A
distribute-lft-outN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
Simplified100.0%
Final simplification87.4%
(FPCore (x y)
:precision binary64
(let* ((t_0 (+ 1.0 (* 0.16666666666666666 (* y y)))) (t_1 (/ (sin x) x)))
(if (<= y 0.0039)
(* y (* t_0 t_1))
(if (<= y 1.05e+103)
(/ (* (sinh y) (* x (+ 1.0 (* x (* x -0.16666666666666666))))) x)
(* t_1 (* y t_0))))))
double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = sin(x) / x;
double tmp;
if (y <= 0.0039) {
tmp = y * (t_0 * t_1);
} else if (y <= 1.05e+103) {
tmp = (sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x;
} else {
tmp = t_1 * (y * t_0);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = 1.0d0 + (0.16666666666666666d0 * (y * y))
t_1 = sin(x) / x
if (y <= 0.0039d0) then
tmp = y * (t_0 * t_1)
else if (y <= 1.05d+103) then
tmp = (sinh(y) * (x * (1.0d0 + (x * (x * (-0.16666666666666666d0)))))) / x
else
tmp = t_1 * (y * t_0)
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = Math.sin(x) / x;
double tmp;
if (y <= 0.0039) {
tmp = y * (t_0 * t_1);
} else if (y <= 1.05e+103) {
tmp = (Math.sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x;
} else {
tmp = t_1 * (y * t_0);
}
return tmp;
}
def code(x, y): t_0 = 1.0 + (0.16666666666666666 * (y * y)) t_1 = math.sin(x) / x tmp = 0 if y <= 0.0039: tmp = y * (t_0 * t_1) elif y <= 1.05e+103: tmp = (math.sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x else: tmp = t_1 * (y * t_0) return tmp
function code(x, y) t_0 = Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) t_1 = Float64(sin(x) / x) tmp = 0.0 if (y <= 0.0039) tmp = Float64(y * Float64(t_0 * t_1)); elseif (y <= 1.05e+103) tmp = Float64(Float64(sinh(y) * Float64(x * Float64(1.0 + Float64(x * Float64(x * -0.16666666666666666))))) / x); else tmp = Float64(t_1 * Float64(y * t_0)); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 + (0.16666666666666666 * (y * y)); t_1 = sin(x) / x; tmp = 0.0; if (y <= 0.0039) tmp = y * (t_0 * t_1); elseif (y <= 1.05e+103) tmp = (sinh(y) * (x * (1.0 + (x * (x * -0.16666666666666666))))) / x; else tmp = t_1 * (y * t_0); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[y, 0.0039], N[(y * N[(t$95$0 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.05e+103], N[(N[(N[Sinh[y], $MachinePrecision] * N[(x * N[(1.0 + N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(t$95$1 * N[(y * t$95$0), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\\
t_1 := \frac{\sin x}{x}\\
\mathbf{if}\;y \leq 0.0039:\\
\;\;\;\;y \cdot \left(t\_0 \cdot t\_1\right)\\
\mathbf{elif}\;y \leq 1.05 \cdot 10^{+103}:\\
\;\;\;\;\frac{\sinh y \cdot \left(x \cdot \left(1 + x \cdot \left(x \cdot -0.16666666666666666\right)\right)\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;t\_1 \cdot \left(y \cdot t\_0\right)\\
\end{array}
\end{array}
if y < 0.0038999999999999998Initial program 87.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified86.9%
if 0.0038999999999999998 < y < 1.0500000000000001e103Initial program 100.0%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6470.0%
Simplified70.0%
if 1.0500000000000001e103 < y Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified92.2%
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
sin-lowering-sin.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64100.0%
Applied egg-rr100.0%
Final simplification87.4%
(FPCore (x y)
:precision binary64
(let* ((t_0 (+ 1.0 (* 0.16666666666666666 (* y y)))) (t_1 (/ (sin x) x)))
(if (<= y 0.0039)
(* y (* t_0 t_1))
(if (<= y 9.5e+102) (sinh y) (* t_1 (* y t_0))))))
double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = sin(x) / x;
double tmp;
if (y <= 0.0039) {
tmp = y * (t_0 * t_1);
} else if (y <= 9.5e+102) {
tmp = sinh(y);
} else {
tmp = t_1 * (y * t_0);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = 1.0d0 + (0.16666666666666666d0 * (y * y))
t_1 = sin(x) / x
if (y <= 0.0039d0) then
tmp = y * (t_0 * t_1)
else if (y <= 9.5d+102) then
tmp = sinh(y)
else
tmp = t_1 * (y * t_0)
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double t_1 = Math.sin(x) / x;
double tmp;
if (y <= 0.0039) {
tmp = y * (t_0 * t_1);
} else if (y <= 9.5e+102) {
tmp = Math.sinh(y);
} else {
tmp = t_1 * (y * t_0);
}
return tmp;
}
def code(x, y): t_0 = 1.0 + (0.16666666666666666 * (y * y)) t_1 = math.sin(x) / x tmp = 0 if y <= 0.0039: tmp = y * (t_0 * t_1) elif y <= 9.5e+102: tmp = math.sinh(y) else: tmp = t_1 * (y * t_0) return tmp
function code(x, y) t_0 = Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) t_1 = Float64(sin(x) / x) tmp = 0.0 if (y <= 0.0039) tmp = Float64(y * Float64(t_0 * t_1)); elseif (y <= 9.5e+102) tmp = sinh(y); else tmp = Float64(t_1 * Float64(y * t_0)); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 + (0.16666666666666666 * (y * y)); t_1 = sin(x) / x; tmp = 0.0; if (y <= 0.0039) tmp = y * (t_0 * t_1); elseif (y <= 9.5e+102) tmp = sinh(y); else tmp = t_1 * (y * t_0); end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[y, 0.0039], N[(y * N[(t$95$0 * t$95$1), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 9.5e+102], N[Sinh[y], $MachinePrecision], N[(t$95$1 * N[(y * t$95$0), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\\
t_1 := \frac{\sin x}{x}\\
\mathbf{if}\;y \leq 0.0039:\\
\;\;\;\;y \cdot \left(t\_0 \cdot t\_1\right)\\
\mathbf{elif}\;y \leq 9.5 \cdot 10^{+102}:\\
\;\;\;\;\sinh y\\
\mathbf{else}:\\
\;\;\;\;t\_1 \cdot \left(y \cdot t\_0\right)\\
\end{array}
\end{array}
if y < 0.0038999999999999998Initial program 87.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified86.9%
if 0.0038999999999999998 < y < 9.4999999999999992e102Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified75.0%
*-commutativeN/A
div-invN/A
associate-*l*N/A
lft-mult-inverseN/A
*-rgt-identityN/A
sinh-lowering-sinh.f6475.0%
Applied egg-rr75.0%
if 9.4999999999999992e102 < y Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in y around 0
distribute-lft-inN/A
fma-defineN/A
associate-/l*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
fma-defineN/A
distribute-lft-inN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
distribute-lft1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
Simplified92.2%
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
sin-lowering-sin.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64100.0%
Applied egg-rr100.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (* x (/ (sinh y) x))))
(if (<= x 1.66e+97)
t_0
(if (<= x 4.3e+189)
(*
y
(*
(+ 1.0 (* 0.16666666666666666 (* y y)))
(+ 1.0 (* -0.16666666666666666 (* x x)))))
t_0))))
double code(double x, double y) {
double t_0 = x * (sinh(y) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.3e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = x * (sinh(y) / x)
if (x <= 1.66d+97) then
tmp = t_0
else if (x <= 4.3d+189) then
tmp = y * ((1.0d0 + (0.16666666666666666d0 * (y * y))) * (1.0d0 + ((-0.16666666666666666d0) * (x * x))))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = x * (Math.sinh(y) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.3e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y): t_0 = x * (math.sinh(y) / x) tmp = 0 if x <= 1.66e+97: tmp = t_0 elif x <= 4.3e+189: tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))) else: tmp = t_0 return tmp
function code(x, y) t_0 = Float64(x * Float64(sinh(y) / x)) tmp = 0.0 if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.3e+189) tmp = Float64(y * Float64(Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) * Float64(1.0 + Float64(-0.16666666666666666 * Float64(x * x))))); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y) t_0 = x * (sinh(y) / x); tmp = 0.0; if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.3e+189) tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))); else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(x * N[(N[Sinh[y], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], t$95$0, If[LessEqual[x, 4.3e+189], N[(y * N[(N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.0 + N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := x \cdot \frac{\sinh y}{x}\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4.3 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(\left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right) \cdot \left(1 + -0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < 1.6599999999999999e97 or 4.29999999999999998e189 < x Initial program 89.1%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.8%
if 1.6599999999999999e97 < x < 4.29999999999999998e189Initial program 99.9%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around 0
associate-+r+N/A
distribute-lft-inN/A
*-commutativeN/A
associate-*r*N/A
distribute-lft-outN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
Simplified50.9%
Final simplification76.8%
(FPCore (x y) :precision binary64 (if (<= y 0.0026) (* (sin x) (/ y x)) (* x (/ (sinh y) x))))
double code(double x, double y) {
double tmp;
if (y <= 0.0026) {
tmp = sin(x) * (y / x);
} else {
tmp = x * (sinh(y) / x);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 0.0026d0) then
tmp = sin(x) * (y / x)
else
tmp = x * (sinh(y) / x)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 0.0026) {
tmp = Math.sin(x) * (y / x);
} else {
tmp = x * (Math.sinh(y) / x);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 0.0026: tmp = math.sin(x) * (y / x) else: tmp = x * (math.sinh(y) / x) return tmp
function code(x, y) tmp = 0.0 if (y <= 0.0026) tmp = Float64(sin(x) * Float64(y / x)); else tmp = Float64(x * Float64(sinh(y) / x)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 0.0026) tmp = sin(x) * (y / x); else tmp = x * (sinh(y) / x); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 0.0026], N[(N[Sin[x], $MachinePrecision] * N[(y / x), $MachinePrecision]), $MachinePrecision], N[(x * N[(N[Sinh[y], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 0.0026:\\
\;\;\;\;\sin x \cdot \frac{y}{x}\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{\sinh y}{x}\\
\end{array}
\end{array}
if y < 0.0025999999999999999Initial program 87.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in y around 0
/-lowering-/.f6475.7%
Simplified75.7%
if 0.0025999999999999999 < y Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified69.6%
(FPCore (x y)
:precision binary64
(let* ((t_0
(*
x
(/
(*
y
(+
1.0
(*
(* y y)
(+
0.16666666666666666
(*
y
(*
y
(+
0.008333333333333333
(* (* y y) 0.0001984126984126984))))))))
x))))
(if (<= x 1.66e+97)
t_0
(if (<= x 4.4e+189)
(*
y
(*
(+ 1.0 (* 0.16666666666666666 (* y y)))
(+ 1.0 (* -0.16666666666666666 (* x x)))))
t_0))))
double code(double x, double y) {
double t_0 = x * ((y * (1.0 + ((y * y) * (0.16666666666666666 + (y * (y * (0.008333333333333333 + ((y * y) * 0.0001984126984126984)))))))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.4e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = x * ((y * (1.0d0 + ((y * y) * (0.16666666666666666d0 + (y * (y * (0.008333333333333333d0 + ((y * y) * 0.0001984126984126984d0)))))))) / x)
if (x <= 1.66d+97) then
tmp = t_0
else if (x <= 4.4d+189) then
tmp = y * ((1.0d0 + (0.16666666666666666d0 * (y * y))) * (1.0d0 + ((-0.16666666666666666d0) * (x * x))))
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = x * ((y * (1.0 + ((y * y) * (0.16666666666666666 + (y * (y * (0.008333333333333333 + ((y * y) * 0.0001984126984126984)))))))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.4e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y): t_0 = x * ((y * (1.0 + ((y * y) * (0.16666666666666666 + (y * (y * (0.008333333333333333 + ((y * y) * 0.0001984126984126984)))))))) / x) tmp = 0 if x <= 1.66e+97: tmp = t_0 elif x <= 4.4e+189: tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))) else: tmp = t_0 return tmp
function code(x, y) t_0 = Float64(x * Float64(Float64(y * Float64(1.0 + Float64(Float64(y * y) * Float64(0.16666666666666666 + Float64(y * Float64(y * Float64(0.008333333333333333 + Float64(Float64(y * y) * 0.0001984126984126984)))))))) / x)) tmp = 0.0 if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.4e+189) tmp = Float64(y * Float64(Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) * Float64(1.0 + Float64(-0.16666666666666666 * Float64(x * x))))); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y) t_0 = x * ((y * (1.0 + ((y * y) * (0.16666666666666666 + (y * (y * (0.008333333333333333 + ((y * y) * 0.0001984126984126984)))))))) / x); tmp = 0.0; if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.4e+189) tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))); else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(x * N[(N[(y * N[(1.0 + N[(N[(y * y), $MachinePrecision] * N[(0.16666666666666666 + N[(y * N[(y * N[(0.008333333333333333 + N[(N[(y * y), $MachinePrecision] * 0.0001984126984126984), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], t$95$0, If[LessEqual[x, 4.4e+189], N[(y * N[(N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.0 + N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := x \cdot \frac{y \cdot \left(1 + \left(y \cdot y\right) \cdot \left(0.16666666666666666 + y \cdot \left(y \cdot \left(0.008333333333333333 + \left(y \cdot y\right) \cdot 0.0001984126984126984\right)\right)\right)\right)}{x}\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(\left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right) \cdot \left(1 + -0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < 1.6599999999999999e97 or 4.4000000000000001e189 < x Initial program 89.1%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.8%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6474.4%
Simplified74.4%
if 1.6599999999999999e97 < x < 4.4000000000000001e189Initial program 99.9%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around 0
associate-+r+N/A
distribute-lft-inN/A
*-commutativeN/A
associate-*r*N/A
distribute-lft-outN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
Simplified50.9%
Final simplification72.7%
(FPCore (x y)
:precision binary64
(let* ((t_0 (* (* y y) 0.008333333333333333)))
(if (<= x 1.66e+97)
(* x (/ (* y (+ 1.0 (* y (* y (+ 0.16666666666666666 t_0))))) x))
(if (<= x 4.1e+189)
(*
y
(*
(+ 1.0 (* 0.16666666666666666 (* y y)))
(+ 1.0 (* -0.16666666666666666 (* x x)))))
(/ (* y (* x (* y (* y t_0)))) x)))))
double code(double x, double y) {
double t_0 = (y * y) * 0.008333333333333333;
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * (1.0 + (y * (y * (0.16666666666666666 + t_0))))) / x);
} else if (x <= 4.1e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = (y * (x * (y * (y * t_0)))) / x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = (y * y) * 0.008333333333333333d0
if (x <= 1.66d+97) then
tmp = x * ((y * (1.0d0 + (y * (y * (0.16666666666666666d0 + t_0))))) / x)
else if (x <= 4.1d+189) then
tmp = y * ((1.0d0 + (0.16666666666666666d0 * (y * y))) * (1.0d0 + ((-0.16666666666666666d0) * (x * x))))
else
tmp = (y * (x * (y * (y * t_0)))) / x
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = (y * y) * 0.008333333333333333;
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * (1.0 + (y * (y * (0.16666666666666666 + t_0))))) / x);
} else if (x <= 4.1e+189) {
tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = (y * (x * (y * (y * t_0)))) / x;
}
return tmp;
}
def code(x, y): t_0 = (y * y) * 0.008333333333333333 tmp = 0 if x <= 1.66e+97: tmp = x * ((y * (1.0 + (y * (y * (0.16666666666666666 + t_0))))) / x) elif x <= 4.1e+189: tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))) else: tmp = (y * (x * (y * (y * t_0)))) / x return tmp
function code(x, y) t_0 = Float64(Float64(y * y) * 0.008333333333333333) tmp = 0.0 if (x <= 1.66e+97) tmp = Float64(x * Float64(Float64(y * Float64(1.0 + Float64(y * Float64(y * Float64(0.16666666666666666 + t_0))))) / x)); elseif (x <= 4.1e+189) tmp = Float64(y * Float64(Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) * Float64(1.0 + Float64(-0.16666666666666666 * Float64(x * x))))); else tmp = Float64(Float64(y * Float64(x * Float64(y * Float64(y * t_0)))) / x); end return tmp end
function tmp_2 = code(x, y) t_0 = (y * y) * 0.008333333333333333; tmp = 0.0; if (x <= 1.66e+97) tmp = x * ((y * (1.0 + (y * (y * (0.16666666666666666 + t_0))))) / x); elseif (x <= 4.1e+189) tmp = y * ((1.0 + (0.16666666666666666 * (y * y))) * (1.0 + (-0.16666666666666666 * (x * x)))); else tmp = (y * (x * (y * (y * t_0)))) / x; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(N[(y * y), $MachinePrecision] * 0.008333333333333333), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], N[(x * N[(N[(y * N[(1.0 + N[(y * N[(y * N[(0.16666666666666666 + t$95$0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.1e+189], N[(y * N[(N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.0 + N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(x * N[(y * N[(y * t$95$0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(y \cdot y\right) \cdot 0.008333333333333333\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;x \cdot \frac{y \cdot \left(1 + y \cdot \left(y \cdot \left(0.16666666666666666 + t\_0\right)\right)\right)}{x}\\
\mathbf{elif}\;x \leq 4.1 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(\left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right) \cdot \left(1 + -0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(y \cdot \left(y \cdot t\_0\right)\right)\right)}{x}\\
\end{array}
\end{array}
if x < 1.6599999999999999e97Initial program 88.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6472.3%
Simplified72.3%
if 1.6599999999999999e97 < x < 4.1000000000000002e189Initial program 99.9%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around 0
associate-+r+N/A
distribute-lft-inN/A
*-commutativeN/A
associate-*r*N/A
distribute-lft-outN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
Simplified50.9%
if 4.1000000000000002e189 < x Initial program 99.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
*-rgt-identityN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-outN/A
*-commutativeN/A
distribute-lft-inN/A
Simplified86.7%
Taylor expanded in x around 0
Simplified38.9%
Taylor expanded in y around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-commutativeN/A
associate-*r*N/A
unpow2N/A
unpow3N/A
*-lowering-*.f64N/A
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6477.6%
Simplified77.6%
Final simplification71.3%
(FPCore (x y)
:precision binary64
(let* ((t_0 (+ 1.0 (* 0.16666666666666666 (* y y)))))
(if (<= x 1.66e+97)
(* x (/ (* y t_0) x))
(if (<= x 4.35e+189)
(* y (* t_0 (+ 1.0 (* -0.16666666666666666 (* x x)))))
(/ (* y (* x (* y (* y (* (* y y) 0.008333333333333333))))) x)))))
double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * t_0) / x);
} else if (x <= 4.35e+189) {
tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = 1.0d0 + (0.16666666666666666d0 * (y * y))
if (x <= 1.66d+97) then
tmp = x * ((y * t_0) / x)
else if (x <= 4.35d+189) then
tmp = y * (t_0 * (1.0d0 + ((-0.16666666666666666d0) * (x * x))))
else
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333d0))))) / x
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = 1.0 + (0.16666666666666666 * (y * y));
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * t_0) / x);
} else if (x <= 4.35e+189) {
tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x))));
} else {
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x;
}
return tmp;
}
def code(x, y): t_0 = 1.0 + (0.16666666666666666 * (y * y)) tmp = 0 if x <= 1.66e+97: tmp = x * ((y * t_0) / x) elif x <= 4.35e+189: tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x)))) else: tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x return tmp
function code(x, y) t_0 = Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y))) tmp = 0.0 if (x <= 1.66e+97) tmp = Float64(x * Float64(Float64(y * t_0) / x)); elseif (x <= 4.35e+189) tmp = Float64(y * Float64(t_0 * Float64(1.0 + Float64(-0.16666666666666666 * Float64(x * x))))); else tmp = Float64(Float64(y * Float64(x * Float64(y * Float64(y * Float64(Float64(y * y) * 0.008333333333333333))))) / x); end return tmp end
function tmp_2 = code(x, y) t_0 = 1.0 + (0.16666666666666666 * (y * y)); tmp = 0.0; if (x <= 1.66e+97) tmp = x * ((y * t_0) / x); elseif (x <= 4.35e+189) tmp = y * (t_0 * (1.0 + (-0.16666666666666666 * (x * x)))); else tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], N[(x * N[(N[(y * t$95$0), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.35e+189], N[(y * N[(t$95$0 * N[(1.0 + N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(x * N[(y * N[(y * N[(N[(y * y), $MachinePrecision] * 0.008333333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := 1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;x \cdot \frac{y \cdot t\_0}{x}\\
\mathbf{elif}\;x \leq 4.35 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(t\_0 \cdot \left(1 + -0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(y \cdot \left(y \cdot \left(\left(y \cdot y\right) \cdot 0.008333333333333333\right)\right)\right)\right)}{x}\\
\end{array}
\end{array}
if x < 1.6599999999999999e97Initial program 88.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6469.6%
Simplified69.6%
if 1.6599999999999999e97 < x < 4.35e189Initial program 99.9%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in y around 0
associate-+r+N/A
distribute-lft-inN/A
*-commutativeN/A
associate-*r*N/A
distribute-lft-outN/A
*-lowering-*.f64N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
Simplified50.9%
if 4.35e189 < x Initial program 99.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
*-rgt-identityN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-outN/A
*-commutativeN/A
distribute-lft-inN/A
Simplified86.7%
Taylor expanded in x around 0
Simplified38.9%
Taylor expanded in y around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-commutativeN/A
associate-*r*N/A
unpow2N/A
unpow3N/A
*-lowering-*.f64N/A
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6477.6%
Simplified77.6%
Final simplification69.0%
(FPCore (x y)
:precision binary64
(if (<= x 1.66e+97)
(* x (/ (* y (+ 1.0 (* 0.16666666666666666 (* y y)))) x))
(if (<= x 4.4e+189)
(/ (* (+ 1.0 (* x (* x -0.16666666666666666))) (* x y)) x)
(/ (* y (* x (* y (* y (* (* y y) 0.008333333333333333))))) x))))
double code(double x, double y) {
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
} else if (x <= 4.4e+189) {
tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x;
} else {
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 1.66d+97) then
tmp = x * ((y * (1.0d0 + (0.16666666666666666d0 * (y * y)))) / x)
else if (x <= 4.4d+189) then
tmp = ((1.0d0 + (x * (x * (-0.16666666666666666d0)))) * (x * y)) / x
else
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333d0))))) / x
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 1.66e+97) {
tmp = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
} else if (x <= 4.4e+189) {
tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x;
} else {
tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x;
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 1.66e+97: tmp = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x) elif x <= 4.4e+189: tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x else: tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x return tmp
function code(x, y) tmp = 0.0 if (x <= 1.66e+97) tmp = Float64(x * Float64(Float64(y * Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y)))) / x)); elseif (x <= 4.4e+189) tmp = Float64(Float64(Float64(1.0 + Float64(x * Float64(x * -0.16666666666666666))) * Float64(x * y)) / x); else tmp = Float64(Float64(y * Float64(x * Float64(y * Float64(y * Float64(Float64(y * y) * 0.008333333333333333))))) / x); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 1.66e+97) tmp = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x); elseif (x <= 4.4e+189) tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x; else tmp = (y * (x * (y * (y * ((y * y) * 0.008333333333333333))))) / x; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 1.66e+97], N[(x * N[(N[(y * N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.4e+189], N[(N[(N[(1.0 + N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(N[(y * N[(x * N[(y * N[(y * N[(N[(y * y), $MachinePrecision] * 0.008333333333333333), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;x \cdot \frac{y \cdot \left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right)}{x}\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{+189}:\\
\;\;\;\;\frac{\left(1 + x \cdot \left(x \cdot -0.16666666666666666\right)\right) \cdot \left(x \cdot y\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(y \cdot \left(y \cdot \left(\left(y \cdot y\right) \cdot 0.008333333333333333\right)\right)\right)\right)}{x}\\
\end{array}
\end{array}
if x < 1.6599999999999999e97Initial program 88.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6469.6%
Simplified69.6%
if 1.6599999999999999e97 < x < 4.4000000000000001e189Initial program 99.9%
Taylor expanded in y around 0
Simplified36.1%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.7%
Simplified50.7%
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.8%
Applied egg-rr50.8%
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6450.8%
Applied egg-rr50.8%
if 4.4000000000000001e189 < x Initial program 99.9%
Taylor expanded in y around 0
*-lowering-*.f64N/A
*-rgt-identityN/A
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
distribute-rgt-outN/A
*-commutativeN/A
distribute-lft-inN/A
Simplified86.7%
Taylor expanded in x around 0
Simplified38.9%
Taylor expanded in y around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
*-commutativeN/A
associate-*r*N/A
unpow2N/A
unpow3N/A
*-lowering-*.f64N/A
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6477.6%
Simplified77.6%
Final simplification69.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (* x (/ (* y (+ 1.0 (* 0.16666666666666666 (* y y)))) x))))
(if (<= x 1.66e+97)
t_0
(if (<= x 4.4e+189)
(/ (* (+ 1.0 (* x (* x -0.16666666666666666))) (* x y)) x)
t_0))))
double code(double x, double y) {
double t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.4e+189) {
tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x;
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = x * ((y * (1.0d0 + (0.16666666666666666d0 * (y * y)))) / x)
if (x <= 1.66d+97) then
tmp = t_0
else if (x <= 4.4d+189) then
tmp = ((1.0d0 + (x * (x * (-0.16666666666666666d0)))) * (x * y)) / x
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.4e+189) {
tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x;
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y): t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x) tmp = 0 if x <= 1.66e+97: tmp = t_0 elif x <= 4.4e+189: tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x else: tmp = t_0 return tmp
function code(x, y) t_0 = Float64(x * Float64(Float64(y * Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y)))) / x)) tmp = 0.0 if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.4e+189) tmp = Float64(Float64(Float64(1.0 + Float64(x * Float64(x * -0.16666666666666666))) * Float64(x * y)) / x); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y) t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x); tmp = 0.0; if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.4e+189) tmp = ((1.0 + (x * (x * -0.16666666666666666))) * (x * y)) / x; else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(x * N[(N[(y * N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], t$95$0, If[LessEqual[x, 4.4e+189], N[(N[(N[(1.0 + N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(x * y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := x \cdot \frac{y \cdot \left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right)}{x}\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4.4 \cdot 10^{+189}:\\
\;\;\;\;\frac{\left(1 + x \cdot \left(x \cdot -0.16666666666666666\right)\right) \cdot \left(x \cdot y\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < 1.6599999999999999e97 or 4.4000000000000001e189 < x Initial program 89.1%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.8%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6469.5%
Simplified69.5%
if 1.6599999999999999e97 < x < 4.4000000000000001e189Initial program 99.9%
Taylor expanded in y around 0
Simplified36.1%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.7%
Simplified50.7%
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6450.8%
Applied egg-rr50.8%
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f6450.8%
Applied egg-rr50.8%
Final simplification68.2%
(FPCore (x y)
:precision binary64
(let* ((t_0 (* x (/ (* y (+ 1.0 (* 0.16666666666666666 (* y y)))) x))))
(if (<= x 1.66e+97)
t_0
(if (<= x 4.3e+189)
(/ (* y (* x (* -0.16666666666666666 (* x x)))) x)
t_0))))
double code(double x, double y) {
double t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.3e+189) {
tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x;
} else {
tmp = t_0;
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: t_0
real(8) :: tmp
t_0 = x * ((y * (1.0d0 + (0.16666666666666666d0 * (y * y)))) / x)
if (x <= 1.66d+97) then
tmp = t_0
else if (x <= 4.3d+189) then
tmp = (y * (x * ((-0.16666666666666666d0) * (x * x)))) / x
else
tmp = t_0
end if
code = tmp
end function
public static double code(double x, double y) {
double t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x);
double tmp;
if (x <= 1.66e+97) {
tmp = t_0;
} else if (x <= 4.3e+189) {
tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x;
} else {
tmp = t_0;
}
return tmp;
}
def code(x, y): t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x) tmp = 0 if x <= 1.66e+97: tmp = t_0 elif x <= 4.3e+189: tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x else: tmp = t_0 return tmp
function code(x, y) t_0 = Float64(x * Float64(Float64(y * Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y)))) / x)) tmp = 0.0 if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.3e+189) tmp = Float64(Float64(y * Float64(x * Float64(-0.16666666666666666 * Float64(x * x)))) / x); else tmp = t_0; end return tmp end
function tmp_2 = code(x, y) t_0 = x * ((y * (1.0 + (0.16666666666666666 * (y * y)))) / x); tmp = 0.0; if (x <= 1.66e+97) tmp = t_0; elseif (x <= 4.3e+189) tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x; else tmp = t_0; end tmp_2 = tmp; end
code[x_, y_] := Block[{t$95$0 = N[(x * N[(N[(y * N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.66e+97], t$95$0, If[LessEqual[x, 4.3e+189], N[(N[(y * N[(x * N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := x \cdot \frac{y \cdot \left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right)}{x}\\
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;x \leq 4.3 \cdot 10^{+189}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(-0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if x < 1.6599999999999999e97 or 4.29999999999999998e189 < x Initial program 89.1%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.8%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6469.5%
Simplified69.5%
if 1.6599999999999999e97 < x < 4.29999999999999998e189Initial program 99.9%
Taylor expanded in y around 0
Simplified36.1%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.7%
Simplified50.7%
Final simplification68.2%
(FPCore (x y)
:precision binary64
(if (<= y 1.85e+31)
(* x (/ 1.0 (/ x y)))
(if (<= y 2.2e+122)
(/ (* y (* x (* -0.16666666666666666 (* x x)))) x)
(* y (+ 1.0 (* 0.16666666666666666 (* y y)))))))
double code(double x, double y) {
double tmp;
if (y <= 1.85e+31) {
tmp = x * (1.0 / (x / y));
} else if (y <= 2.2e+122) {
tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x;
} else {
tmp = y * (1.0 + (0.16666666666666666 * (y * y)));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 1.85d+31) then
tmp = x * (1.0d0 / (x / y))
else if (y <= 2.2d+122) then
tmp = (y * (x * ((-0.16666666666666666d0) * (x * x)))) / x
else
tmp = y * (1.0d0 + (0.16666666666666666d0 * (y * y)))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 1.85e+31) {
tmp = x * (1.0 / (x / y));
} else if (y <= 2.2e+122) {
tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x;
} else {
tmp = y * (1.0 + (0.16666666666666666 * (y * y)));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 1.85e+31: tmp = x * (1.0 / (x / y)) elif y <= 2.2e+122: tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x else: tmp = y * (1.0 + (0.16666666666666666 * (y * y))) return tmp
function code(x, y) tmp = 0.0 if (y <= 1.85e+31) tmp = Float64(x * Float64(1.0 / Float64(x / y))); elseif (y <= 2.2e+122) tmp = Float64(Float64(y * Float64(x * Float64(-0.16666666666666666 * Float64(x * x)))) / x); else tmp = Float64(y * Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y)))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 1.85e+31) tmp = x * (1.0 / (x / y)); elseif (y <= 2.2e+122) tmp = (y * (x * (-0.16666666666666666 * (x * x)))) / x; else tmp = y * (1.0 + (0.16666666666666666 * (y * y))); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 1.85e+31], N[(x * N[(1.0 / N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.2e+122], N[(N[(y * N[(x * N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(y * N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 1.85 \cdot 10^{+31}:\\
\;\;\;\;x \cdot \frac{1}{\frac{x}{y}}\\
\mathbf{elif}\;y \leq 2.2 \cdot 10^{+122}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(-0.16666666666666666 \cdot \left(x \cdot x\right)\right)\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right)\\
\end{array}
\end{array}
if y < 1.8499999999999999e31Initial program 87.5%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified75.9%
Taylor expanded in y around 0
/-lowering-/.f6457.3%
Simplified57.3%
clear-numN/A
/-lowering-/.f64N/A
/-lowering-/.f6458.0%
Applied egg-rr58.0%
if 1.8499999999999999e31 < y < 2.1999999999999999e122Initial program 100.0%
Taylor expanded in y around 0
Simplified3.1%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6422.0%
Simplified22.0%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6421.3%
Simplified21.3%
if 2.1999999999999999e122 < y Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified69.7%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6469.7%
Simplified69.7%
Final simplification57.3%
(FPCore (x y) :precision binary64 (if (<= x 1.66e+97) (* x (/ 1.0 (/ x y))) (if (<= x 4.05e+189) (* y (* -0.16666666666666666 (* x x))) (* x (/ y x)))))
double code(double x, double y) {
double tmp;
if (x <= 1.66e+97) {
tmp = x * (1.0 / (x / y));
} else if (x <= 4.05e+189) {
tmp = y * (-0.16666666666666666 * (x * x));
} else {
tmp = x * (y / x);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (x <= 1.66d+97) then
tmp = x * (1.0d0 / (x / y))
else if (x <= 4.05d+189) then
tmp = y * ((-0.16666666666666666d0) * (x * x))
else
tmp = x * (y / x)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (x <= 1.66e+97) {
tmp = x * (1.0 / (x / y));
} else if (x <= 4.05e+189) {
tmp = y * (-0.16666666666666666 * (x * x));
} else {
tmp = x * (y / x);
}
return tmp;
}
def code(x, y): tmp = 0 if x <= 1.66e+97: tmp = x * (1.0 / (x / y)) elif x <= 4.05e+189: tmp = y * (-0.16666666666666666 * (x * x)) else: tmp = x * (y / x) return tmp
function code(x, y) tmp = 0.0 if (x <= 1.66e+97) tmp = Float64(x * Float64(1.0 / Float64(x / y))); elseif (x <= 4.05e+189) tmp = Float64(y * Float64(-0.16666666666666666 * Float64(x * x))); else tmp = Float64(x * Float64(y / x)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (x <= 1.66e+97) tmp = x * (1.0 / (x / y)); elseif (x <= 4.05e+189) tmp = y * (-0.16666666666666666 * (x * x)); else tmp = x * (y / x); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[x, 1.66e+97], N[(x * N[(1.0 / N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 4.05e+189], N[(y * N[(-0.16666666666666666 * N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(y / x), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq 1.66 \cdot 10^{+97}:\\
\;\;\;\;x \cdot \frac{1}{\frac{x}{y}}\\
\mathbf{elif}\;x \leq 4.05 \cdot 10^{+189}:\\
\;\;\;\;y \cdot \left(-0.16666666666666666 \cdot \left(x \cdot x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{y}{x}\\
\end{array}
\end{array}
if x < 1.6599999999999999e97Initial program 88.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified78.9%
Taylor expanded in y around 0
/-lowering-/.f6456.7%
Simplified56.7%
clear-numN/A
/-lowering-/.f64N/A
/-lowering-/.f6457.0%
Applied egg-rr57.0%
if 1.6599999999999999e97 < x < 4.05000000000000016e189Initial program 99.9%
Taylor expanded in y around 0
Simplified36.1%
Taylor expanded in x around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.7%
Simplified50.7%
Taylor expanded in x around inf
associate-*r*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6450.9%
Simplified50.9%
if 4.05000000000000016e189 < x Initial program 99.9%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified77.4%
Taylor expanded in y around 0
/-lowering-/.f6443.5%
Simplified43.5%
(FPCore (x y) :precision binary64 (if (<= y 1.1e+100) (* x (/ 1.0 (/ x y))) (* y (+ 1.0 (* 0.16666666666666666 (* y y))))))
double code(double x, double y) {
double tmp;
if (y <= 1.1e+100) {
tmp = x * (1.0 / (x / y));
} else {
tmp = y * (1.0 + (0.16666666666666666 * (y * y)));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 1.1d+100) then
tmp = x * (1.0d0 / (x / y))
else
tmp = y * (1.0d0 + (0.16666666666666666d0 * (y * y)))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 1.1e+100) {
tmp = x * (1.0 / (x / y));
} else {
tmp = y * (1.0 + (0.16666666666666666 * (y * y)));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 1.1e+100: tmp = x * (1.0 / (x / y)) else: tmp = y * (1.0 + (0.16666666666666666 * (y * y))) return tmp
function code(x, y) tmp = 0.0 if (y <= 1.1e+100) tmp = Float64(x * Float64(1.0 / Float64(x / y))); else tmp = Float64(y * Float64(1.0 + Float64(0.16666666666666666 * Float64(y * y)))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 1.1e+100) tmp = x * (1.0 / (x / y)); else tmp = y * (1.0 + (0.16666666666666666 * (y * y))); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 1.1e+100], N[(x * N[(1.0 / N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(1.0 + N[(0.16666666666666666 * N[(y * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 1.1 \cdot 10^{+100}:\\
\;\;\;\;x \cdot \frac{1}{\frac{x}{y}}\\
\mathbf{else}:\\
\;\;\;\;y \cdot \left(1 + 0.16666666666666666 \cdot \left(y \cdot y\right)\right)\\
\end{array}
\end{array}
if y < 1.1e100Initial program 88.2%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified75.4%
Taylor expanded in y around 0
/-lowering-/.f6455.2%
Simplified55.2%
clear-numN/A
/-lowering-/.f64N/A
/-lowering-/.f6455.8%
Applied egg-rr55.8%
if 1.1e100 < y Initial program 100.0%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f64100.0%
Simplified100.0%
Taylor expanded in x around 0
Simplified66.7%
Taylor expanded in y around 0
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6466.7%
Simplified66.7%
(FPCore (x y) :precision binary64 (* x (/ 1.0 (/ x y))))
double code(double x, double y) {
return x * (1.0 / (x / y));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x * (1.0d0 / (x / y))
end function
public static double code(double x, double y) {
return x * (1.0 / (x / y));
}
def code(x, y): return x * (1.0 / (x / y))
function code(x, y) return Float64(x * Float64(1.0 / Float64(x / y))) end
function tmp = code(x, y) tmp = x * (1.0 / (x / y)); end
code[x_, y_] := N[(x * N[(1.0 / N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \frac{1}{\frac{x}{y}}
\end{array}
Initial program 89.8%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified74.1%
Taylor expanded in y around 0
/-lowering-/.f6451.7%
Simplified51.7%
clear-numN/A
/-lowering-/.f64N/A
/-lowering-/.f6452.2%
Applied egg-rr52.2%
(FPCore (x y) :precision binary64 (* x (/ y x)))
double code(double x, double y) {
return x * (y / x);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x * (y / x)
end function
public static double code(double x, double y) {
return x * (y / x);
}
def code(x, y): return x * (y / x)
function code(x, y) return Float64(x * Float64(y / x)) end
function tmp = code(x, y) tmp = x * (y / x); end
code[x_, y_] := N[(x * N[(y / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x \cdot \frac{y}{x}
\end{array}
Initial program 89.8%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified74.1%
Taylor expanded in y around 0
/-lowering-/.f6451.7%
Simplified51.7%
(FPCore (x y) :precision binary64 y)
double code(double x, double y) {
return y;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = y
end function
public static double code(double x, double y) {
return y;
}
def code(x, y): return y
function code(x, y) return y end
function tmp = code(x, y) tmp = y; end
code[x_, y_] := y
\begin{array}{l}
\\
y
\end{array}
Initial program 89.8%
associate-/l*N/A
*-lowering-*.f64N/A
sin-lowering-sin.f64N/A
/-lowering-/.f64N/A
sinh-lowering-sinh.f6499.9%
Simplified99.9%
Taylor expanded in x around 0
Simplified74.1%
Taylor expanded in y around 0
Simplified28.7%
(FPCore (x y) :precision binary64 (* (sin x) (/ (sinh y) x)))
double code(double x, double y) {
return sin(x) * (sinh(y) / x);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sin(x) * (sinh(y) / x)
end function
public static double code(double x, double y) {
return Math.sin(x) * (Math.sinh(y) / x);
}
def code(x, y): return math.sin(x) * (math.sinh(y) / x)
function code(x, y) return Float64(sin(x) * Float64(sinh(y) / x)) end
function tmp = code(x, y) tmp = sin(x) * (sinh(y) / x); end
code[x_, y_] := N[(N[Sin[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sin x \cdot \frac{\sinh y}{x}
\end{array}
herbie shell --seed 2024163
(FPCore (x y)
:name "Linear.Quaternion:$ccosh from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (* (sin x) (/ (sinh y) x)))
(/ (* (sin x) (sinh y)) x))