OSDN Git Service

0b2c4e29a8bf68fcb10100c5fa96228351b9e40e
[pf3gnuchains/gcc-fork.git] / libjava / doc / java-math.texi
1 @deftypemethod BigDecimal {public static BigDecimal} valueOf (long@w{ }@var{val}) 
2
3 @end deftypemethod
4 @deftypemethod BigDecimal {public static BigDecimal} valueOf (long@w{ }@var{val}, int@w{ }@var{scale}) @*throws NumberFormatException
5
6 @end deftypemethod
7 @deftypemethod BigDecimal {public BigDecimal} add (java.math.BigDecimal@w{ }@var{val}) 
8
9 @end deftypemethod
10 @deftypemethod BigDecimal {public BigDecimal} subtract (java.math.BigDecimal@w{ }@var{val}) 
11
12 @end deftypemethod
13 @deftypemethod BigDecimal {public BigDecimal} multiply (java.math.BigDecimal@w{ }@var{val}) 
14
15 @end deftypemethod
16 @deftypemethod BigDecimal {public BigDecimal} divide (java.math.BigDecimal@w{ }@var{val}, int@w{ }@var{roundingMode}) @*throws ArithmeticException, IllegalArgumentException
17
18 @end deftypemethod
19 @deftypemethod BigDecimal {public BigDecimal} divide (java.math.BigDecimal@w{ }@var{val}, int@w{ }@var{newScale}, int@w{ }@var{roundingMode}) @*throws ArithmeticException, IllegalArgumentException
20
21 @end deftypemethod
22 @deftypemethod BigDecimal {public int} compareTo (java.math.BigDecimal@w{ }@var{val}) 
23
24 @end deftypemethod
25 @deftypemethod BigDecimal {public int} compareTo (java.lang.Object@w{ }@var{val}) 
26
27 @end deftypemethod
28 @deftypemethod BigDecimal {public boolean} equals (java.lang.Object@w{ }@var{o}) 
29
30 @end deftypemethod
31 @deftypemethod BigDecimal {public int} hashCode () 
32
33 @end deftypemethod
34 @deftypemethod BigDecimal {public BigDecimal} max (java.math.BigDecimal@w{ }@var{val}) 
35
36 @end deftypemethod
37 @deftypemethod BigDecimal {public BigDecimal} min (java.math.BigDecimal@w{ }@var{val}) 
38
39 @end deftypemethod
40 @deftypemethod BigDecimal {public BigDecimal} movePointLeft (int@w{ }@var{n}) 
41
42 @end deftypemethod
43 @deftypemethod BigDecimal {public BigDecimal} movePointRight (int@w{ }@var{n}) 
44
45 @end deftypemethod
46 @deftypemethod BigDecimal {public int} signum () 
47
48 @end deftypemethod
49 @deftypemethod BigDecimal {public int} scale () 
50
51 @end deftypemethod
52 @deftypemethod BigDecimal {public BigDecimal} abs () 
53
54 @end deftypemethod
55 @deftypemethod BigDecimal {public BigDecimal} negate () 
56
57 @end deftypemethod
58 @deftypemethod BigDecimal {public String} toString () 
59
60 @end deftypemethod
61 @deftypemethod BigDecimal {public BigInteger} toBigInteger () 
62
63 @end deftypemethod
64 @deftypemethod BigDecimal {public int} intValue () 
65
66 @end deftypemethod
67 @deftypemethod BigDecimal {public long} longValue () 
68
69 @end deftypemethod
70 @deftypemethod BigDecimal {public float} floatValue () 
71
72 @end deftypemethod
73 @deftypemethod BigDecimal {public double} doubleValue () 
74
75 @end deftypemethod
76 @deftypemethod BigInteger {public static BigInteger} valueOf (long@w{ }@var{val}) 
77
78 @end deftypemethod
79 @deftypemethod BigInteger {public int} signum () 
80
81 @end deftypemethod
82 @deftypemethod BigInteger {public int} compareTo (java.lang.Object@w{ }@var{obj}) 
83
84 @end deftypemethod
85 @deftypemethod BigInteger {public int} compareTo (java.math.BigInteger@w{ }@var{val}) 
86
87 @end deftypemethod
88 @deftypemethod BigInteger {public BigInteger} min (java.math.BigInteger@w{ }@var{val}) 
89
90 @end deftypemethod
91 @deftypemethod BigInteger {public BigInteger} max (java.math.BigInteger@w{ }@var{val}) 
92
93 @end deftypemethod
94 @deftypemethod BigInteger {public BigInteger} add (java.math.BigInteger@w{ }@var{val}) 
95
96 @end deftypemethod
97 @deftypemethod BigInteger {public BigInteger} subtract (java.math.BigInteger@w{ }@var{val}) 
98
99 @end deftypemethod
100 @deftypemethod BigInteger {public BigInteger} multiply (java.math.BigInteger@w{ }@var{y}) 
101
102 @end deftypemethod
103 @deftypemethod BigInteger {public BigInteger} divide (java.math.BigInteger@w{ }@var{val}) 
104
105 @end deftypemethod
106 @deftypemethod BigInteger {public BigInteger} remainder (java.math.BigInteger@w{ }@var{val}) 
107
108 @end deftypemethod
109 @deftypemethod BigInteger {public BigInteger} divideAndRemainder (java.math.BigInteger@w{ }@var{val}) 
110
111 @end deftypemethod
112 @deftypemethod BigInteger {public BigInteger} mod (java.math.BigInteger@w{ }@var{m}) 
113
114 @end deftypemethod
115 @deftypemethod BigInteger {public BigInteger} pow (int@w{ }@var{exponent}) 
116 Calculate the integral power of a BigInteger.
117 @end deftypemethod
118 @deftypemethod BigInteger {public BigInteger} modInverse (java.math.BigInteger@w{ }@var{y}) 
119
120 @end deftypemethod
121 @deftypemethod BigInteger {public BigInteger} modPow (java.math.BigInteger@w{ }@var{exponent}, java.math.BigInteger@w{ }@var{m}) 
122
123 @end deftypemethod
124 @deftypemethod BigInteger {public BigInteger} gcd (java.math.BigInteger@w{ }@var{y}) 
125
126 @end deftypemethod
127 @deftypemethod BigInteger {public boolean} isProbablePrime (int@w{ }@var{certainty}) 
128
129 @end deftypemethod
130 @deftypemethod BigInteger {public BigInteger} shiftLeft (int@w{ }@var{n}) 
131
132 @end deftypemethod
133 @deftypemethod BigInteger {public BigInteger} shiftRight (int@w{ }@var{n}) 
134
135 @end deftypemethod
136 @deftypemethod BigInteger {public String} toString () 
137
138 @end deftypemethod
139 @deftypemethod BigInteger {public String} toString (int@w{ }@var{radix}) 
140
141 @end deftypemethod
142 @deftypemethod BigInteger {public int} intValue () 
143
144 @end deftypemethod
145 @deftypemethod BigInteger {public long} longValue () 
146
147 @end deftypemethod
148 @deftypemethod BigInteger {public int} hashCode () 
149
150 @end deftypemethod
151 @deftypemethod BigInteger {public boolean} equals (java.lang.Object@w{ }@var{obj}) 
152
153 @end deftypemethod
154 @deftypemethod BigInteger {public double} doubleValue () 
155
156 @end deftypemethod
157 @deftypemethod BigInteger {public float} floatValue () 
158
159 @end deftypemethod
160 @deftypemethod BigInteger {public BigInteger} abs () 
161
162 @end deftypemethod
163 @deftypemethod BigInteger {public BigInteger} negate () 
164
165 @end deftypemethod
166 @deftypemethod BigInteger {public int} bitLength () 
167 Calculates ceiling(log2(this < 0 ? -this : this+1))
168  See Common Lisp: the Language, 2nd ed, p. 361.
169 @end deftypemethod
170 @deftypemethod BigInteger {public byte} toByteArray () 
171
172 @end deftypemethod
173 @deftypemethod BigInteger {public BigInteger} and (java.math.BigInteger@w{ }@var{y}) 
174 Return the logical (bit-wise) "and" of two BigIntegers.
175 @end deftypemethod
176 @deftypemethod BigInteger {public BigInteger} or (java.math.BigInteger@w{ }@var{y}) 
177 Return the logical (bit-wise) "(inclusive) or" of two BigIntegers.
178 @end deftypemethod
179 @deftypemethod BigInteger {public BigInteger} xor (java.math.BigInteger@w{ }@var{y}) 
180 Return the logical (bit-wise) "exclusive or" of two BigIntegers.
181 @end deftypemethod
182 @deftypemethod BigInteger {public BigInteger} not () 
183 Return the logical (bit-wise) negation of a BigInteger.
184 @end deftypemethod
185 @deftypemethod BigInteger {public BigInteger} andNot (java.math.BigInteger@w{ }@var{val}) 
186
187 @end deftypemethod
188 @deftypemethod BigInteger {public BigInteger} clearBit (int@w{ }@var{n}) 
189
190 @end deftypemethod
191 @deftypemethod BigInteger {public BigInteger} setBit (int@w{ }@var{n}) 
192
193 @end deftypemethod
194 @deftypemethod BigInteger {public boolean} testBit (int@w{ }@var{n}) 
195
196 @end deftypemethod
197 @deftypemethod BigInteger {public BigInteger} flipBit (int@w{ }@var{n}) 
198
199 @end deftypemethod
200 @deftypemethod BigInteger {public int} getLowestSetBit () 
201
202 @end deftypemethod
203 @deftypemethod BigInteger {public int} bitCount () 
204 Count one bits in a BigInteger.
205  If argument is negative, count zero bits instead.
206 @end deftypemethod