?

Average Error: 7.9 → 7.9
Time: 2.1s
Precision: binary64
Cost: 448

?

\[0.999 \leq x \land x \leq 1.001\]
\[\frac{10}{1 - x \cdot x} \]
\[\frac{10}{1 - x \cdot x} \]
(FPCore (x) :precision binary64 (/ 10.0 (- 1.0 (* x x))))
(FPCore (x) :precision binary64 (/ 10.0 (- 1.0 (* x x))))
double code(double x) {
	return 10.0 / (1.0 - (x * x));
}
double code(double x) {
	return 10.0 / (1.0 - (x * x));
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = 10.0d0 / (1.0d0 - (x * x))
end function
real(8) function code(x)
    real(8), intent (in) :: x
    code = 10.0d0 / (1.0d0 - (x * x))
end function
public static double code(double x) {
	return 10.0 / (1.0 - (x * x));
}
public static double code(double x) {
	return 10.0 / (1.0 - (x * x));
}
def code(x):
	return 10.0 / (1.0 - (x * x))
def code(x):
	return 10.0 / (1.0 - (x * x))
function code(x)
	return Float64(10.0 / Float64(1.0 - Float64(x * x)))
end
function code(x)
	return Float64(10.0 / Float64(1.0 - Float64(x * x)))
end
function tmp = code(x)
	tmp = 10.0 / (1.0 - (x * x));
end
function tmp = code(x)
	tmp = 10.0 / (1.0 - (x * x));
end
code[x_] := N[(10.0 / N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
code[x_] := N[(10.0 / N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\frac{10}{1 - x \cdot x}
\frac{10}{1 - x \cdot x}

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 7.9

    \[\frac{10}{1 - x \cdot x} \]
  2. Final simplification7.9

    \[\leadsto \frac{10}{1 - x \cdot x} \]

Alternatives

Alternative 1
Error57.9
Cost64
\[10 \]

Error

Reproduce?

herbie shell --seed 2023073 
(FPCore (x)
  :name "ENA, Section 1.4, Mentioned, B"
  :precision binary64
  :pre (and (<= 0.999 x) (<= x 1.001))
  (/ 10.0 (- 1.0 (* x x))))