Average Error: 0.1 → 0.1
Time: 4.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(\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 r35964 = 0.954929658551372;
        double r35965 = x;
        double r35966 = r35964 * r35965;
        double r35967 = 0.12900613773279798;
        double r35968 = r35965 * r35965;
        double r35969 = r35968 * r35965;
        double r35970 = r35967 * r35969;
        double r35971 = r35966 - r35970;
        return r35971;
}

double f(double x) {
        double r35972 = 0.954929658551372;
        double r35973 = x;
        double r35974 = r35972 * r35973;
        double r35975 = 0.12900613773279798;
        double r35976 = r35973 * r35973;
        double r35977 = r35976 * r35973;
        double r35978 = r35975 * r35977;
        double r35979 = r35974 - r35978;
        return r35979;
}

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