
(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 24 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 (/ (sinh y) (/ x (sin x))))
double code(double x, double y) {
return sinh(y) / (x / sin(x));
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sinh(y) / (x / sin(x))
end function
public static double code(double x, double y) {
return Math.sinh(y) / (x / Math.sin(x));
}
def code(x, y): return math.sinh(y) / (x / math.sin(x))
function code(x, y) return Float64(sinh(y) / Float64(x / sin(x))) end
function tmp = code(x, y) tmp = sinh(y) / (x / sin(x)); end
code[x_, y_] := N[(N[Sinh[y], $MachinePrecision] / N[(x / N[Sin[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{\sinh y}{\frac{x}{\sin x}}
\end{array}
Initial program 86.7%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (sinh y) (sin x)) x)))
(if (<= t_0 (- INFINITY))
(/ (* (sinh y) (fma x (* (* x x) -0.16666666666666666) x)) x)
(if (<= t_0 2e-8)
(* (/ (sin x) x) (fma (* y y) (* y 0.16666666666666666) y))
(sinh y)))))
double code(double x, double y) {
double t_0 = (sinh(y) * sin(x)) / x;
double tmp;
if (t_0 <= -((double) INFINITY)) {
tmp = (sinh(y) * fma(x, ((x * x) * -0.16666666666666666), x)) / x;
} else if (t_0 <= 2e-8) {
tmp = (sin(x) / x) * fma((y * y), (y * 0.16666666666666666), y);
} else {
tmp = sinh(y);
}
return tmp;
}
function code(x, y) t_0 = Float64(Float64(sinh(y) * sin(x)) / x) tmp = 0.0 if (t_0 <= Float64(-Inf)) tmp = Float64(Float64(sinh(y) * fma(x, Float64(Float64(x * x) * -0.16666666666666666), x)) / x); elseif (t_0 <= 2e-8) tmp = Float64(Float64(sin(x) / x) * fma(Float64(y * y), Float64(y * 0.16666666666666666), y)); else tmp = sinh(y); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[t$95$0, (-Infinity)], N[(N[(N[Sinh[y], $MachinePrecision] * N[(x * N[(N[(x * x), $MachinePrecision] * -0.16666666666666666), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], If[LessEqual[t$95$0, 2e-8], N[(N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision], N[Sinh[y], $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \frac{\sinh y \cdot \sin x}{x}\\
\mathbf{if}\;t\_0 \leq -\infty:\\
\;\;\;\;\frac{\sinh y \cdot \mathsf{fma}\left(x, \left(x \cdot x\right) \cdot -0.16666666666666666, x\right)}{x}\\
\mathbf{elif}\;t\_0 \leq 2 \cdot 10^{-8}:\\
\;\;\;\;\frac{\sin x}{x} \cdot \mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right)\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -inf.0Initial program 100.0%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6472.5
Simplified72.5%
if -inf.0 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 2e-8Initial program 74.1%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified99.9%
if 2e-8 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
Taylor expanded in x around 0
Simplified73.0%
Final simplification86.6%
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (sinh y) (sin x)) x))
(t_1 (fma (* y y) (* y 0.16666666666666666) y)))
(if (<= t_0 (- INFINITY))
(* t_1 (fma (* x x) (* x (* x (* (* x x) -0.0001984126984126984))) 1.0))
(if (<= t_0 2e-8) (* (/ (sin x) x) t_1) (sinh y)))))
double code(double x, double y) {
double t_0 = (sinh(y) * sin(x)) / x;
double t_1 = fma((y * y), (y * 0.16666666666666666), y);
double tmp;
if (t_0 <= -((double) INFINITY)) {
tmp = t_1 * fma((x * x), (x * (x * ((x * x) * -0.0001984126984126984))), 1.0);
} else if (t_0 <= 2e-8) {
tmp = (sin(x) / x) * t_1;
} else {
tmp = sinh(y);
}
return tmp;
}
function code(x, y) t_0 = Float64(Float64(sinh(y) * sin(x)) / x) t_1 = fma(Float64(y * y), Float64(y * 0.16666666666666666), y) tmp = 0.0 if (t_0 <= Float64(-Inf)) tmp = Float64(t_1 * fma(Float64(x * x), Float64(x * Float64(x * Float64(Float64(x * x) * -0.0001984126984126984))), 1.0)); elseif (t_0 <= 2e-8) tmp = Float64(Float64(sin(x) / x) * t_1); else tmp = sinh(y); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]}, Block[{t$95$1 = N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[t$95$0, (-Infinity)], N[(t$95$1 * N[(N[(x * x), $MachinePrecision] * N[(x * N[(x * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$0, 2e-8], N[(N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision] * t$95$1), $MachinePrecision], N[Sinh[y], $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \frac{\sinh y \cdot \sin x}{x}\\
t_1 := \mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right)\\
\mathbf{if}\;t\_0 \leq -\infty:\\
\;\;\;\;t\_1 \cdot \mathsf{fma}\left(x \cdot x, x \cdot \left(x \cdot \left(\left(x \cdot x\right) \cdot -0.0001984126984126984\right)\right), 1\right)\\
\mathbf{elif}\;t\_0 \leq 2 \cdot 10^{-8}:\\
\;\;\;\;\frac{\sin x}{x} \cdot t\_1\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -inf.0Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified64.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
Taylor expanded in x around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
if -inf.0 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 2e-8Initial program 74.1%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified99.9%
if 2e-8 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
Taylor expanded in x around 0
Simplified73.0%
Final simplification83.3%
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (sinh y) (sin x)) x)))
(if (<= t_0 (- INFINITY))
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma (* x x) (* x (* x (* (* x x) -0.0001984126984126984))) 1.0))
(if (<= t_0 2e-8) (/ y (/ x (sin x))) (sinh y)))))
double code(double x, double y) {
double t_0 = (sinh(y) * sin(x)) / x;
double tmp;
if (t_0 <= -((double) INFINITY)) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), (x * (x * ((x * x) * -0.0001984126984126984))), 1.0);
} else if (t_0 <= 2e-8) {
tmp = y / (x / sin(x));
} else {
tmp = sinh(y);
}
return tmp;
}
function code(x, y) t_0 = Float64(Float64(sinh(y) * sin(x)) / x) tmp = 0.0 if (t_0 <= Float64(-Inf)) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), Float64(x * Float64(x * Float64(Float64(x * x) * -0.0001984126984126984))), 1.0)); elseif (t_0 <= 2e-8) tmp = Float64(y / Float64(x / sin(x))); else tmp = sinh(y); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[t$95$0, (-Infinity)], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(x * N[(x * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$0, 2e-8], N[(y / N[(x / N[Sin[x], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[Sinh[y], $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \frac{\sinh y \cdot \sin x}{x}\\
\mathbf{if}\;t\_0 \leq -\infty:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, x \cdot \left(x \cdot \left(\left(x \cdot x\right) \cdot -0.0001984126984126984\right)\right), 1\right)\\
\mathbf{elif}\;t\_0 \leq 2 \cdot 10^{-8}:\\
\;\;\;\;\frac{y}{\frac{x}{\sin x}}\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -inf.0Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified64.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
Taylor expanded in x around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
if -inf.0 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 2e-8Initial program 74.1%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6499.3
Simplified99.3%
lift-sin.f64N/A
div-invN/A
div-invN/A
clear-numN/A
lift-/.f64N/A
un-div-invN/A
lower-/.f6499.4
Applied egg-rr99.4%
if 2e-8 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
Taylor expanded in x around 0
Simplified73.0%
Final simplification83.1%
(FPCore (x y)
:precision binary64
(let* ((t_0 (/ (* (sinh y) (sin x)) x)))
(if (<= t_0 (- INFINITY))
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma (* x x) (* x (* x (* (* x x) -0.0001984126984126984))) 1.0))
(if (<= t_0 2e-8) (* y (/ (sin x) x)) (sinh y)))))
double code(double x, double y) {
double t_0 = (sinh(y) * sin(x)) / x;
double tmp;
if (t_0 <= -((double) INFINITY)) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), (x * (x * ((x * x) * -0.0001984126984126984))), 1.0);
} else if (t_0 <= 2e-8) {
tmp = y * (sin(x) / x);
} else {
tmp = sinh(y);
}
return tmp;
}
function code(x, y) t_0 = Float64(Float64(sinh(y) * sin(x)) / x) tmp = 0.0 if (t_0 <= Float64(-Inf)) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), Float64(x * Float64(x * Float64(Float64(x * x) * -0.0001984126984126984))), 1.0)); elseif (t_0 <= 2e-8) tmp = Float64(y * Float64(sin(x) / x)); else tmp = sinh(y); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]}, If[LessEqual[t$95$0, (-Infinity)], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(x * N[(x * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$0, 2e-8], N[(y * N[(N[Sin[x], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision], N[Sinh[y], $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \frac{\sinh y \cdot \sin x}{x}\\
\mathbf{if}\;t\_0 \leq -\infty:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, x \cdot \left(x \cdot \left(\left(x \cdot x\right) \cdot -0.0001984126984126984\right)\right), 1\right)\\
\mathbf{elif}\;t\_0 \leq 2 \cdot 10^{-8}:\\
\;\;\;\;y \cdot \frac{\sin x}{x}\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -inf.0Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified64.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
Taylor expanded in x around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6455.8
Simplified55.8%
if -inf.0 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 2e-8Initial program 74.1%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6499.3
Simplified99.3%
if 2e-8 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
Taylor expanded in x around 0
Simplified73.0%
Final simplification83.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (fma 0.16666666666666666 (* y (* y y)) y)))
(if (<= (/ (* (sinh y) (sin x)) x) -2e-154)
(fma
(* x x)
(*
(* x (* x t_0))
(fma (* x x) -0.0001984126984126984 0.008333333333333333))
(* t_0 (fma x (* x -0.16666666666666666) 1.0)))
(sinh y))))
double code(double x, double y) {
double t_0 = fma(0.16666666666666666, (y * (y * y)), y);
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-154) {
tmp = fma((x * x), ((x * (x * t_0)) * fma((x * x), -0.0001984126984126984, 0.008333333333333333)), (t_0 * fma(x, (x * -0.16666666666666666), 1.0)));
} else {
tmp = sinh(y);
}
return tmp;
}
function code(x, y) t_0 = fma(0.16666666666666666, Float64(y * Float64(y * y)), y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-154) tmp = fma(Float64(x * x), Float64(Float64(x * Float64(x * t_0)) * fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333)), Float64(t_0 * fma(x, Float64(x * -0.16666666666666666), 1.0))); else tmp = sinh(y); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-154], N[(N[(x * x), $MachinePrecision] * N[(N[(x * N[(x * t$95$0), $MachinePrecision]), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision]), $MachinePrecision] + N[(t$95$0 * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[Sinh[y], $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-154}:\\
\;\;\;\;\mathsf{fma}\left(x \cdot x, \left(x \cdot \left(x \cdot t\_0\right)\right) \cdot \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), t\_0 \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\sinh y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.9999999999999999e-154Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified69.0%
Taylor expanded in x around 0
Simplified38.3%
if -1.9999999999999999e-154 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 82.8%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
associate-/r/N/A
lower-/.f64N/A
lower-/.f64100.0
Applied egg-rr100.0%
Taylor expanded in x around 0
Simplified59.5%
Final simplification54.6%
(FPCore (x y)
:precision binary64
(let* ((t_0 (fma 0.16666666666666666 (* y (* y y)) y)))
(if (<= (/ (* (sinh y) (sin x)) x) 1e-36)
(fma
(* x x)
(*
(* x (* x t_0))
(fma (* x x) -0.0001984126984126984 0.008333333333333333))
(* t_0 (fma x (* x -0.16666666666666666) 1.0)))
(/
(*
(fma
(fma (* x x) 0.008333333333333333 -0.16666666666666666)
(* x (* x x))
x)
(fma
(* y y)
(*
y
(fma
(* y y)
(fma (* y y) 0.0001984126984126984 0.008333333333333333)
0.16666666666666666))
y))
x))))
double code(double x, double y) {
double t_0 = fma(0.16666666666666666, (y * (y * y)), y);
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1e-36) {
tmp = fma((x * x), ((x * (x * t_0)) * fma((x * x), -0.0001984126984126984, 0.008333333333333333)), (t_0 * fma(x, (x * -0.16666666666666666), 1.0)));
} else {
tmp = (fma(fma((x * x), 0.008333333333333333, -0.16666666666666666), (x * (x * x)), x) * fma((y * y), (y * fma((y * y), fma((y * y), 0.0001984126984126984, 0.008333333333333333), 0.16666666666666666)), y)) / x;
}
return tmp;
}
function code(x, y) t_0 = fma(0.16666666666666666, Float64(y * Float64(y * y)), y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1e-36) tmp = fma(Float64(x * x), Float64(Float64(x * Float64(x * t_0)) * fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333)), Float64(t_0 * fma(x, Float64(x * -0.16666666666666666), 1.0))); else tmp = Float64(Float64(fma(fma(Float64(x * x), 0.008333333333333333, -0.16666666666666666), Float64(x * Float64(x * x)), x) * fma(Float64(y * y), Float64(y * fma(Float64(y * y), fma(Float64(y * y), 0.0001984126984126984, 0.008333333333333333), 0.16666666666666666)), y)) / x); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1e-36], N[(N[(x * x), $MachinePrecision] * N[(N[(x * N[(x * t$95$0), $MachinePrecision]), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision]), $MachinePrecision] + N[(t$95$0 * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x * x), $MachinePrecision] * 0.008333333333333333 + -0.16666666666666666), $MachinePrecision] * N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * N[(y * N[(N[(y * y), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * 0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + 0.16666666666666666), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 10^{-36}:\\
\;\;\;\;\mathsf{fma}\left(x \cdot x, \left(x \cdot \left(x \cdot t\_0\right)\right) \cdot \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), t\_0 \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(x \cdot x, 0.008333333333333333, -0.16666666666666666\right), x \cdot \left(x \cdot x\right), x\right) \cdot \mathsf{fma}\left(y \cdot y, y \cdot \mathsf{fma}\left(y \cdot y, \mathsf{fma}\left(y \cdot y, 0.0001984126984126984, 0.008333333333333333\right), 0.16666666666666666\right), y\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 9.9999999999999994e-37Initial program 80.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified89.6%
Taylor expanded in x around 0
Simplified44.5%
if 9.9999999999999994e-37 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
*-rgt-identityN/A
lower-fma.f64N/A
sub-negN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6474.7
Simplified74.7%
Taylor expanded in y around 0
+-commutativeN/A
distribute-rgt-inN/A
associate-*l*N/A
*-lft-identityN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6466.5
Simplified66.5%
Final simplification51.3%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) 1e-36)
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma
(* x x)
(fma
(* x x)
(fma (* x x) -0.0001984126984126984 0.008333333333333333)
-0.16666666666666666)
1.0))
(/
(*
(fma
(fma (* x x) 0.008333333333333333 -0.16666666666666666)
(* x (* x x))
x)
(fma
(* y y)
(*
y
(fma
(* y y)
(fma (* y y) 0.0001984126984126984 0.008333333333333333)
0.16666666666666666))
y))
x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1e-36) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), fma((x * x), fma((x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0);
} else {
tmp = (fma(fma((x * x), 0.008333333333333333, -0.16666666666666666), (x * (x * x)), x) * fma((y * y), (y * fma((y * y), fma((y * y), 0.0001984126984126984, 0.008333333333333333), 0.16666666666666666)), y)) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1e-36) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), fma(Float64(x * x), fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0)); else tmp = Float64(Float64(fma(fma(Float64(x * x), 0.008333333333333333, -0.16666666666666666), Float64(x * Float64(x * x)), x) * fma(Float64(y * y), Float64(y * fma(Float64(y * y), fma(Float64(y * y), 0.0001984126984126984, 0.008333333333333333), 0.16666666666666666)), y)) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1e-36], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x * x), $MachinePrecision] * 0.008333333333333333 + -0.16666666666666666), $MachinePrecision] * N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * N[(y * N[(N[(y * y), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * 0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + 0.16666666666666666), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 10^{-36}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), -0.16666666666666666\right), 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(x \cdot x, 0.008333333333333333, -0.16666666666666666\right), x \cdot \left(x \cdot x\right), x\right) \cdot \mathsf{fma}\left(y \cdot y, y \cdot \mathsf{fma}\left(y \cdot y, \mathsf{fma}\left(y \cdot y, 0.0001984126984126984, 0.008333333333333333\right), 0.16666666666666666\right), y\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 9.9999999999999994e-37Initial program 80.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified89.6%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6450.2
Simplified50.2%
if 9.9999999999999994e-37 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
*-rgt-identityN/A
lower-fma.f64N/A
sub-negN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6474.7
Simplified74.7%
Taylor expanded in y around 0
+-commutativeN/A
distribute-rgt-inN/A
associate-*l*N/A
*-lft-identityN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6466.5
Simplified66.5%
Final simplification55.2%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) 1e-36)
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma
(* x x)
(fma
(* x x)
(fma (* x x) -0.0001984126984126984 0.008333333333333333)
-0.16666666666666666)
1.0))
(/
(*
(fma
(fma (* x x) 0.008333333333333333 -0.16666666666666666)
(* x (* x x))
x)
(fma
(* y y)
(* y (fma (* y y) 0.008333333333333333 0.16666666666666666))
y))
x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1e-36) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), fma((x * x), fma((x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0);
} else {
tmp = (fma(fma((x * x), 0.008333333333333333, -0.16666666666666666), (x * (x * x)), x) * fma((y * y), (y * fma((y * y), 0.008333333333333333, 0.16666666666666666)), y)) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1e-36) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), fma(Float64(x * x), fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0)); else tmp = Float64(Float64(fma(fma(Float64(x * x), 0.008333333333333333, -0.16666666666666666), Float64(x * Float64(x * x)), x) * fma(Float64(y * y), Float64(y * fma(Float64(y * y), 0.008333333333333333, 0.16666666666666666)), y)) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1e-36], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(N[(x * x), $MachinePrecision] * 0.008333333333333333 + -0.16666666666666666), $MachinePrecision] * N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision] * N[(N[(y * y), $MachinePrecision] * N[(y * N[(N[(y * y), $MachinePrecision] * 0.008333333333333333 + 0.16666666666666666), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 10^{-36}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), -0.16666666666666666\right), 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(x \cdot x, 0.008333333333333333, -0.16666666666666666\right), x \cdot \left(x \cdot x\right), x\right) \cdot \mathsf{fma}\left(y \cdot y, y \cdot \mathsf{fma}\left(y \cdot y, 0.008333333333333333, 0.16666666666666666\right), y\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 9.9999999999999994e-37Initial program 80.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified89.6%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6450.2
Simplified50.2%
if 9.9999999999999994e-37 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
*-rgt-identityN/A
lower-fma.f64N/A
sub-negN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6474.7
Simplified74.7%
Taylor expanded in y around 0
*-commutativeN/A
+-commutativeN/A
distribute-lft1-inN/A
associate-*l*N/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6465.2
Simplified65.2%
Final simplification54.8%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) 1e-36)
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma
(* x x)
(fma
(* x x)
(fma (* x x) -0.0001984126984126984 0.008333333333333333)
-0.16666666666666666)
1.0))
(/
(*
y
(*
(fma 0.16666666666666666 (* y y) 1.0)
(fma
(* x x)
(* x (fma 0.008333333333333333 (* x x) -0.16666666666666666))
x)))
x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1e-36) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), fma((x * x), fma((x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0);
} else {
tmp = (y * (fma(0.16666666666666666, (y * y), 1.0) * fma((x * x), (x * fma(0.008333333333333333, (x * x), -0.16666666666666666)), x))) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1e-36) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), fma(Float64(x * x), fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0)); else tmp = Float64(Float64(y * Float64(fma(0.16666666666666666, Float64(y * y), 1.0) * fma(Float64(x * x), Float64(x * fma(0.008333333333333333, Float64(x * x), -0.16666666666666666)), x))) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1e-36], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(y * N[(N[(0.16666666666666666 * N[(y * y), $MachinePrecision] + 1.0), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(x * N[(0.008333333333333333 * N[(x * x), $MachinePrecision] + -0.16666666666666666), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 10^{-36}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), -0.16666666666666666\right), 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(\mathsf{fma}\left(0.16666666666666666, y \cdot y, 1\right) \cdot \mathsf{fma}\left(x \cdot x, x \cdot \mathsf{fma}\left(0.008333333333333333, x \cdot x, -0.16666666666666666\right), x\right)\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 9.9999999999999994e-37Initial program 80.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified89.6%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6450.2
Simplified50.2%
if 9.9999999999999994e-37 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 100.0%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r*N/A
*-commutativeN/A
*-rgt-identityN/A
lower-fma.f64N/A
sub-negN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6474.7
Simplified74.7%
Taylor expanded in y around 0
+-commutativeN/A
associate-+r+N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
lower-*.f64N/A
Simplified60.4%
Final simplification53.3%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) 1.5e-172)
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma
(* x x)
(fma
(* x x)
(fma (* x x) -0.0001984126984126984 0.008333333333333333)
-0.16666666666666666)
1.0))
(/ (* x (fma 0.16666666666666666 (* y (* y y)) y)) x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1.5e-172) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), fma((x * x), fma((x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0);
} else {
tmp = (x * fma(0.16666666666666666, (y * (y * y)), y)) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1.5e-172) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), fma(Float64(x * x), fma(Float64(x * x), -0.0001984126984126984, 0.008333333333333333), -0.16666666666666666), 1.0)); else tmp = Float64(Float64(x * fma(0.16666666666666666, Float64(y * Float64(y * y)), y)) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1.5e-172], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984 + 0.008333333333333333), $MachinePrecision] + -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 1.5 \cdot 10^{-172}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, -0.0001984126984126984, 0.008333333333333333\right), -0.16666666666666666\right), 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 1.49999999999999992e-172Initial program 79.6%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.8%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6448.3
Simplified48.3%
if 1.49999999999999992e-172 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 99.7%
Taylor expanded in y around 0
+-commutativeN/A
distribute-rgt-inN/A
*-commutativeN/A
associate-*l*N/A
*-lft-identityN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f6475.6
Simplified75.6%
Taylor expanded in x around 0
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6461.2
Simplified61.2%
Final simplification52.9%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) 1.5e-172)
(*
(fma (* y y) (* y 0.16666666666666666) y)
(fma (* x x) (* x (* x (* (* x x) -0.0001984126984126984))) 1.0))
(/ (* x (fma 0.16666666666666666 (* y (* y y)) y)) x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1.5e-172) {
tmp = fma((y * y), (y * 0.16666666666666666), y) * fma((x * x), (x * (x * ((x * x) * -0.0001984126984126984))), 1.0);
} else {
tmp = (x * fma(0.16666666666666666, (y * (y * y)), y)) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1.5e-172) tmp = Float64(fma(Float64(y * y), Float64(y * 0.16666666666666666), y) * fma(Float64(x * x), Float64(x * Float64(x * Float64(Float64(x * x) * -0.0001984126984126984))), 1.0)); else tmp = Float64(Float64(x * fma(0.16666666666666666, Float64(y * Float64(y * y)), y)) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1.5e-172], N[(N[(N[(y * y), $MachinePrecision] * N[(y * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision] * N[(N[(x * x), $MachinePrecision] * N[(x * N[(x * N[(N[(x * x), $MachinePrecision] * -0.0001984126984126984), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 1.5 \cdot 10^{-172}:\\
\;\;\;\;\mathsf{fma}\left(y \cdot y, y \cdot 0.16666666666666666, y\right) \cdot \mathsf{fma}\left(x \cdot x, x \cdot \left(x \cdot \left(\left(x \cdot x\right) \cdot -0.0001984126984126984\right)\right), 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 1.49999999999999992e-172Initial program 79.6%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.8%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6448.3
Simplified48.3%
Taylor expanded in x around inf
metadata-evalN/A
pow-sqrN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6448.0
Simplified48.0%
if 1.49999999999999992e-172 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 99.7%
Taylor expanded in y around 0
+-commutativeN/A
distribute-rgt-inN/A
*-commutativeN/A
associate-*l*N/A
*-lft-identityN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f6475.6
Simplified75.6%
Taylor expanded in x around 0
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6461.2
Simplified61.2%
Final simplification52.7%
(FPCore (x y)
:precision binary64
(let* ((t_0 (fma 0.16666666666666666 (* y (* y y)) y)))
(if (<= (/ (* (sinh y) (sin x)) x) 1.5e-172)
(* t_0 (fma x (* x -0.16666666666666666) 1.0))
(/ (* x t_0) x))))
double code(double x, double y) {
double t_0 = fma(0.16666666666666666, (y * (y * y)), y);
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1.5e-172) {
tmp = t_0 * fma(x, (x * -0.16666666666666666), 1.0);
} else {
tmp = (x * t_0) / x;
}
return tmp;
}
function code(x, y) t_0 = fma(0.16666666666666666, Float64(y * Float64(y * y)), y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1.5e-172) tmp = Float64(t_0 * fma(x, Float64(x * -0.16666666666666666), 1.0)); else tmp = Float64(Float64(x * t_0) / x); end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1.5e-172], N[(t$95$0 * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(x * t$95$0), $MachinePrecision] / x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 1.5 \cdot 10^{-172}:\\
\;\;\;\;t\_0 \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot t\_0}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 1.49999999999999992e-172Initial program 79.6%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.8%
Taylor expanded in x around 0
+-commutativeN/A
associate-+r+N/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
lower-fma.f64N/A
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6448.4
Simplified48.4%
if 1.49999999999999992e-172 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 99.7%
Taylor expanded in y around 0
+-commutativeN/A
distribute-rgt-inN/A
*-commutativeN/A
associate-*l*N/A
*-lft-identityN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f6475.6
Simplified75.6%
Taylor expanded in x around 0
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6461.2
Simplified61.2%
Final simplification53.0%
(FPCore (x y)
:precision binary64
(let* ((t_0 (fma 0.16666666666666666 (* y (* y y)) y)))
(if (<= (/ (* (sinh y) (sin x)) x) -2e-252)
(* t_0 (fma x (* x -0.16666666666666666) 1.0))
t_0)))
double code(double x, double y) {
double t_0 = fma(0.16666666666666666, (y * (y * y)), y);
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = t_0 * fma(x, (x * -0.16666666666666666), 1.0);
} else {
tmp = t_0;
}
return tmp;
}
function code(x, y) t_0 = fma(0.16666666666666666, Float64(y * Float64(y * y)), y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(t_0 * fma(x, Float64(x * -0.16666666666666666), 1.0)); else tmp = t_0; end return tmp end
code[x_, y_] := Block[{t$95$0 = N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(t$95$0 * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], t$95$0]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;t\_0 \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified73.8%
Taylor expanded in x around 0
+-commutativeN/A
associate-+r+N/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
lower-fma.f64N/A
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6452.3
Simplified52.3%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6451.8
Simplified51.8%
Final simplification52.0%
(FPCore (x y)
:precision binary64
(if (<= (/ (* (sinh y) (sin x)) x) -2e-252)
(*
(fma -0.16666666666666666 (* x x) 1.0)
(fma y (* (* y y) 0.16666666666666666) y))
(fma 0.16666666666666666 (* y (* y y)) y)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = fma(-0.16666666666666666, (x * x), 1.0) * fma(y, ((y * y) * 0.16666666666666666), y);
} else {
tmp = fma(0.16666666666666666, (y * (y * y)), y);
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(fma(-0.16666666666666666, Float64(x * x), 1.0) * fma(y, Float64(Float64(y * y) * 0.16666666666666666), y)); else tmp = fma(0.16666666666666666, Float64(y * Float64(y * y)), y); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(N[(-0.16666666666666666 * N[(x * x), $MachinePrecision] + 1.0), $MachinePrecision] * N[(y * N[(N[(y * y), $MachinePrecision] * 0.16666666666666666), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision], N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;\mathsf{fma}\left(-0.16666666666666666, x \cdot x, 1\right) \cdot \mathsf{fma}\left(y, \left(y \cdot y\right) \cdot 0.16666666666666666, y\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified73.8%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
sub-negN/A
metadata-evalN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f6452.5
Simplified52.5%
Taylor expanded in x around 0
+-commutativeN/A
associate-+r+N/A
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
lower-*.f64N/A
+-commutativeN/A
lower-fma.f64N/A
unpow2N/A
lower-*.f64N/A
+-commutativeN/A
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-fma.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6452.3
Simplified52.3%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6451.8
Simplified51.8%
Final simplification52.0%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) -2e-252) (/ (* y (* x (* (* x x) -0.16666666666666666))) x) (fma 0.16666666666666666 (* y (* y y)) y)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = (y * (x * ((x * x) * -0.16666666666666666))) / x;
} else {
tmp = fma(0.16666666666666666, (y * (y * y)), y);
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(Float64(y * Float64(x * Float64(Float64(x * x) * -0.16666666666666666))) / x); else tmp = fma(0.16666666666666666, Float64(y * Float64(y * y)), y); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(N[(y * N[(x * N[(N[(x * x), $MachinePrecision] * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;\frac{y \cdot \left(x \cdot \left(\left(x \cdot x\right) \cdot -0.16666666666666666\right)\right)}{x}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6429.2
Simplified29.2%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6426.3
Simplified26.3%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6414.8
Simplified14.8%
lift-*.f64N/A
lift-*.f64N/A
lift-*.f64N/A
associate-*r/N/A
lower-/.f64N/A
lower-*.f6416.1
Applied egg-rr16.1%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6451.8
Simplified51.8%
Final simplification42.1%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) -2e-252) (* y (* (* x (* x x)) (/ -0.16666666666666666 x))) (fma 0.16666666666666666 (* y (* y y)) y)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = y * ((x * (x * x)) * (-0.16666666666666666 / x));
} else {
tmp = fma(0.16666666666666666, (y * (y * y)), y);
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(y * Float64(Float64(x * Float64(x * x)) * Float64(-0.16666666666666666 / x))); else tmp = fma(0.16666666666666666, Float64(y * Float64(y * y)), y); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(y * N[(N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] * N[(-0.16666666666666666 / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;y \cdot \left(\left(x \cdot \left(x \cdot x\right)\right) \cdot \frac{-0.16666666666666666}{x}\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6429.2
Simplified29.2%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6426.3
Simplified26.3%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6414.8
Simplified14.8%
lift-*.f64N/A
lift-*.f64N/A
/-rgt-identityN/A
div-invN/A
metadata-evalN/A
*-commutativeN/A
lift-*.f64N/A
associate-*l*N/A
*-commutativeN/A
lift-*.f64N/A
times-fracN/A
lift-*.f64N/A
lift-*.f64N/A
cube-unmultN/A
metadata-evalN/A
cube-divN/A
/-rgt-identityN/A
cube-unmultN/A
lift-*.f64N/A
lift-*.f64N/A
lower-*.f64N/A
lower-/.f6414.8
Applied egg-rr14.8%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6451.8
Simplified51.8%
Final simplification41.7%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) -2e-252) (* y (* x (* x -0.16666666666666666))) (fma 0.16666666666666666 (* y (* y y)) y)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = y * (x * (x * -0.16666666666666666));
} else {
tmp = fma(0.16666666666666666, (y * (y * y)), y);
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(y * Float64(x * Float64(x * -0.16666666666666666))); else tmp = fma(0.16666666666666666, Float64(y * Float64(y * y)), y); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(y * N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(0.16666666666666666 * N[(y * N[(y * y), $MachinePrecision]), $MachinePrecision] + y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;y \cdot \left(x \cdot \left(x \cdot -0.16666666666666666\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(0.16666666666666666, y \cdot \left(y \cdot y\right), y\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6429.2
Simplified29.2%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6426.3
Simplified26.3%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6414.8
Simplified14.8%
lift-*.f64N/A
lift-*.f64N/A
lift-*.f64N/A
div-invN/A
lift-*.f64N/A
lift-*.f64N/A
associate-*r*N/A
lift-/.f64N/A
associate-*l*N/A
lift-*.f64N/A
pow2N/A
lift-/.f64N/A
inv-powN/A
pow-prod-upN/A
metadata-evalN/A
unpow1N/A
lower-*.f64N/A
lower-*.f6414.7
Applied egg-rr14.7%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
+-commutativeN/A
distribute-lft-inN/A
associate-*r/N/A
*-commutativeN/A
associate-*r*N/A
associate-*r/N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
associate-/l*N/A
distribute-rgt-outN/A
*-rgt-identityN/A
distribute-lft-inN/A
Simplified88.2%
Taylor expanded in x around 0
+-commutativeN/A
lower-fma.f64N/A
cube-multN/A
unpow2N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6451.8
Simplified51.8%
Final simplification41.7%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) 1.5e-172) (* y (fma x (* x -0.16666666666666666) 1.0)) (/ (* y x) x)))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= 1.5e-172) {
tmp = y * fma(x, (x * -0.16666666666666666), 1.0);
} else {
tmp = (y * x) / x;
}
return tmp;
}
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= 1.5e-172) tmp = Float64(y * fma(x, Float64(x * -0.16666666666666666), 1.0)); else tmp = Float64(Float64(y * x) / x); end return tmp end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], 1.5e-172], N[(y * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision], N[(N[(y * x), $MachinePrecision] / x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq 1.5 \cdot 10^{-172}:\\
\;\;\;\;y \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot x}{x}\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < 1.49999999999999992e-172Initial program 79.6%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6469.8
Simplified69.8%
Taylor expanded in x around 0
+-commutativeN/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
lower-fma.f64N/A
lower-*.f6437.4
Simplified37.4%
if 1.49999999999999992e-172 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 99.7%
Taylor expanded in y around 0
lower-*.f64N/A
lower-sin.f6422.0
Simplified22.0%
Taylor expanded in x around 0
*-commutativeN/A
lower-*.f6429.0
Simplified29.0%
Final simplification34.4%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) -2e-252) (* y (* x (* x -0.16666666666666666))) y))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = y * (x * (x * -0.16666666666666666));
} else {
tmp = 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) * sin(x)) / x) <= (-2d-252)) then
tmp = y * (x * (x * (-0.16666666666666666d0)))
else
tmp = y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (((Math.sinh(y) * Math.sin(x)) / x) <= -2e-252) {
tmp = y * (x * (x * -0.16666666666666666));
} else {
tmp = y;
}
return tmp;
}
def code(x, y): tmp = 0 if ((math.sinh(y) * math.sin(x)) / x) <= -2e-252: tmp = y * (x * (x * -0.16666666666666666)) else: tmp = y return tmp
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(y * Float64(x * Float64(x * -0.16666666666666666))); else tmp = y; end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (((sinh(y) * sin(x)) / x) <= -2e-252) tmp = y * (x * (x * -0.16666666666666666)); else tmp = y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(y * N[(x * N[(x * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], y]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;y \cdot \left(x \cdot \left(x \cdot -0.16666666666666666\right)\right)\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6429.2
Simplified29.2%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6426.3
Simplified26.3%
Taylor expanded in x around inf
unpow3N/A
unpow2N/A
associate-*r*N/A
*-commutativeN/A
lower-*.f64N/A
lower-*.f64N/A
unpow2N/A
lower-*.f6414.8
Simplified14.8%
lift-*.f64N/A
lift-*.f64N/A
lift-*.f64N/A
div-invN/A
lift-*.f64N/A
lift-*.f64N/A
associate-*r*N/A
lift-/.f64N/A
associate-*l*N/A
lift-*.f64N/A
pow2N/A
lift-/.f64N/A
inv-powN/A
pow-prod-upN/A
metadata-evalN/A
unpow1N/A
lower-*.f64N/A
lower-*.f6414.7
Applied egg-rr14.7%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6461.9
Simplified61.9%
Taylor expanded in x around 0
Simplified33.6%
*-rgt-identity33.6
Applied egg-rr33.6%
Final simplification28.4%
(FPCore (x y) :precision binary64 (if (<= (/ (* (sinh y) (sin x)) x) -2e-252) (* y (* (* x x) -0.16666666666666666)) y))
double code(double x, double y) {
double tmp;
if (((sinh(y) * sin(x)) / x) <= -2e-252) {
tmp = y * ((x * x) * -0.16666666666666666);
} else {
tmp = 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) * sin(x)) / x) <= (-2d-252)) then
tmp = y * ((x * x) * (-0.16666666666666666d0))
else
tmp = y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (((Math.sinh(y) * Math.sin(x)) / x) <= -2e-252) {
tmp = y * ((x * x) * -0.16666666666666666);
} else {
tmp = y;
}
return tmp;
}
def code(x, y): tmp = 0 if ((math.sinh(y) * math.sin(x)) / x) <= -2e-252: tmp = y * ((x * x) * -0.16666666666666666) else: tmp = y return tmp
function code(x, y) tmp = 0.0 if (Float64(Float64(sinh(y) * sin(x)) / x) <= -2e-252) tmp = Float64(y * Float64(Float64(x * x) * -0.16666666666666666)); else tmp = y; end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (((sinh(y) * sin(x)) / x) <= -2e-252) tmp = y * ((x * x) * -0.16666666666666666); else tmp = y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[N[(N[(N[Sinh[y], $MachinePrecision] * N[Sin[x], $MachinePrecision]), $MachinePrecision] / x), $MachinePrecision], -2e-252], N[(y * N[(N[(x * x), $MachinePrecision] * -0.16666666666666666), $MachinePrecision]), $MachinePrecision], y]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{\sinh y \cdot \sin x}{x} \leq -2 \cdot 10^{-252}:\\
\;\;\;\;y \cdot \left(\left(x \cdot x\right) \cdot -0.16666666666666666\right)\\
\mathbf{else}:\\
\;\;\;\;y\\
\end{array}
\end{array}
if (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) < -1.99999999999999989e-252Initial program 99.9%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6429.2
Simplified29.2%
Taylor expanded in x around 0
+-commutativeN/A
distribute-lft-inN/A
*-rgt-identityN/A
lower-fma.f64N/A
*-commutativeN/A
lower-*.f64N/A
unpow2N/A
lower-*.f6426.3
Simplified26.3%
Taylor expanded in x around inf
lower-*.f64N/A
unpow2N/A
lower-*.f6414.7
Simplified14.7%
if -1.99999999999999989e-252 < (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) Initial program 81.8%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6461.9
Simplified61.9%
Taylor expanded in x around 0
Simplified33.6%
*-rgt-identity33.6
Applied egg-rr33.6%
Final simplification28.4%
(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 86.7%
lift-sin.f64N/A
lift-sinh.f64N/A
*-commutativeN/A
associate-*l/N/A
lower-*.f64N/A
lower-/.f6499.9
Applied egg-rr99.9%
Final simplification99.9%
(FPCore (x y) :precision binary64 (* y (fma x (* x -0.16666666666666666) 1.0)))
double code(double x, double y) {
return y * fma(x, (x * -0.16666666666666666), 1.0);
}
function code(x, y) return Float64(y * fma(x, Float64(x * -0.16666666666666666), 1.0)) end
code[x_, y_] := N[(y * N[(x * N[(x * -0.16666666666666666), $MachinePrecision] + 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
y \cdot \mathsf{fma}\left(x, x \cdot -0.16666666666666666, 1\right)
\end{array}
Initial program 86.7%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6453.0
Simplified53.0%
Taylor expanded in x around 0
+-commutativeN/A
*-commutativeN/A
unpow2N/A
associate-*l*N/A
lower-fma.f64N/A
lower-*.f6436.8
Simplified36.8%
(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 86.7%
Taylor expanded in y around 0
associate-/l*N/A
lower-*.f64N/A
lower-/.f64N/A
lower-sin.f6453.0
Simplified53.0%
Taylor expanded in x around 0
Simplified28.2%
*-rgt-identity28.2
Applied egg-rr28.2%
(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 2024208
(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))