Average Error: 0.0 → 0.0
Time: 1.3s
Precision: binary64
\[\mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)\]
\[\mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)\]
\mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)
\mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)
double code(double a, double b, double c, double d, double e) {
	return ((double) fma(a, b, ((double) fma(c, d, e))));
}
double code(double a, double b, double c, double d, double e) {
	return ((double) fma(a, b, ((double) fma(c, d, e))));
}

Error

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus d

Bits error versus e

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)\]
  2. Final simplification0.0

    \[\leadsto \mathsf{fma}\left(a, b, \mathsf{fma}\left(c, d, e\right)\right)\]

Reproduce

herbie shell --seed 2020152 
(FPCore (a b c d e)
  :name "(fma a b (fma c d e))"
  :precision binary64
  (fma a b (fma c d e)))