Average Error: 0 → 0
Time: 171.0ms
Precision: binary64
\[1 - 0.10000000000000001\]
\[1 - 0.10000000000000001\]
1 - 0.10000000000000001
1 - 0.10000000000000001
double code() {
	return ((double) (1.0 - 0.1));
}
double code() {
	return ((double) (1.0 - 0.1));
}

Error

Try it out

Your Program's Arguments

    Results

    Enter valid numbers for all inputs

    Derivation

    1. Initial program 0

      \[1 - 0.10000000000000001\]
    2. Final simplification0

      \[\leadsto 1 - 0.10000000000000001\]

    Reproduce

    herbie shell --seed 2020152 
    (FPCore ()
      :name "(- 1 0.1)"
      :precision binary64
      (- 1.0 0.1))