Average Error: 0 → 0
Time: 596.0ms
Precision: 64
\[0.5 \cdot x\]
\[0.5 \cdot x\]
0.5 \cdot x
0.5 \cdot x
double f(double x) {
        double r2107526 = 0.5;
        double r2107527 = x;
        double r2107528 = r2107526 * r2107527;
        return r2107528;
}

double f(double x) {
        double r2107529 = 0.5;
        double r2107530 = x;
        double r2107531 = r2107529 * r2107530;
        return r2107531;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[0.5 \cdot x\]
  2. Final simplification0

    \[\leadsto 0.5 \cdot x\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "0.5*x"
  :precision binary64
  (* 0.5 x))