Average Error: 0.0 → 0.0
Time: 997.0ms
Precision: binary64
\[\mathsf{fma}\left(x, y, a \cdot b\right)\]
\[\mathsf{fma}\left(x, y, a \cdot b\right)\]
\mathsf{fma}\left(x, y, a \cdot b\right)
\mathsf{fma}\left(x, y, a \cdot b\right)
double code(double x, double y, double a, double b) {
	return ((double) fma(x, y, ((double) (a * b))));
}
double code(double x, double y, double a, double b) {
	return ((double) fma(x, y, ((double) (a * b))));
}

Error

Bits error versus x

Bits error versus y

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\mathsf{fma}\left(x, y, a \cdot b\right)\]
  2. Final simplification0.0

    \[\leadsto \mathsf{fma}\left(x, y, a \cdot b\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y a b)
  :name "(fma x y (* a b))"
  :precision binary64
  (fma x y (* a b)))