Average Error: 0.1 → 0.1
Time: 16.1s
Precision: 64
\[0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
\[x \cdot \left(0.9549296585513720181381813745247200131416 - 0.1290061377327979819096270830414141528308 \cdot \left(x \cdot x\right)\right)\]
0.9549296585513720181381813745247200131416 \cdot x - 0.1290061377327979819096270830414141528308 \cdot \left(\left(x \cdot x\right) \cdot x\right)
x \cdot \left(0.9549296585513720181381813745247200131416 - 0.1290061377327979819096270830414141528308 \cdot \left(x \cdot x\right)\right)
double f(double x) {
        double r19101 = 0.954929658551372;
        double r19102 = x;
        double r19103 = r19101 * r19102;
        double r19104 = 0.12900613773279798;
        double r19105 = r19102 * r19102;
        double r19106 = r19105 * r19102;
        double r19107 = r19104 * r19106;
        double r19108 = r19103 - r19107;
        return r19108;
}

double f(double x) {
        double r19109 = x;
        double r19110 = 0.954929658551372;
        double r19111 = 0.12900613773279798;
        double r19112 = r19109 * r19109;
        double r19113 = r19111 * r19112;
        double r19114 = r19110 - r19113;
        double r19115 = r19109 * r19114;
        return r19115;
}

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

Reproduce

herbie shell --seed 2019294 
(FPCore (x)
  :name "Rosa's Benchmark"
  :precision binary64
  (- (* 0.95492965855137202 x) (* 0.129006137732797982 (* (* x x) x))))