0.954929658551372 \cdot x - 0.12900613773279798 \cdot \left(\left(x \cdot x\right) \cdot x\right)
\mathsf{fma}\left(0.954929658551372, x, {x}^{3} \cdot -0.12900613773279798\right)
(FPCore (x) :precision binary64 (- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))
(FPCore (x) :precision binary64 (fma 0.954929658551372 x (* (pow x 3.0) -0.12900613773279798)))
double code(double x) {
return (0.954929658551372 * x) - (0.12900613773279798 * ((x * x) * x));
}
double code(double x) {
return fma(0.954929658551372, x, (pow(x, 3.0) * -0.12900613773279798));
}



Bits error versus x
Initial program 0.2
Simplified0.2
Taylor expanded in x around 0 0.2
Applied cube-mult_binary640.2
Applied associate-*r*_binary640.2
Applied fma-neg_binary640.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2021275
(FPCore (x)
:name "Rosa's Benchmark"
:precision binary64
(- (* 0.954929658551372 x) (* 0.12900613773279798 (* (* x x) x))))