⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 biginteger.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of two BigIntegers containing <tt>(this / val)</tt> followed by <tt>(this % val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#remainder(java.math.BigInteger)">remainder</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this % val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#pow(int)">pow</A></B>(int&nbsp;exponent)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this<sup>exponent</sup>)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#gcd(java.math.BigInteger)">gcd</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is the greatest common divisor of <tt>abs(this)</tt> and <tt>abs(val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#abs()">abs</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is the absolute value of this BigInteger.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#negate()">negate</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(-this)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#mod(java.math.BigInteger)">mod</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this mod m</tt>).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#modPow(java.math.BigInteger, java.math.BigInteger)">modPow</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;exponent,       <A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this<sup>exponent</sup> mod m)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#modInverse(java.math.BigInteger)">modInverse</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this<sup>-1</sup> mod m)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#shiftLeft(int)">shiftLeft</A></B>(int&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this &lt;&lt; n)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#shiftRight(int)">shiftRight</A></B>(int&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this &gt;&gt; n)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#and(java.math.BigInteger)">and</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this &amp; val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#or(java.math.BigInteger)">or</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this | val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#xor(java.math.BigInteger)">xor</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this ^ val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#not()">not</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(~this)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#andNot(java.math.BigInteger)">andNot</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this &amp; ~val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#setBit(int)">setBit</A></B>(int&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#clearBit(int)">clearBit</A></B>(int&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit cleared.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#flipBit(int)">flipBit</A></B>(int&nbsp;n)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit flipped.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#min(java.math.BigInteger)">min</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum of this BigInteger and <tt>val</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#max(java.math.BigInteger)">max</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum of this BigInteger and <tt>val</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigDecimal.</B><B><A HREF="../../../java/math/BigDecimal.html#unscaledValue()">unscaledValue</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is the <i>unscaled value</i> of this BigDecimal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigDecimal.</B><B><A HREF="../../../java/math/BigDecimal.html#toBigInteger()">toBigInteger</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts this BigDecimal to a BigInteger.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/math/package-summary.html">java.math</A> with parameters of type <A HREF="../../../java/math/BigInteger.html">BigInteger</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#add(java.math.BigInteger)">add</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this + val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#subtract(java.math.BigInteger)">subtract</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a BigInteger whose value is <tt>(this - val)</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/math/BigInteger.html">BigInteger</A></CODE></FONT></TD><TD><CODE><B>BigInteger.</B><B><A HREF="../../../java/math/BigInteger.html#multiply(java.math.BigInteger)">multiply</A></B>(<A HREF="../../../java/math/BigInteger.html">BigInteger</A>&nbsp;val)</CODE><BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -