Average Error: 0.1 → 0.1
Time: 26.1s
Precision: 64
Internal Precision: 576
\[0.954929658551372 \cdot x - 0.12900613773279798 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
\[{x}^{3} \cdot \left(-0.12900613773279798\right) + x \cdot 0.954929658551372\]

Error

Bits error versus x

Derivation

  1. Initial program 0.1

    \[0.954929658551372 \cdot x - 0.12900613773279798 \cdot \left(\left(x \cdot x\right) \cdot x\right)\]
  2. Applied simplify0.1

    \[\leadsto \color{blue}{(\left({x}^{3}\right) \cdot \left(-0.12900613773279798\right) + \left(x \cdot 0.954929658551372\right))_*}\]
  3. Using strategy rm
  4. Applied fma-udef0.1

    \[\leadsto \color{blue}{{x}^{3} \cdot \left(-0.12900613773279798\right) + x \cdot 0.954929658551372}\]

Runtime

Time bar (total: 26.1s)Debug logProfile

herbie shell --seed '#(1071725047 233389029 2036512464 3988615230 2972226563 1111574017)' +o rules:numerics
(FPCore (x)
  :name "Rosa's Benchmark"
  (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))