Average Error: 0.2 → 0.2
Time: 12.7s
Precision: 64
\[0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
\[0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)
0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)
double f(double x) {
        double r23794 = 0.954929658551372;
        double r23795 = x;
        double r23796 = r23794 * r23795;
        double r23797 = 0.12900613773279798;
        double r23798 = r23795 * r23795;
        double r23799 = r23798 * r23795;
        double r23800 = r23797 * r23799;
        double r23801 = r23796 - r23800;
        return r23801;
}

double f(double x) {
        double r23802 = 0.954929658551372;
        double r23803 = x;
        double r23804 = r23802 * r23803;
        double r23805 = 0.12900613773279798;
        double r23806 = r23803 * r23803;
        double r23807 = r23806 * r23803;
        double r23808 = r23805 * r23807;
        double r23809 = r23804 - r23808;
        return r23809;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
  2. Final simplification0.2

    \[\leadsto 0.95492965855137202 \cdot x - 0.129006137732797982 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]

Reproduce

herbie shell --seed 2020047 
(FPCore (x)
  :name "Rosa's Benchmark"
  :precision binary64
  (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))