(FPCore (x y z) :precision binary64 (* x (- 1.0 (* y z))))
↓
(FPCore (x y z)
:precision binary64
(if (<= (* y z) 2e+148) (- x (* (* y z) x)) (* y (* z (- x)))))
double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
double code(double x, double y, double z) {
double tmp;
if ((y * z) <= 2e+148) {
tmp = x - ((y * z) * x);
} else {
tmp = y * (z * -x);
}
return tmp;
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = x * (1.0d0 - (y * z))
end function
↓
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8) :: tmp
if ((y * z) <= 2d+148) then
tmp = x - ((y * z) * x)
else
tmp = y * (z * -x)
end if
code = tmp
end function
public static double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
↓
public static double code(double x, double y, double z) {
double tmp;
if ((y * z) <= 2e+148) {
tmp = x - ((y * z) * x);
} else {
tmp = y * (z * -x);
}
return tmp;
}
def code(x, y, z):
return x * (1.0 - (y * z))
↓
def code(x, y, z):
tmp = 0
if (y * z) <= 2e+148:
tmp = x - ((y * z) * x)
else:
tmp = y * (z * -x)
return tmp
function code(x, y, z)
return Float64(x * Float64(1.0 - Float64(y * z)))
end
↓
function code(x, y, z)
tmp = 0.0
if (Float64(y * z) <= 2e+148)
tmp = Float64(x - Float64(Float64(y * z) * x));
else
tmp = Float64(y * Float64(z * Float64(-x)));
end
return tmp
end
function tmp = code(x, y, z)
tmp = x * (1.0 - (y * z));
end
↓
function tmp_2 = code(x, y, z)
tmp = 0.0;
if ((y * z) <= 2e+148)
tmp = x - ((y * z) * x);
else
tmp = y * (z * -x);
end
tmp_2 = tmp;
end
(*.f64 (-.f64 1 (*.f64 (*.f64 y z) (*.f64 y z))) (/.f64 x (fma.f64 y z 1))): 0 points increase in error, 0 points decrease in error
(*.f64 (-.f64 1 (Rewrite<= unswap-sqr_binary64 (*.f64 (*.f64 y y) (*.f64 z z)))) (/.f64 x (fma.f64 y z 1))): 67 points increase in error, 7 points decrease in error
(*.f64 (-.f64 1 (*.f64 (Rewrite<= unpow2_binary64 (pow.f64 y 2)) (*.f64 z z))) (/.f64 x (fma.f64 y z 1))): 0 points increase in error, 0 points decrease in error
(*.f64 (-.f64 1 (*.f64 (pow.f64 y 2) (Rewrite<= unpow2_binary64 (pow.f64 z 2)))) (/.f64 x (fma.f64 y z 1))): 0 points increase in error, 0 points decrease in error
(*.f64 (-.f64 1 (*.f64 (pow.f64 y 2) (pow.f64 z 2))) (/.f64 x (Rewrite<= fma-def_binary64 (+.f64 (*.f64 y z) 1)))): 0 points increase in error, 0 points decrease in error
(Rewrite=> associate-*r/_binary64 (/.f64 (*.f64 (-.f64 1 (*.f64 (pow.f64 y 2) (pow.f64 z 2))) x) (+.f64 (*.f64 y z) 1))): 5 points increase in error, 3 points decrease in error