Average Error: 0 → 0
Time: 208.0ms
Precision: binary64
\[100 - 2 \cdot 0.5\]
\[100 - 2 \cdot 0.5\]
100 - 2 \cdot 0.5
100 - 2 \cdot 0.5
double code() {
	return ((double) (100.0 - ((double) (2.0 * 0.5))));
}
double code() {
	return ((double) (100.0 - ((double) (2.0 * 0.5))));
}

Error

Try it out

Your Program's Arguments

    Results

    Enter valid numbers for all inputs

    Derivation

    1. Initial program 0

      \[100 - 2 \cdot 0.5\]
    2. Final simplification0

      \[\leadsto 100 - 2 \cdot 0.5\]

    Reproduce

    herbie shell --seed 2020152 
    (FPCore ()
      :name "(- 100 (* 2 0.5))"
      :precision binary64
      (- 100.0 (* 2.0 0.5)))