
(FPCore (x y) :precision binary64 (* (sin x) (/ (sinh y) y)))
double code(double x, double y) {
return sin(x) * (sinh(y) / y);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sin(x) * (sinh(y) / y)
end function
public static double code(double x, double y) {
return Math.sin(x) * (Math.sinh(y) / y);
}
def code(x, y): return math.sin(x) * (math.sinh(y) / y)
function code(x, y) return Float64(sin(x) * Float64(sinh(y) / y)) end
function tmp = code(x, y) tmp = sin(x) * (sinh(y) / y); end
code[x_, y_] := N[(N[Sin[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sin x \cdot \frac{\sinh y}{y}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 9 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y) :precision binary64 (* (sin x) (/ (sinh y) y)))
double code(double x, double y) {
return sin(x) * (sinh(y) / y);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sin(x) * (sinh(y) / y)
end function
public static double code(double x, double y) {
return Math.sin(x) * (Math.sinh(y) / y);
}
def code(x, y): return math.sin(x) * (math.sinh(y) / y)
function code(x, y) return Float64(sin(x) * Float64(sinh(y) / y)) end
function tmp = code(x, y) tmp = sin(x) * (sinh(y) / y); end
code[x_, y_] := N[(N[Sin[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sin x \cdot \frac{\sinh y}{y}
\end{array}
(FPCore (x y) :precision binary64 (* (sin x) (/ (sinh y) y)))
double code(double x, double y) {
return sin(x) * (sinh(y) / y);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = sin(x) * (sinh(y) / y)
end function
public static double code(double x, double y) {
return Math.sin(x) * (Math.sinh(y) / y);
}
def code(x, y): return math.sin(x) * (math.sinh(y) / y)
function code(x, y) return Float64(sin(x) * Float64(sinh(y) / y)) end
function tmp = code(x, y) tmp = sin(x) * (sinh(y) / y); end
code[x_, y_] := N[(N[Sin[x], $MachinePrecision] * N[(N[Sinh[y], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\sin x \cdot \frac{\sinh y}{y}
\end{array}
Initial program 100.0%
Final simplification100.0%
(FPCore (x y)
:precision binary64
(if (<= y 520.0)
(sin x)
(if (or (<= y 7e+62) (not (<= y 4.1e+95)))
(log1p (expm1 x))
(+ x (* -0.16666666666666666 (pow x 3.0))))))
double code(double x, double y) {
double tmp;
if (y <= 520.0) {
tmp = sin(x);
} else if ((y <= 7e+62) || !(y <= 4.1e+95)) {
tmp = log1p(expm1(x));
} else {
tmp = x + (-0.16666666666666666 * pow(x, 3.0));
}
return tmp;
}
public static double code(double x, double y) {
double tmp;
if (y <= 520.0) {
tmp = Math.sin(x);
} else if ((y <= 7e+62) || !(y <= 4.1e+95)) {
tmp = Math.log1p(Math.expm1(x));
} else {
tmp = x + (-0.16666666666666666 * Math.pow(x, 3.0));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 520.0: tmp = math.sin(x) elif (y <= 7e+62) or not (y <= 4.1e+95): tmp = math.log1p(math.expm1(x)) else: tmp = x + (-0.16666666666666666 * math.pow(x, 3.0)) return tmp
function code(x, y) tmp = 0.0 if (y <= 520.0) tmp = sin(x); elseif ((y <= 7e+62) || !(y <= 4.1e+95)) tmp = log1p(expm1(x)); else tmp = Float64(x + Float64(-0.16666666666666666 * (x ^ 3.0))); end return tmp end
code[x_, y_] := If[LessEqual[y, 520.0], N[Sin[x], $MachinePrecision], If[Or[LessEqual[y, 7e+62], N[Not[LessEqual[y, 4.1e+95]], $MachinePrecision]], N[Log[1 + N[(Exp[x] - 1), $MachinePrecision]], $MachinePrecision], N[(x + N[(-0.16666666666666666 * N[Power[x, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 520:\\
\;\;\;\;\sin x\\
\mathbf{elif}\;y \leq 7 \cdot 10^{+62} \lor \neg \left(y \leq 4.1 \cdot 10^{+95}\right):\\
\;\;\;\;\mathsf{log1p}\left(\mathsf{expm1}\left(x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x + -0.16666666666666666 \cdot {x}^{3}\\
\end{array}
\end{array}
if y < 520Initial program 100.0%
Taylor expanded in y around 0 70.4%
if 520 < y < 6.99999999999999967e62 or 4.09999999999999986e95 < y Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.7%
Taylor expanded in x around 0 15.1%
div-inv15.1%
associate-*l*2.8%
div-inv2.8%
*-inverses2.8%
*-commutative2.8%
*-un-lft-identity2.8%
log1p-expm1-u31.4%
Applied egg-rr31.4%
if 6.99999999999999967e62 < y < 4.09999999999999986e95Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.8%
Taylor expanded in x around 0 51.2%
Final simplification61.9%
(FPCore (x y)
:precision binary64
(if (<= y 2.8e+61)
(sin x)
(if (<= y 3.5e+169)
(/ (* -0.16666666666666666 (* y (pow x 3.0))) y)
(if (<= y 1.5e+296)
(/ (* x y) y)
(+ x (* -0.16666666666666666 (pow x 3.0)))))))
double code(double x, double y) {
double tmp;
if (y <= 2.8e+61) {
tmp = sin(x);
} else if (y <= 3.5e+169) {
tmp = (-0.16666666666666666 * (y * pow(x, 3.0))) / y;
} else if (y <= 1.5e+296) {
tmp = (x * y) / y;
} else {
tmp = x + (-0.16666666666666666 * pow(x, 3.0));
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 2.8d+61) then
tmp = sin(x)
else if (y <= 3.5d+169) then
tmp = ((-0.16666666666666666d0) * (y * (x ** 3.0d0))) / y
else if (y <= 1.5d+296) then
tmp = (x * y) / y
else
tmp = x + ((-0.16666666666666666d0) * (x ** 3.0d0))
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 2.8e+61) {
tmp = Math.sin(x);
} else if (y <= 3.5e+169) {
tmp = (-0.16666666666666666 * (y * Math.pow(x, 3.0))) / y;
} else if (y <= 1.5e+296) {
tmp = (x * y) / y;
} else {
tmp = x + (-0.16666666666666666 * Math.pow(x, 3.0));
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 2.8e+61: tmp = math.sin(x) elif y <= 3.5e+169: tmp = (-0.16666666666666666 * (y * math.pow(x, 3.0))) / y elif y <= 1.5e+296: tmp = (x * y) / y else: tmp = x + (-0.16666666666666666 * math.pow(x, 3.0)) return tmp
function code(x, y) tmp = 0.0 if (y <= 2.8e+61) tmp = sin(x); elseif (y <= 3.5e+169) tmp = Float64(Float64(-0.16666666666666666 * Float64(y * (x ^ 3.0))) / y); elseif (y <= 1.5e+296) tmp = Float64(Float64(x * y) / y); else tmp = Float64(x + Float64(-0.16666666666666666 * (x ^ 3.0))); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 2.8e+61) tmp = sin(x); elseif (y <= 3.5e+169) tmp = (-0.16666666666666666 * (y * (x ^ 3.0))) / y; elseif (y <= 1.5e+296) tmp = (x * y) / y; else tmp = x + (-0.16666666666666666 * (x ^ 3.0)); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 2.8e+61], N[Sin[x], $MachinePrecision], If[LessEqual[y, 3.5e+169], N[(N[(-0.16666666666666666 * N[(y * N[Power[x, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[y, 1.5e+296], N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision], N[(x + N[(-0.16666666666666666 * N[Power[x, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2.8 \cdot 10^{+61}:\\
\;\;\;\;\sin x\\
\mathbf{elif}\;y \leq 3.5 \cdot 10^{+169}:\\
\;\;\;\;\frac{-0.16666666666666666 \cdot \left(y \cdot {x}^{3}\right)}{y}\\
\mathbf{elif}\;y \leq 1.5 \cdot 10^{+296}:\\
\;\;\;\;\frac{x \cdot y}{y}\\
\mathbf{else}:\\
\;\;\;\;x + -0.16666666666666666 \cdot {x}^{3}\\
\end{array}
\end{array}
if y < 2.8000000000000001e61Initial program 100.0%
Taylor expanded in y around 0 66.8%
if 2.8000000000000001e61 < y < 3.50000000000000019e169Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.9%
Taylor expanded in x around 0 20.8%
Taylor expanded in x around inf 40.5%
if 3.50000000000000019e169 < y < 1.50000000000000006e296Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.7%
Taylor expanded in x around 0 17.3%
if 1.50000000000000006e296 < y Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.5%
Taylor expanded in x around 0 2.5%
Final simplification58.9%
(FPCore (x y)
:precision binary64
(if (<= y 2.65e+61)
(sin x)
(if (<= y 2.5e+169)
(+ x (* -0.16666666666666666 (pow x 3.0)))
(/ (* x y) y))))
double code(double x, double y) {
double tmp;
if (y <= 2.65e+61) {
tmp = sin(x);
} else if (y <= 2.5e+169) {
tmp = x + (-0.16666666666666666 * pow(x, 3.0));
} else {
tmp = (x * 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 <= 2.65d+61) then
tmp = sin(x)
else if (y <= 2.5d+169) then
tmp = x + ((-0.16666666666666666d0) * (x ** 3.0d0))
else
tmp = (x * y) / y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 2.65e+61) {
tmp = Math.sin(x);
} else if (y <= 2.5e+169) {
tmp = x + (-0.16666666666666666 * Math.pow(x, 3.0));
} else {
tmp = (x * y) / y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 2.65e+61: tmp = math.sin(x) elif y <= 2.5e+169: tmp = x + (-0.16666666666666666 * math.pow(x, 3.0)) else: tmp = (x * y) / y return tmp
function code(x, y) tmp = 0.0 if (y <= 2.65e+61) tmp = sin(x); elseif (y <= 2.5e+169) tmp = Float64(x + Float64(-0.16666666666666666 * (x ^ 3.0))); else tmp = Float64(Float64(x * y) / y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 2.65e+61) tmp = sin(x); elseif (y <= 2.5e+169) tmp = x + (-0.16666666666666666 * (x ^ 3.0)); else tmp = (x * y) / y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 2.65e+61], N[Sin[x], $MachinePrecision], If[LessEqual[y, 2.5e+169], N[(x + N[(-0.16666666666666666 * N[Power[x, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2.65 \cdot 10^{+61}:\\
\;\;\;\;\sin x\\
\mathbf{elif}\;y \leq 2.5 \cdot 10^{+169}:\\
\;\;\;\;x + -0.16666666666666666 \cdot {x}^{3}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot y}{y}\\
\end{array}
\end{array}
if y < 2.65000000000000026e61Initial program 100.0%
Taylor expanded in y around 0 66.8%
if 2.65000000000000026e61 < y < 2.50000000000000009e169Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.9%
Taylor expanded in x around 0 28.2%
if 2.50000000000000009e169 < y Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.7%
Taylor expanded in x around 0 16.9%
Final simplification58.1%
(FPCore (x y) :precision binary64 (if (<= y 2.65e+61) (sin x) (if (<= y 8e+129) (* -0.16666666666666666 (pow x 3.0)) (/ (* x y) y))))
double code(double x, double y) {
double tmp;
if (y <= 2.65e+61) {
tmp = sin(x);
} else if (y <= 8e+129) {
tmp = -0.16666666666666666 * pow(x, 3.0);
} else {
tmp = (x * 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 <= 2.65d+61) then
tmp = sin(x)
else if (y <= 8d+129) then
tmp = (-0.16666666666666666d0) * (x ** 3.0d0)
else
tmp = (x * y) / y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 2.65e+61) {
tmp = Math.sin(x);
} else if (y <= 8e+129) {
tmp = -0.16666666666666666 * Math.pow(x, 3.0);
} else {
tmp = (x * y) / y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 2.65e+61: tmp = math.sin(x) elif y <= 8e+129: tmp = -0.16666666666666666 * math.pow(x, 3.0) else: tmp = (x * y) / y return tmp
function code(x, y) tmp = 0.0 if (y <= 2.65e+61) tmp = sin(x); elseif (y <= 8e+129) tmp = Float64(-0.16666666666666666 * (x ^ 3.0)); else tmp = Float64(Float64(x * y) / y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 2.65e+61) tmp = sin(x); elseif (y <= 8e+129) tmp = -0.16666666666666666 * (x ^ 3.0); else tmp = (x * y) / y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 2.65e+61], N[Sin[x], $MachinePrecision], If[LessEqual[y, 8e+129], N[(-0.16666666666666666 * N[Power[x, 3.0], $MachinePrecision]), $MachinePrecision], N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2.65 \cdot 10^{+61}:\\
\;\;\;\;\sin x\\
\mathbf{elif}\;y \leq 8 \cdot 10^{+129}:\\
\;\;\;\;-0.16666666666666666 \cdot {x}^{3}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot y}{y}\\
\end{array}
\end{array}
if y < 2.65000000000000026e61Initial program 100.0%
Taylor expanded in y around 0 66.8%
if 2.65000000000000026e61 < y < 8e129Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.9%
Taylor expanded in x around 0 19.1%
Taylor expanded in x around inf 37.3%
if 8e129 < y Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.7%
Taylor expanded in x around 0 17.9%
Final simplification58.5%
(FPCore (x y) :precision binary64 (if (<= y 4.3e+15) (sin x) (* (* x y) (/ 1.0 y))))
double code(double x, double y) {
double tmp;
if (y <= 4.3e+15) {
tmp = sin(x);
} else {
tmp = (x * y) * (1.0 / y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 4.3d+15) then
tmp = sin(x)
else
tmp = (x * y) * (1.0d0 / y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 4.3e+15) {
tmp = Math.sin(x);
} else {
tmp = (x * y) * (1.0 / y);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 4.3e+15: tmp = math.sin(x) else: tmp = (x * y) * (1.0 / y) return tmp
function code(x, y) tmp = 0.0 if (y <= 4.3e+15) tmp = sin(x); else tmp = Float64(Float64(x * y) * Float64(1.0 / y)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 4.3e+15) tmp = sin(x); else tmp = (x * y) * (1.0 / y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 4.3e+15], N[Sin[x], $MachinePrecision], N[(N[(x * y), $MachinePrecision] * N[(1.0 / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 4.3 \cdot 10^{+15}:\\
\;\;\;\;\sin x\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \frac{1}{y}\\
\end{array}
\end{array}
if y < 4.3e15Initial program 100.0%
Taylor expanded in y around 0 69.4%
if 4.3e15 < y Initial program 100.0%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 2.7%
Taylor expanded in x around 0 14.3%
clear-num14.3%
associate-/r/14.3%
Applied egg-rr14.3%
Final simplification57.4%
(FPCore (x y) :precision binary64 (if (<= y 3.1e-12) x (* (* x y) (/ 1.0 y))))
double code(double x, double y) {
double tmp;
if (y <= 3.1e-12) {
tmp = x;
} else {
tmp = (x * y) * (1.0 / y);
}
return tmp;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8) :: tmp
if (y <= 3.1d-12) then
tmp = x
else
tmp = (x * y) * (1.0d0 / y)
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 3.1e-12) {
tmp = x;
} else {
tmp = (x * y) * (1.0 / y);
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 3.1e-12: tmp = x else: tmp = (x * y) * (1.0 / y) return tmp
function code(x, y) tmp = 0.0 if (y <= 3.1e-12) tmp = x; else tmp = Float64(Float64(x * y) * Float64(1.0 / y)); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 3.1e-12) tmp = x; else tmp = (x * y) * (1.0 / y); end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 3.1e-12], x, N[(N[(x * y), $MachinePrecision] * N[(1.0 / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 3.1 \cdot 10^{-12}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;\left(x \cdot y\right) \cdot \frac{1}{y}\\
\end{array}
\end{array}
if y < 3.1000000000000001e-12Initial program 100.0%
associate-*r/85.5%
Applied egg-rr85.5%
Taylor expanded in y around 0 56.3%
Taylor expanded in x around 0 34.4%
if 3.1000000000000001e-12 < y Initial program 99.9%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 6.1%
Taylor expanded in x around 0 15.0%
clear-num15.0%
associate-/r/15.0%
Applied egg-rr15.0%
Final simplification29.6%
(FPCore (x y) :precision binary64 (if (<= y 2e-21) x (/ (* x y) y)))
double code(double x, double y) {
double tmp;
if (y <= 2e-21) {
tmp = x;
} else {
tmp = (x * 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 <= 2d-21) then
tmp = x
else
tmp = (x * y) / y
end if
code = tmp
end function
public static double code(double x, double y) {
double tmp;
if (y <= 2e-21) {
tmp = x;
} else {
tmp = (x * y) / y;
}
return tmp;
}
def code(x, y): tmp = 0 if y <= 2e-21: tmp = x else: tmp = (x * y) / y return tmp
function code(x, y) tmp = 0.0 if (y <= 2e-21) tmp = x; else tmp = Float64(Float64(x * y) / y); end return tmp end
function tmp_2 = code(x, y) tmp = 0.0; if (y <= 2e-21) tmp = x; else tmp = (x * y) / y; end tmp_2 = tmp; end
code[x_, y_] := If[LessEqual[y, 2e-21], x, N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 2 \cdot 10^{-21}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot y}{y}\\
\end{array}
\end{array}
if y < 1.99999999999999982e-21Initial program 100.0%
associate-*r/85.5%
Applied egg-rr85.5%
Taylor expanded in y around 0 56.3%
Taylor expanded in x around 0 34.4%
if 1.99999999999999982e-21 < y Initial program 99.9%
associate-*r/100.0%
Applied egg-rr100.0%
Taylor expanded in y around 0 6.1%
Taylor expanded in x around 0 15.0%
Final simplification29.6%
(FPCore (x y) :precision binary64 x)
double code(double x, double y) {
return x;
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = x
end function
public static double code(double x, double y) {
return x;
}
def code(x, y): return x
function code(x, y) return x end
function tmp = code(x, y) tmp = x; end
code[x_, y_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 100.0%
associate-*r/89.1%
Applied egg-rr89.1%
Taylor expanded in y around 0 43.9%
Taylor expanded in x around 0 27.0%
Final simplification27.0%
herbie shell --seed 2024024
(FPCore (x y)
:name "Linear.Quaternion:$ccos from linear-1.19.1.3"
:precision binary64
(* (sin x) (/ (sinh y) y)))