Average Error: 0.1 → 0.1
Time: 17.9s
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 r1081384 = 0.954929658551372;
        double r1081385 = x;
        double r1081386 = r1081384 * r1081385;
        double r1081387 = 0.12900613773279798;
        double r1081388 = r1081385 * r1081385;
        double r1081389 = r1081388 * r1081385;
        double r1081390 = r1081387 * r1081389;
        double r1081391 = r1081386 - r1081390;
        return r1081391;
}

double f(double x) {
        double r1081392 = 0.954929658551372;
        double r1081393 = x;
        double r1081394 = r1081392 * r1081393;
        double r1081395 = 0.12900613773279798;
        double r1081396 = r1081393 * r1081393;
        double r1081397 = r1081393 * r1081396;
        double r1081398 = r1081395 * r1081397;
        double r1081399 = r1081394 - r1081398;
        return r1081399;
}

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 +o rules:numerics
(FPCore (x)
  :name "Rosa's Benchmark"
  (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))