Average Error: 0 → 0
Time: 164.0ms
Precision: binary64
\[0.10000000000000001 + 0.20000000000000001\]
\[0.10000000000000001 + 0.20000000000000001\]
0.10000000000000001 + 0.20000000000000001
0.10000000000000001 + 0.20000000000000001
double code() {
	return ((double) (0.1 + 0.2));
}
double code() {
	return ((double) (0.1 + 0.2));
}

Error

Try it out

Your Program's Arguments

    Results

    Enter valid numbers for all inputs

    Derivation

    1. Initial program 0

      \[0.10000000000000001 + 0.20000000000000001\]
    2. Final simplification0

      \[\leadsto 0.10000000000000001 + 0.20000000000000001\]

    Reproduce

    herbie shell --seed 2020153 
    (FPCore ()
      :name "(+ 0.1 0.2)"
      :precision binary64
      (+ 0.1 0.2))