|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.colossus.util.CompareDoubles
public class CompareDoubles
| Constructor Summary | |
|---|---|
CompareDoubles()
|
|
| Method Summary | |
|---|---|
static boolean |
almostEqual(double d1,
double d2)
Returns true if the two given doubles are basically equal (comparing difference to very small value to get rid of rounding issues) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompareDoubles()
| Method Detail |
|---|
public static boolean almostEqual(double d1,
double d2)
d1 - First double valued2 - Second double value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||