Average Error: 0.1 → 0.1
Time: 12.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 r1078639 = 0.954929658551372;
        double r1078640 = x;
        double r1078641 = r1078639 * r1078640;
        double r1078642 = 0.12900613773279798;
        double r1078643 = r1078640 * r1078640;
        double r1078644 = r1078643 * r1078640;
        double r1078645 = r1078642 * r1078644;
        double r1078646 = r1078641 - r1078645;
        return r1078646;
}

double f(double x) {
        double r1078647 = 0.954929658551372;
        double r1078648 = x;
        double r1078649 = r1078647 * r1078648;
        double r1078650 = 0.12900613773279798;
        double r1078651 = r1078648 * r1078648;
        double r1078652 = r1078648 * r1078651;
        double r1078653 = r1078650 * r1078652;
        double r1078654 = r1078649 - r1078653;
        return r1078654;
}

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))))