Average Error: 0.1 → 0.1
Time: 22.2s
Precision: 64
\[0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
\[0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)
0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)
double f(double x) {
        double r22694 = 0.954929658551372;
        double r22695 = x;
        double r22696 = r22694 * r22695;
        double r22697 = 0.12900613773279798;
        double r22698 = r22695 * r22695;
        double r22699 = r22698 * r22695;
        double r22700 = r22697 * r22699;
        double r22701 = r22696 - r22700;
        return r22701;
}

double f(double x) {
        double r22702 = 0.954929658551372;
        double r22703 = x;
        double r22704 = r22702 * r22703;
        double r22705 = 0.12900613773279798;
        double r22706 = r22703 * r22703;
        double r22707 = r22706 * r22703;
        double r22708 = r22705 * r22707;
        double r22709 = r22704 - r22708;
        return r22709;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
  2. Final simplification0.1

    \[\leadsto 0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]

Reproduce

herbie shell --seed 2019347 
(FPCore (x)
  :name "Rosa's Benchmark"
  :precision binary64
  (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))