fixed TWO_FIFTH value in both Fraction and BigFraction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787348 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de64808c29
commit
0c9be1c546
|
@ -68,8 +68,8 @@ public class BigFraction extends Number implements FieldElement<BigFraction>, Co
|
|||
/** A fraction representing "3/4". */
|
||||
public static final BigFraction THREE_QUARTERS = new BigFraction(3, 4);
|
||||
|
||||
/** A fraction representing "4/5". */
|
||||
public static final BigFraction TWO_FIFTHS = new BigFraction(4, 5);
|
||||
/** A fraction representing "2/5". */
|
||||
public static final BigFraction TWO_FIFTHS = new BigFraction(2, 5);
|
||||
|
||||
/** A fraction representing "2/4". */
|
||||
public static final BigFraction TWO_QUARTERS = new BigFraction(2, 4);
|
||||
|
|
|
@ -65,8 +65,8 @@ public class Fraction extends Number implements FieldElement<Fraction>, Comparab
|
|||
/** A fraction representing "3/4". */
|
||||
public static final Fraction THREE_QUARTERS = new Fraction(3, 4);
|
||||
|
||||
/** A fraction representing "4/5". */
|
||||
public static final Fraction TWO_FIFTHS = new Fraction(4, 5);
|
||||
/** A fraction representing "2/5". */
|
||||
public static final Fraction TWO_FIFTHS = new Fraction(2, 5);
|
||||
|
||||
/** A fraction representing "2/4". */
|
||||
public static final Fraction TWO_QUARTERS = new Fraction(2, 4);
|
||||
|
|
Loading…
Reference in New Issue