Average Error: 0.1 → 0.1
Time: 22.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(\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 r23974 = 0.954929658551372;
        double r23975 = x;
        double r23976 = r23974 * r23975;
        double r23977 = 0.12900613773279798;
        double r23978 = r23975 * r23975;
        double r23979 = r23978 * r23975;
        double r23980 = r23977 * r23979;
        double r23981 = r23976 - r23980;
        return r23981;
}

double f(double x) {
        double r23982 = 0.954929658551372;
        double r23983 = x;
        double r23984 = r23982 * r23983;
        double r23985 = 0.12900613773279798;
        double r23986 = r23983 * r23983;
        double r23987 = r23986 * r23983;
        double r23988 = r23985 * r23987;
        double r23989 = r23984 - r23988;
        return r23989;
}

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