Average Error: 0.0 → 0.0
Time: 730.0ms
Precision: binary64
\[b + c \cdot d\]
\[b + c \cdot d\]
b + c \cdot d
b + c \cdot d
double code(double b, double c, double d) {
	return ((double) (b + ((double) (c * d))));
}
double code(double b, double c, double d) {
	return ((double) (b + ((double) (c * d))));
}

Error

Bits error versus b

Bits error versus c

Bits error versus d

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[b + c \cdot d\]
  2. Final simplification0.0

    \[\leadsto b + c \cdot d\]

Reproduce

herbie shell --seed 2020152 
(FPCore (b c d)
  :name "(+ b (* c d))"
  :precision binary64
  (+ b (* c d)))