?

Average Error: 0.2 → 0.2
Time: 58.0s
Precision: binary64
Cost: 320

?

\[\left(x \cdot 3\right) \cdot x \]
\[\left(x \cdot 3\right) \cdot x \]
(FPCore (x) :precision binary64 (* (* x 3.0) x))
(FPCore (x) :precision binary64 (* (* x 3.0) x))
double code(double x) {
	return (x * 3.0) * x;
}
double code(double x) {
	return (x * 3.0) * x;
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = (x * 3.0d0) * x
end function
real(8) function code(x)
    real(8), intent (in) :: x
    code = (x * 3.0d0) * x
end function
public static double code(double x) {
	return (x * 3.0) * x;
}
public static double code(double x) {
	return (x * 3.0) * x;
}
def code(x):
	return (x * 3.0) * x
def code(x):
	return (x * 3.0) * x
function code(x)
	return Float64(Float64(x * 3.0) * x)
end
function code(x)
	return Float64(Float64(x * 3.0) * x)
end
function tmp = code(x)
	tmp = (x * 3.0) * x;
end
function tmp = code(x)
	tmp = (x * 3.0) * x;
end
code[x_] := N[(N[(x * 3.0), $MachinePrecision] * x), $MachinePrecision]
code[x_] := N[(N[(x * 3.0), $MachinePrecision] * x), $MachinePrecision]
\left(x \cdot 3\right) \cdot x
\left(x \cdot 3\right) \cdot x

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 0.2

    \[\left(x \cdot 3\right) \cdot x \]

Alternatives

Alternative 1
Error0.2
Cost320
\[3 \cdot \left(x \cdot x\right) \]

Error

Reproduce?

herbie shell --seed 2023033 
(FPCore (x)
  :name "Diagrams.Tangent:$catParam from diagrams-lib-1.3.0.3, F"
  :precision binary64
  (* (* x 3.0) x))