
(FPCore (x y z) :precision binary64 (- (+ x (cos y)) (* z (sin y))))
double code(double x, double y, double z) {
return (x + cos(y)) - (z * sin(y));
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x + cos(y)) - (z * sin(y))
end function
public static double code(double x, double y, double z) {
return (x + Math.cos(y)) - (z * Math.sin(y));
}
def code(x, y, z): return (x + math.cos(y)) - (z * math.sin(y))
function code(x, y, z) return Float64(Float64(x + cos(y)) - Float64(z * sin(y))) end
function tmp = code(x, y, z) tmp = (x + cos(y)) - (z * sin(y)); end
code[x_, y_, z_] := N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + \cos y\right) - z \cdot \sin y
\end{array}
Herbie found 13 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z) :precision binary64 (- (+ x (cos y)) (* z (sin y))))
double code(double x, double y, double z) {
return (x + cos(y)) - (z * sin(y));
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x + cos(y)) - (z * sin(y))
end function
public static double code(double x, double y, double z) {
return (x + Math.cos(y)) - (z * Math.sin(y));
}
def code(x, y, z): return (x + math.cos(y)) - (z * math.sin(y))
function code(x, y, z) return Float64(Float64(x + cos(y)) - Float64(z * sin(y))) end
function tmp = code(x, y, z) tmp = (x + cos(y)) - (z * sin(y)); end
code[x_, y_, z_] := N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + \cos y\right) - z \cdot \sin y
\end{array}
(FPCore (x y z) :precision binary64 (- (+ x (cos y)) (* z (sin y))))
double code(double x, double y, double z) {
return (x + cos(y)) - (z * sin(y));
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x + cos(y)) - (z * sin(y))
end function
public static double code(double x, double y, double z) {
return (x + Math.cos(y)) - (z * Math.sin(y));
}
def code(x, y, z): return (x + math.cos(y)) - (z * math.sin(y))
function code(x, y, z) return Float64(Float64(x + cos(y)) - Float64(z * sin(y))) end
function tmp = code(x, y, z) tmp = (x + cos(y)) - (z * sin(y)); end
code[x_, y_, z_] := N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x + \cos y\right) - z \cdot \sin y
\end{array}
Initial program 99.9%
(FPCore (x y z) :precision binary64 (let* ((t_0 (- (+ x (cos y)) (* z (sin y)))) (t_1 (- x (* (sin y) z)))) (if (<= t_0 -2e+14) t_1 (if (<= t_0 20000000.0) (+ (cos y) x) t_1))))
double code(double x, double y, double z) {
double t_0 = (x + cos(y)) - (z * sin(y));
double t_1 = x - (sin(y) * z);
double tmp;
if (t_0 <= -2e+14) {
tmp = t_1;
} else if (t_0 <= 20000000.0) {
tmp = cos(y) + x;
} else {
tmp = t_1;
}
return tmp;
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: t_0
real(8) :: t_1
real(8) :: tmp
t_0 = (x + cos(y)) - (z * sin(y))
t_1 = x - (sin(y) * z)
if (t_0 <= (-2d+14)) then
tmp = t_1
else if (t_0 <= 20000000.0d0) then
tmp = cos(y) + x
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double t_0 = (x + Math.cos(y)) - (z * Math.sin(y));
double t_1 = x - (Math.sin(y) * z);
double tmp;
if (t_0 <= -2e+14) {
tmp = t_1;
} else if (t_0 <= 20000000.0) {
tmp = Math.cos(y) + x;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z): t_0 = (x + math.cos(y)) - (z * math.sin(y)) t_1 = x - (math.sin(y) * z) tmp = 0 if t_0 <= -2e+14: tmp = t_1 elif t_0 <= 20000000.0: tmp = math.cos(y) + x else: tmp = t_1 return tmp
function code(x, y, z) t_0 = Float64(Float64(x + cos(y)) - Float64(z * sin(y))) t_1 = Float64(x - Float64(sin(y) * z)) tmp = 0.0 if (t_0 <= -2e+14) tmp = t_1; elseif (t_0 <= 20000000.0) tmp = Float64(cos(y) + x); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z) t_0 = (x + cos(y)) - (z * sin(y)); t_1 = x - (sin(y) * z); tmp = 0.0; if (t_0 <= -2e+14) tmp = t_1; elseif (t_0 <= 20000000.0) tmp = cos(y) + x; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_] := Block[{t$95$0 = N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(x - N[(N[Sin[y], $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, -2e+14], t$95$1, If[LessEqual[t$95$0, 20000000.0], N[(N[Cos[y], $MachinePrecision] + x), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \left(x + \cos y\right) - z \cdot \sin y\\
t_1 := x - \sin y \cdot z\\
\mathbf{if}\;t\_0 \leq -2 \cdot 10^{+14}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_0 \leq 20000000:\\
\;\;\;\;\cos y + x\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < -2e14 or 2e7 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) Initial program 99.9%
Taylor expanded in x around inf
Applied rewrites99.7%
lift-*.f64N/A
lift-sin.f64N/A
*-commutativeN/A
lower-*.f64N/A
lift-sin.f6499.7
Applied rewrites99.7%
if -2e14 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < 2e7Initial program 100.0%
Taylor expanded in z around 0
+-commutativeN/A
lower-+.f64N/A
lift-cos.f6496.2
Applied rewrites96.2%
(FPCore (x y z) :precision binary64 (if (<= z -1.48e+184) (* (- z) (sin y)) (if (<= z -5.6e+59) (- x (fma z y -1.0)) (+ (cos y) x))))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.48e+184) {
tmp = -z * sin(y);
} else if (z <= -5.6e+59) {
tmp = x - fma(z, y, -1.0);
} else {
tmp = cos(y) + x;
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (z <= -1.48e+184) tmp = Float64(Float64(-z) * sin(y)); elseif (z <= -5.6e+59) tmp = Float64(x - fma(z, y, -1.0)); else tmp = Float64(cos(y) + x); end return tmp end
code[x_, y_, z_] := If[LessEqual[z, -1.48e+184], N[((-z) * N[Sin[y], $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5.6e+59], N[(x - N[(z * y + -1.0), $MachinePrecision]), $MachinePrecision], N[(N[Cos[y], $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.48 \cdot 10^{+184}:\\
\;\;\;\;\left(-z\right) \cdot \sin y\\
\mathbf{elif}\;z \leq -5.6 \cdot 10^{+59}:\\
\;\;\;\;x - \mathsf{fma}\left(z, y, -1\right)\\
\mathbf{else}:\\
\;\;\;\;\cos y + x\\
\end{array}
\end{array}
if z < -1.48e184Initial program 99.8%
Taylor expanded in z around inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lift-sin.f6472.2
Applied rewrites72.2%
if -1.48e184 < z < -5.5999999999999996e59Initial program 99.8%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
mul-1-negN/A
negate-sub-reverseN/A
lower--.f64N/A
*-commutativeN/A
lower-*.f6452.2
Applied rewrites52.2%
lift--.f64N/A
lift-*.f64N/A
lift--.f64N/A
associate--l-N/A
*-commutativeN/A
metadata-evalN/A
negate-subN/A
lower--.f64N/A
negate-subN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f6452.2
Applied rewrites52.2%
if -5.5999999999999996e59 < z Initial program 99.9%
Taylor expanded in z around 0
+-commutativeN/A
lower-+.f64N/A
lift-cos.f6481.1
Applied rewrites81.1%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (+ (cos y) x)))
(if (<= y -0.032)
t_0
(if (<= y 1150000000.0)
(- (fma (- (* (* (* z y) 0.16666666666666666) y) z) y x) -1.0)
t_0))))
double code(double x, double y, double z) {
double t_0 = cos(y) + x;
double tmp;
if (y <= -0.032) {
tmp = t_0;
} else if (y <= 1150000000.0) {
tmp = fma(((((z * y) * 0.16666666666666666) * y) - z), y, x) - -1.0;
} else {
tmp = t_0;
}
return tmp;
}
function code(x, y, z) t_0 = Float64(cos(y) + x) tmp = 0.0 if (y <= -0.032) tmp = t_0; elseif (y <= 1150000000.0) tmp = Float64(fma(Float64(Float64(Float64(Float64(z * y) * 0.16666666666666666) * y) - z), y, x) - -1.0); else tmp = t_0; end return tmp end
code[x_, y_, z_] := Block[{t$95$0 = N[(N[Cos[y], $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[y, -0.032], t$95$0, If[LessEqual[y, 1150000000.0], N[(N[(N[(N[(N[(N[(z * y), $MachinePrecision] * 0.16666666666666666), $MachinePrecision] * y), $MachinePrecision] - z), $MachinePrecision] * y + x), $MachinePrecision] - -1.0), $MachinePrecision], t$95$0]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \cos y + x\\
\mathbf{if}\;y \leq -0.032:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;y \leq 1150000000:\\
\;\;\;\;\mathsf{fma}\left(\left(\left(z \cdot y\right) \cdot 0.16666666666666666\right) \cdot y - z, y, x\right) - -1\\
\mathbf{else}:\\
\;\;\;\;t\_0\\
\end{array}
\end{array}
if y < -0.032000000000000001 or 1.15e9 < y Initial program 99.9%
Taylor expanded in z around 0
+-commutativeN/A
lower-+.f64N/A
lift-cos.f6463.0
Applied rewrites63.0%
if -0.032000000000000001 < y < 1.15e9Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
Applied rewrites98.9%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lift-*.f6498.8
Applied rewrites98.8%
(FPCore (x y z)
:precision binary64
(let* ((t_0 (- x (fma z y -1.0))) (t_1 (- (+ x (cos y)) (* z (sin y)))))
(if (<= t_1 -5e+77)
x
(if (<= t_1 -400.0)
t_0
(if (<= t_1 0.999) (cos y) (if (<= t_1 5e+205) t_0 (- x -1.0)))))))
double code(double x, double y, double z) {
double t_0 = x - fma(z, y, -1.0);
double t_1 = (x + cos(y)) - (z * sin(y));
double tmp;
if (t_1 <= -5e+77) {
tmp = x;
} else if (t_1 <= -400.0) {
tmp = t_0;
} else if (t_1 <= 0.999) {
tmp = cos(y);
} else if (t_1 <= 5e+205) {
tmp = t_0;
} else {
tmp = x - -1.0;
}
return tmp;
}
function code(x, y, z) t_0 = Float64(x - fma(z, y, -1.0)) t_1 = Float64(Float64(x + cos(y)) - Float64(z * sin(y))) tmp = 0.0 if (t_1 <= -5e+77) tmp = x; elseif (t_1 <= -400.0) tmp = t_0; elseif (t_1 <= 0.999) tmp = cos(y); elseif (t_1 <= 5e+205) tmp = t_0; else tmp = Float64(x - -1.0); end return tmp end
code[x_, y_, z_] := Block[{t$95$0 = N[(x - N[(z * y + -1.0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$1 = N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+77], x, If[LessEqual[t$95$1, -400.0], t$95$0, If[LessEqual[t$95$1, 0.999], N[Cos[y], $MachinePrecision], If[LessEqual[t$95$1, 5e+205], t$95$0, N[(x - -1.0), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_0 := x - \mathsf{fma}\left(z, y, -1\right)\\
t_1 := \left(x + \cos y\right) - z \cdot \sin y\\
\mathbf{if}\;t\_1 \leq -5 \cdot 10^{+77}:\\
\;\;\;\;x\\
\mathbf{elif}\;t\_1 \leq -400:\\
\;\;\;\;t\_0\\
\mathbf{elif}\;t\_1 \leq 0.999:\\
\;\;\;\;\cos y\\
\mathbf{elif}\;t\_1 \leq 5 \cdot 10^{+205}:\\
\;\;\;\;t\_0\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < -5.00000000000000004e77Initial program 99.9%
Taylor expanded in x around inf
Applied rewrites61.5%
if -5.00000000000000004e77 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < -400 or 0.998999999999999999 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < 5.0000000000000002e205Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
mul-1-negN/A
negate-sub-reverseN/A
lower--.f64N/A
*-commutativeN/A
lower-*.f6478.2
Applied rewrites78.2%
lift--.f64N/A
lift-*.f64N/A
lift--.f64N/A
associate--l-N/A
*-commutativeN/A
metadata-evalN/A
negate-subN/A
lower--.f64N/A
negate-subN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f6478.2
Applied rewrites78.2%
if -400 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) < 0.998999999999999999Initial program 100.0%
Taylor expanded in z around 0
+-commutativeN/A
lower-+.f64N/A
lift-cos.f6496.9
Applied rewrites96.9%
Taylor expanded in x around 0
lift-cos.f6493.2
Applied rewrites93.2%
if 5.0000000000000002e205 < (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))) Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6466.3
Applied rewrites66.3%
(FPCore (x y z)
:precision binary64
(if (<= y -2.8e+43)
(- x -1.0)
(if (<= y 1.12e+30)
(- (fma (- (* (fma 0.16666666666666666 (* z y) -0.5) y) z) y x) -1.0)
(- x -1.0))))
double code(double x, double y, double z) {
double tmp;
if (y <= -2.8e+43) {
tmp = x - -1.0;
} else if (y <= 1.12e+30) {
tmp = fma(((fma(0.16666666666666666, (z * y), -0.5) * y) - z), y, x) - -1.0;
} else {
tmp = x - -1.0;
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (y <= -2.8e+43) tmp = Float64(x - -1.0); elseif (y <= 1.12e+30) tmp = Float64(fma(Float64(Float64(fma(0.16666666666666666, Float64(z * y), -0.5) * y) - z), y, x) - -1.0); else tmp = Float64(x - -1.0); end return tmp end
code[x_, y_, z_] := If[LessEqual[y, -2.8e+43], N[(x - -1.0), $MachinePrecision], If[LessEqual[y, 1.12e+30], N[(N[(N[(N[(N[(0.16666666666666666 * N[(z * y), $MachinePrecision] + -0.5), $MachinePrecision] * y), $MachinePrecision] - z), $MachinePrecision] * y + x), $MachinePrecision] - -1.0), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -2.8 \cdot 10^{+43}:\\
\;\;\;\;x - -1\\
\mathbf{elif}\;y \leq 1.12 \cdot 10^{+30}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(0.16666666666666666, z \cdot y, -0.5\right) \cdot y - z, y, x\right) - -1\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if y < -2.80000000000000019e43 or 1.12e30 < y Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6440.1
Applied rewrites40.1%
if -2.80000000000000019e43 < y < 1.12e30Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
Applied rewrites92.3%
(FPCore (x y z)
:precision binary64
(if (<= y -1.9e+42)
(- x -1.0)
(if (<= y 1.12e+30)
(- (fma (- (* (* (* z y) 0.16666666666666666) y) z) y x) -1.0)
(- x -1.0))))
double code(double x, double y, double z) {
double tmp;
if (y <= -1.9e+42) {
tmp = x - -1.0;
} else if (y <= 1.12e+30) {
tmp = fma(((((z * y) * 0.16666666666666666) * y) - z), y, x) - -1.0;
} else {
tmp = x - -1.0;
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (y <= -1.9e+42) tmp = Float64(x - -1.0); elseif (y <= 1.12e+30) tmp = Float64(fma(Float64(Float64(Float64(Float64(z * y) * 0.16666666666666666) * y) - z), y, x) - -1.0); else tmp = Float64(x - -1.0); end return tmp end
code[x_, y_, z_] := If[LessEqual[y, -1.9e+42], N[(x - -1.0), $MachinePrecision], If[LessEqual[y, 1.12e+30], N[(N[(N[(N[(N[(N[(z * y), $MachinePrecision] * 0.16666666666666666), $MachinePrecision] * y), $MachinePrecision] - z), $MachinePrecision] * y + x), $MachinePrecision] - -1.0), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.9 \cdot 10^{+42}:\\
\;\;\;\;x - -1\\
\mathbf{elif}\;y \leq 1.12 \cdot 10^{+30}:\\
\;\;\;\;\mathsf{fma}\left(\left(\left(z \cdot y\right) \cdot 0.16666666666666666\right) \cdot y - z, y, x\right) - -1\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if y < -1.8999999999999999e42 or 1.12e30 < y Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6440.1
Applied rewrites40.1%
if -1.8999999999999999e42 < y < 1.12e30Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
Applied rewrites92.4%
Taylor expanded in y around inf
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lift-*.f6492.8
Applied rewrites92.8%
(FPCore (x y z) :precision binary64 (if (<= y -3.1e+43) (- x -1.0) (if (<= y 1.8e+24) (- (fma (- (* -0.5 y) z) y x) -1.0) (- x -1.0))))
double code(double x, double y, double z) {
double tmp;
if (y <= -3.1e+43) {
tmp = x - -1.0;
} else if (y <= 1.8e+24) {
tmp = fma(((-0.5 * y) - z), y, x) - -1.0;
} else {
tmp = x - -1.0;
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (y <= -3.1e+43) tmp = Float64(x - -1.0); elseif (y <= 1.8e+24) tmp = Float64(fma(Float64(Float64(-0.5 * y) - z), y, x) - -1.0); else tmp = Float64(x - -1.0); end return tmp end
code[x_, y_, z_] := If[LessEqual[y, -3.1e+43], N[(x - -1.0), $MachinePrecision], If[LessEqual[y, 1.8e+24], N[(N[(N[(N[(-0.5 * y), $MachinePrecision] - z), $MachinePrecision] * y + x), $MachinePrecision] - -1.0), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.1 \cdot 10^{+43}:\\
\;\;\;\;x - -1\\
\mathbf{elif}\;y \leq 1.8 \cdot 10^{+24}:\\
\;\;\;\;\mathsf{fma}\left(-0.5 \cdot y - z, y, x\right) - -1\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if y < -3.1000000000000002e43 or 1.79999999999999992e24 < y Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6439.9
Applied rewrites39.9%
if -3.1000000000000002e43 < y < 1.79999999999999992e24Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
+-commutativeN/A
*-commutativeN/A
lower-fma.f64N/A
lower--.f64N/A
lower-*.f6492.8
Applied rewrites92.8%
(FPCore (x y z) :precision binary64 (if (<= y -4400000000000.0) (- x -1.0) (if (<= y 1.2e+72) (- x (fma z y -1.0)) (- x -1.0))))
double code(double x, double y, double z) {
double tmp;
if (y <= -4400000000000.0) {
tmp = x - -1.0;
} else if (y <= 1.2e+72) {
tmp = x - fma(z, y, -1.0);
} else {
tmp = x - -1.0;
}
return tmp;
}
function code(x, y, z) tmp = 0.0 if (y <= -4400000000000.0) tmp = Float64(x - -1.0); elseif (y <= 1.2e+72) tmp = Float64(x - fma(z, y, -1.0)); else tmp = Float64(x - -1.0); end return tmp end
code[x_, y_, z_] := If[LessEqual[y, -4400000000000.0], N[(x - -1.0), $MachinePrecision], If[LessEqual[y, 1.2e+72], N[(x - N[(z * y + -1.0), $MachinePrecision]), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4400000000000:\\
\;\;\;\;x - -1\\
\mathbf{elif}\;y \leq 1.2 \cdot 10^{+72}:\\
\;\;\;\;x - \mathsf{fma}\left(z, y, -1\right)\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if y < -4.4e12 or 1.20000000000000005e72 < y Initial program 99.8%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6440.0
Applied rewrites40.0%
if -4.4e12 < y < 1.20000000000000005e72Initial program 100.0%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
mul-1-negN/A
negate-sub-reverseN/A
lower--.f64N/A
*-commutativeN/A
lower-*.f6491.8
Applied rewrites91.8%
lift--.f64N/A
lift-*.f64N/A
lift--.f64N/A
associate--l-N/A
*-commutativeN/A
metadata-evalN/A
negate-subN/A
lower--.f64N/A
negate-subN/A
*-commutativeN/A
metadata-evalN/A
lower-fma.f6491.8
Applied rewrites91.8%
(FPCore (x y z) :precision binary64 (if (<= x -1.02e-16) (- x -1.0) (if (<= x 2.2e-9) (- 1.0 (* z y)) (- x -1.0))))
double code(double x, double y, double z) {
double tmp;
if (x <= -1.02e-16) {
tmp = x - -1.0;
} else if (x <= 2.2e-9) {
tmp = 1.0 - (z * y);
} else {
tmp = x - -1.0;
}
return tmp;
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (x <= (-1.02d-16)) then
tmp = x - (-1.0d0)
else if (x <= 2.2d-9) then
tmp = 1.0d0 - (z * y)
else
tmp = x - (-1.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (x <= -1.02e-16) {
tmp = x - -1.0;
} else if (x <= 2.2e-9) {
tmp = 1.0 - (z * y);
} else {
tmp = x - -1.0;
}
return tmp;
}
def code(x, y, z): tmp = 0 if x <= -1.02e-16: tmp = x - -1.0 elif x <= 2.2e-9: tmp = 1.0 - (z * y) else: tmp = x - -1.0 return tmp
function code(x, y, z) tmp = 0.0 if (x <= -1.02e-16) tmp = Float64(x - -1.0); elseif (x <= 2.2e-9) tmp = Float64(1.0 - Float64(z * y)); else tmp = Float64(x - -1.0); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (x <= -1.02e-16) tmp = x - -1.0; elseif (x <= 2.2e-9) tmp = 1.0 - (z * y); else tmp = x - -1.0; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[x, -1.02e-16], N[(x - -1.0), $MachinePrecision], If[LessEqual[x, 2.2e-9], N[(1.0 - N[(z * y), $MachinePrecision]), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -1.02 \cdot 10^{-16}:\\
\;\;\;\;x - -1\\
\mathbf{elif}\;x \leq 2.2 \cdot 10^{-9}:\\
\;\;\;\;1 - z \cdot y\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if x < -1.0200000000000001e-16 or 2.1999999999999998e-9 < x Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6481.3
Applied rewrites81.3%
if -1.0200000000000001e-16 < x < 2.1999999999999998e-9Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f64N/A
mul-1-negN/A
negate-sub-reverseN/A
lower--.f64N/A
*-commutativeN/A
lower-*.f6451.4
Applied rewrites51.4%
Taylor expanded in x around 0
lower--.f64N/A
*-commutativeN/A
lift-*.f6451.4
Applied rewrites51.4%
(FPCore (x y z) :precision binary64 (if (<= z -1.02e+217) (* (- z) y) (- x -1.0)))
double code(double x, double y, double z) {
double tmp;
if (z <= -1.02e+217) {
tmp = -z * y;
} else {
tmp = x - -1.0;
}
return tmp;
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if (z <= (-1.02d+217)) then
tmp = -z * y
else
tmp = x - (-1.0d0)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
double tmp;
if (z <= -1.02e+217) {
tmp = -z * y;
} else {
tmp = x - -1.0;
}
return tmp;
}
def code(x, y, z): tmp = 0 if z <= -1.02e+217: tmp = -z * y else: tmp = x - -1.0 return tmp
function code(x, y, z) tmp = 0.0 if (z <= -1.02e+217) tmp = Float64(Float64(-z) * y); else tmp = Float64(x - -1.0); end return tmp end
function tmp_2 = code(x, y, z) tmp = 0.0; if (z <= -1.02e+217) tmp = -z * y; else tmp = x - -1.0; end tmp_2 = tmp; end
code[x_, y_, z_] := If[LessEqual[z, -1.02e+217], N[((-z) * y), $MachinePrecision], N[(x - -1.0), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.02 \cdot 10^{+217}:\\
\;\;\;\;\left(-z\right) \cdot y\\
\mathbf{else}:\\
\;\;\;\;x - -1\\
\end{array}
\end{array}
if z < -1.02e217Initial program 99.8%
Taylor expanded in z around inf
mul-1-negN/A
distribute-lft-neg-inN/A
lower-*.f64N/A
lower-neg.f64N/A
lift-sin.f6476.9
Applied rewrites76.9%
Taylor expanded in y around 0
Applied rewrites32.4%
if -1.02e217 < z Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6464.6
Applied rewrites64.6%
(FPCore (x y z) :precision binary64 (- x -1.0))
double code(double x, double y, double z) {
return x - -1.0;
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = x - (-1.0d0)
end function
public static double code(double x, double y, double z) {
return x - -1.0;
}
def code(x, y, z): return x - -1.0
function code(x, y, z) return Float64(x - -1.0) end
function tmp = code(x, y, z) tmp = x - -1.0; end
code[x_, y_, z_] := N[(x - -1.0), $MachinePrecision]
\begin{array}{l}
\\
x - -1
\end{array}
Initial program 99.9%
Taylor expanded in y around 0
+-commutativeN/A
metadata-evalN/A
negate-sub-reverseN/A
lower--.f6461.4
Applied rewrites61.4%
(FPCore (x y z) :precision binary64 x)
double code(double x, double y, double z) {
return x;
}
module fmin_fmax_functions
implicit none
private
public fmax
public fmin
interface fmax
module procedure fmax88
module procedure fmax44
module procedure fmax84
module procedure fmax48
end interface
interface fmin
module procedure fmin88
module procedure fmin44
module procedure fmin84
module procedure fmin48
end interface
contains
real(8) function fmax88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(4) function fmax44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, max(x, y), y /= y), x /= x)
end function
real(8) function fmax84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmax48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
end function
real(8) function fmin88(x, y) result (res)
real(8), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(4) function fmin44(x, y) result (res)
real(4), intent (in) :: x
real(4), intent (in) :: y
res = merge(y, merge(x, min(x, y), y /= y), x /= x)
end function
real(8) function fmin84(x, y) result(res)
real(8), intent (in) :: x
real(4), intent (in) :: y
res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
end function
real(8) function fmin48(x, y) result(res)
real(4), intent (in) :: x
real(8), intent (in) :: y
res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
end function
end module
real(8) function code(x, y, z)
use fmin_fmax_functions
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = x
end function
public static double code(double x, double y, double z) {
return x;
}
def code(x, y, z): return x
function code(x, y, z) return x end
function tmp = code(x, y, z) tmp = x; end
code[x_, y_, z_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 99.9%
Taylor expanded in x around inf
Applied rewrites42.2%
herbie shell --seed 2025110
(FPCore (x y z)
:name "Graphics.Rasterific.Svg.PathConverter:segmentToBezier from rasterific-svg-0.2.3.1, B"
:precision binary64
(- (+ x (cos y)) (* z (sin y))))