Average Error: 0.1 → 0.1
Time: 22.7s
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 r24012 = 0.954929658551372;
        double r24013 = x;
        double r24014 = r24012 * r24013;
        double r24015 = 0.12900613773279798;
        double r24016 = r24013 * r24013;
        double r24017 = r24016 * r24013;
        double r24018 = r24015 * r24017;
        double r24019 = r24014 - r24018;
        return r24019;
}

double f(double x) {
        double r24020 = 0.954929658551372;
        double r24021 = x;
        double r24022 = r24020 * r24021;
        double r24023 = 0.12900613773279798;
        double r24024 = r24021 * r24021;
        double r24025 = r24024 * r24021;
        double r24026 = r24023 * r24025;
        double r24027 = r24022 - r24026;
        return r24027;
}

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 2019323 
(FPCore (x)
  :name "Rosa's Benchmark"
  :precision binary64
  (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))