Average Error: 0.1 → 0.1
Time: 14.2s
Precision: 64
\[0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
\[\left(0.9549296585513720181381813745247200131416 - 0.1290061377327979819096270830414141528308 \cdot \left(x \cdot x\right)\right) \cdot x\]
0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)
\left(0.9549296585513720181381813745247200131416 - 0.1290061377327979819096270830414141528308 \cdot \left(x \cdot x\right)\right) \cdot x
double f(double x) {
        double r1008497 = 0.954929658551372;
        double r1008498 = x;
        double r1008499 = r1008497 * r1008498;
        double r1008500 = 0.12900613773279798;
        double r1008501 = r1008498 * r1008498;
        double r1008502 = r1008501 * r1008498;
        double r1008503 = r1008500 * r1008502;
        double r1008504 = r1008499 - r1008503;
        return r1008504;
}

double f(double x) {
        double r1008505 = 0.954929658551372;
        double r1008506 = 0.12900613773279798;
        double r1008507 = x;
        double r1008508 = r1008507 * r1008507;
        double r1008509 = r1008506 * r1008508;
        double r1008510 = r1008505 - r1008509;
        double r1008511 = r1008510 * r1008507;
        return r1008511;
}

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. Simplified0.1

    \[\leadsto \color{blue}{x \cdot \left(0.9549296585513720181381813745247200131416 - 0.1290061377327979819096270830414141528308 \cdot \left(x \cdot x\right)\right)}\]
  3. Final simplification0.1

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

Reproduce

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