Average Error: 0 → 0
Time: 518.0ms
Precision: binary64
Cost: 64
\[x = 0 \lor x = 10\]
\[x \]
\[x \]
(FPCore (x) :precision binary64 x)
(FPCore (x) :precision binary64 x)
double code(double x) {
	return x;
}
double code(double x) {
	return x;
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = x
end function
real(8) function code(x)
    real(8), intent (in) :: x
    code = x
end function
public static double code(double x) {
	return x;
}
public static double code(double x) {
	return x;
}
def code(x):
	return x
def code(x):
	return x
function code(x)
	return x
end
function code(x)
	return x
end
function tmp = code(x)
	tmp = x;
end
function tmp = code(x)
	tmp = x;
end
code[x_] := x
code[x_] := x
x
x

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[x \]
  2. Final simplification0

    \[\leadsto x \]

Reproduce

herbie shell --seed 2022329 
(FPCore (x)
  :name "x"
  :precision binary64
  :pre (or (== x 0.0) (== x 10.0))
  x)