All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.commons.lang3.math.Fraction.class Maven / Gradle / Ivy

The newest version!
????2k
d?	?	?	?	?	???
????
????????????	?
?
A?????
???????

 ?
	



	

	
)?




	


 !"
#$
%
&
'
(
)*
)+
),
)-
).
)/
)0
)123
4
56
N7
N8
N9
N:;<=
>
?
@
A	B	C	D	E	F	G	H	I	J	KLMserialVersionUIDJ
ConstantValue;v??xBZERO(Lorg/apache/commons/lang3/math/Fraction;ONEONE_HALF	ONE_THIRD
TWO_THIRDSONE_QUARTERTWO_QUARTERSTHREE_QUARTERS	ONE_FIFTH
TWO_FIFTHSTHREE_FIFTHSFOUR_FIFTHS	numeratorIdenominatorhashCodetoStringLjava/lang/String;toProperString(II)VCodeLineNumberTableLocalVariableTablethisgetFraction,(II)Lorg/apache/commons/lang3/math/Fraction;
StackMapTable-(III)Lorg/apache/commons/lang3/math/Fraction;numeratorValuewholegetReducedFractiongcd+(D)Lorg/apache/commons/lang3/math/Fraction;valueDsignwholeNumbernumer0denom0numer1denom1numer2denom2a1a2x1x2y1y2delta1delta2fractioni<(Ljava/lang/String;)Lorg/apache/commons/lang3/math/Fraction;numerdenomstrposgetNumerator()IgetDenominatorgetProperNumeratorgetProperWholeintValue	longValue()J
floatValue()FdoubleValue()Dreduce*()Lorg/apache/commons/lang3/math/Fraction;?invertnegateabspow+(I)Lorg/apache/commons/lang3/math/Fraction;fpowergreatestCommonDivisor(II)IuvktmulAndCheckxymmulPosAndCheckaddAndCheckssubAndCheckaddR(Lorg/apache/commons/lang3/math/Fraction;)Lorg/apache/commons/lang3/math/Fraction;subtractaddSubS(Lorg/apache/commons/lang3/math/Fraction;Z)Lorg/apache/commons/lang3/math/Fraction;uvpupvisAddZd1Ljava/math/BigInteger;tmodd1d2wN
multiplyBydivideByequals(Ljava/lang/Object;)ZobjLjava/lang/Object;other	compareTo+(Lorg/apache/commons/lang3/math/Fraction;)Ifirstsecond()Ljava/lang/String;properNumerator(Ljava/lang/Object;)Ix0()V	SignatureRLjava/lang/Number;Ljava/lang/Comparable;
SourceFile
Fraction.java?{y|}~}xyzyjava/lang/ArithmeticException The denominator must not be zeroOoverflow: can't negate&org/apache/commons/lang3/math/Fraction?$The denominator must not be negative"The numerator must not be negative/Numerator too large to represent as an Integer.kl??P?QRST;The value must not be greater than Integer.MAX_VALUE or NaN$Unable to convert double to fraction??"java/lang/IllegalArgumentExceptionThe string must not be nullUVWXY??Z[\]^Z_java/lang/NumberFormatException4The fraction could not be parsed as the format X Y/Z?????W??Unable to invert zero. overflow: can't negate numeratoroverflow: too large to negate??ml??????overflow: gcd is 2^31
overflow: muloverflow: mulPos
overflow: add??The fraction must not be null????????N`abc?c?cdc??ecf?,overflow: numerator too large after multiply*The fraction to divide by must not be zero????java/lang/StringBuilderghihj|?01-1????|_??nlolplqlrlsltlulvlwljava/lang/Numberjava/lang/Comparablejava/math/BigInteger(Ljava/lang/String;)Vjava/lang/Math(D)Djava/lang/DoubleisNaN(D)Zjava/lang/StringindexOf(I)IparseDouble(Ljava/lang/String;)D	substring(II)Ljava/lang/String;java/lang/IntegerparseInt(Ljava/lang/String;)I(I)Ljava/lang/String;valueOf(J)Ljava/math/BigInteger;multiply.(Ljava/math/BigInteger;)Ljava/math/BigInteger;moddivide	bitLength(I)Vappend(I)Ljava/lang/StringBuilder;(C)Ljava/lang/StringBuilder;1defghiklmlnlolplqlrlsltlulvlwlxyzy?{y?|}?~}$??t*?*?*?*?*?*???|j	nr}~? ?lxyzy	????8?
?Y?	??
?	
?
?Y?	?t;t&?gG666666	&?6
699&
?g99969o?69?kg9
h`6
h`6	?	?o9&g?96
99666	6???	'?	?
????
?Y?	?h`h????(??? ?*?-?258;>ADHKN	Q
X[`cgos~?????????? ?!?#?$?%?'???????y-??y5??y8??y;??y>??yA??yD??y	H??y
K??yN???Q???X???[???g???`????d??c??y?A
@?	?8?{	???k?*?
? Y!?"?*.?#<?*?$?%?* ?#<?H*?&?'=*`?(K*/?#<?
?)Y*?+?*?&?'>*`?(?'6?,?*/?#<?*?'?-?*?&?'=*`?(?'>?-??V=>ABC!G(H,I6J>KELIMSO]PiQqUxV|X?Z?[?\?H6;?y]?yi?y??}??y??y??y???1????/*???k??l???/*???t??l???7
*?*?p?.????
?l???4
*?*?l????
?l???4
*?*?l????
?l???6*??*??m?????l???6*??*??n?????l???6*??*??o?????l?????*??*??/?*???*??.*??<?*?*?l*?l?-?????(?-?/????l(?y?B??????M*??
?Y0?	?*?
?
?Y1?	?*???Y*?t*?t?
??Y*?*??
??????$?+?=??M?l????_$*?
?
?Y2?	??Y*?t*??
???	???$?l????I*??*?*?3??
	
??l?	????S?*???4??#
?*?5?6lt?6?*?5t?6?**?7Mp?,l?6?,l?6*?7??2 !"#)%3'9(?)G+? 9?lS?lS?y?	??
???????#
?	
?
?Y8?	??.?.`??.??.???t;?t<=~?~??l;l~?
l>????	t;?<dl>???txh??j;<=?(B8C:I>JALEMHPJQ\R`SdTjVpWz[?a?b?e?f?h?k?n?o?*??y??yJj?y?*?y?		?
C?	
???z#??iA ?? ??
?Y9?	? ????? ?? #?y#?y?g??	
???q??iA ??
?Y:?	? ???????? ?y?y?g??
???z#??aA ?? ??
?Y;?	? ?????? ?? #?y#?y?g??	
???z#??eA ?? ??
?Y;?	? ?????? ?? #?y#?y?g??	???;*+??E*?+??>6+?*??>6?Y?
???
?@*?+??A?
?*???B+?l??B?C:+???B*?l??B?C:?
?D?
?E:??B?F?G6??	?6??B?H:		?I?
?YJ?	??Y	?G*?l+?l?A?
??R????"?)?+?7?<?I?V?~?????????????zI5?yV(?y!?l!?l!??7??y?????u???^???O?y?>?y?1??	?Y
C??<??VV???VV??;??F???E?"?????Z+?
? Y=?"?*??
+????*?+??=+?*??>*?l+?l?>*?l+?l?A??? ,8?*Z?lZ?l,.?y8"?y?
???v(+?
? Y=?"?+??
?YK?	?*+?5?7??,-/02?(?l(?l?????1+*??+???+?M*?L,?L?*?M,?M????BCEFHI? 1?l1???l???@{??[ *??*%u*?L`h*?M`?*???SUW? ?l?????L*+??*?+??*?+???*??+??iA+??*??i7 ??? ?????.hiklp+q8r?sAtHuJw?*L?lL?l+!?g8?g?
?!|??j/*??&*?NY ?O*?L?P/?Q*?M?P?R?*?????*??/?l?*~??M?*???*??*S???*?*??*T???*?*?h?*U???*??*?t?*?*?t?I*?V<?**?W?X??/*?NY ?O*?W?P ?Q?P/?Q*?M?P?R??&*?NY ?O*?L?P/?Q*?M?P?R?*???>????"?+?8?A?\?a?e?s????????a>?y??l?	C??+"A???=	*+??Y??#?	?l	????????Y?
??Y?
?4?Y?
?Z?Y?
?[?Y?
?\?Y?
?]?Y?
?^?Y?
?_?Y?
?`?Y?
?a?Y?
?b?Y?
?c??2/37$;0?<CHGTK`OlSxW?[????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy