Average Error: 0.1 → 0.1
Time: 21.4s
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(x \cdot \left(x \cdot x\right)\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(x \cdot \left(x \cdot x\right)\right)
double f(double x) {
        double r959333 = 0.954929658551372;
        double r959334 = x;
        double r959335 = r959333 * r959334;
        double r959336 = 0.12900613773279798;
        double r959337 = r959334 * r959334;
        double r959338 = r959337 * r959334;
        double r959339 = r959336 * r959338;
        double r959340 = r959335 - r959339;
        return r959340;
}

double f(double x) {
        double r959341 = 0.954929658551372;
        double r959342 = x;
        double r959343 = r959341 * r959342;
        double r959344 = 0.12900613773279798;
        double r959345 = r959342 * r959342;
        double r959346 = r959342 * r959345;
        double r959347 = r959344 * r959346;
        double r959348 = r959343 - r959347;
        return r959348;
}

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(x \cdot \left(x \cdot x\right)\right)\]

Reproduce

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