Closed GoogleCodeExporter closed 9 years ago
Sorry, the code presented should read
double d = 0.0;
for (int i = 0; i < 10; i++) {
d += 0.1;
}
assertTrue(1.0 == d); // fails.
A typo when manually copying the code.
Original comment by ogregoire
on 11 Jan 2012 at 2:24
This issue is already pending...on choosing good method names. (The hardest
part of API design.)
Original comment by wasserman.louis
on 11 Jan 2012 at 5:09
This issue is already pending...on choosing good method names. (The hardest
part of API design.)
Original comment by wasserman.louis
on 11 Jan 2012 at 5:09
Sorry for that, I searched on "compare", but nothing similar showed up... I
should have been more thorough.
Original comment by ogregoire
on 11 Jan 2012 at 5:13
A dup every now and then is *really* not a big problem :-)
Original comment by kevinb@google.com
on 13 Jan 2012 at 5:32
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:14
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
ogregoire
on 11 Jan 2012 at 2:10