ref/ruby/classes/Integer.html in ruby-vpi-18.0.2 vs ref/ruby/classes/Integer.html in ruby-vpi-19.0.0

- old
+ new

@@ -63,11 +63,13 @@ </tr> <tr class="top-aligned-row"> <td><strong>Parent:</strong></td> <td> + <a href="Object.html"> Object + </a> </td> </tr> </table> </div> <!-- banner header --> @@ -92,22 +94,22 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000019">extend_sign</a>&nbsp;&nbsp; - <a href="#M000010">length</a>&nbsp;&nbsp; - <a href="#M000011">limit</a>&nbsp;&nbsp; - <a href="#M000009">log2</a>&nbsp;&nbsp; - <a href="#M000013">mask</a>&nbsp;&nbsp; - <a href="#M000015">max</a>&nbsp;&nbsp; - <a href="#M000017">pack</a>&nbsp;&nbsp; - <a href="#M000020">split</a>&nbsp;&nbsp; - <a href="#M000012">to_limit</a>&nbsp;&nbsp; - <a href="#M000014">to_mask</a>&nbsp;&nbsp; - <a href="#M000016">to_max</a>&nbsp;&nbsp; - <a href="#M000018">unpack</a>&nbsp;&nbsp; + <a href="#M000017">extend_sign</a>&nbsp;&nbsp; + <a href="#M000008">length</a>&nbsp;&nbsp; + <a href="#M000009">limit</a>&nbsp;&nbsp; + <a href="#M000007">log2</a>&nbsp;&nbsp; + <a href="#M000011">mask</a>&nbsp;&nbsp; + <a href="#M000013">max</a>&nbsp;&nbsp; + <a href="#M000015">pack</a>&nbsp;&nbsp; + <a href="#M000018">split</a>&nbsp;&nbsp; + <a href="#M000010">to_limit</a>&nbsp;&nbsp; + <a href="#M000012">to_mask</a>&nbsp;&nbsp; + <a href="#M000014">to_max</a>&nbsp;&nbsp; + <a href="#M000016">unpack</a>&nbsp;&nbsp; </div> </div> </div> @@ -125,16 +127,16 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000019" class="method-detail"> - <a name="M000019"></a> + <div id="method-M000017" class="method-detail"> + <a name="M000017"></a> <div class="method-heading"> - <a href="Integer.src/M000019.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000019.html');return false;"> + <a href="Integer.src/M000017.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000017.html');return false;"> <span class="method-name">extend_sign</span><span class="method-args">(aOrigWidth, aExtWidth)</span> </a> </div> <div class="method-description"> @@ -144,16 +146,16 @@ bits). </p> </div> </div> - <div id="method-M000010" class="method-detail"> - <a name="M000010"></a> + <div id="method-M000008" class="method-detail"> + <a name="M000008"></a> <div class="method-heading"> - <a href="Integer.src/M000010.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000010.html');return false;"> + <a href="Integer.src/M000008.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000008.html');return false;"> <span class="method-name">length</span><span class="method-args">()</span> </a> </div> <div class="method-description"> @@ -161,35 +163,35 @@ Returns the minimum number of bits necessary to represent this integer. </p> </div> </div> - <div id="method-M000011" class="method-detail"> - <a name="M000011"></a> + <div id="method-M000009" class="method-detail"> + <a name="M000009"></a> <div class="method-heading"> - <a href="Integer.src/M000011.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000011.html');return false;"> + <a href="Integer.src/M000009.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000009.html');return false;"> <span class="method-name">limit</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> Returns the lowest upper-bound of this integer. This integer cannot reach -the <a href="Integer.html#M000011">limit</a> without occupying more bits in +the <a href="Integer.html#M000009">limit</a> without occupying more bits in its binary representation. </p> </div> </div> - <div id="method-M000009" class="method-detail"> - <a name="M000009"></a> + <div id="method-M000007" class="method-detail"> + <a name="M000007"></a> <div class="method-heading"> - <a href="Integer.src/M000009.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000009.html');return false;"> + <a href="Integer.src/M000007.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000007.html');return false;"> <span class="method-name">log2</span><span class="method-args">()</span> </a> </div> <div class="method-description"> @@ -197,68 +199,68 @@ Returns the ceiling of the logarithm (base 2) of this positive integer. </p> </div> </div> - <div id="method-M000013" class="method-detail"> - <a name="M000013"></a> + <div id="method-M000011" class="method-detail"> + <a name="M000011"></a> <div class="method-heading"> - <a href="Integer.src/M000013.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000013.html');return false;"> + <a href="Integer.src/M000011.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000011.html');return false;"> <span class="method-name">mask</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Returns a bit-<a href="Integer.html#M000013">mask</a> capable of masking +Returns a bit-<a href="Integer.html#M000011">mask</a> capable of masking this integer. </p> </div> </div> - <div id="method-M000015" class="method-detail"> - <a name="M000015"></a> + <div id="method-M000013" class="method-detail"> + <a name="M000013"></a> <div class="method-heading"> <span class="method-name">max</span><span class="method-args">()</span> </div> <div class="method-description"> <p> -Alias for <a href="Integer.html#M000013">mask</a> +Alias for <a href="Integer.html#M000011">mask</a> </p> </div> </div> - <div id="method-M000017" class="method-detail"> - <a name="M000017"></a> + <div id="method-M000015" class="method-detail"> + <a name="M000015"></a> <div class="method-heading"> - <a href="Integer.src/M000017.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000017.html');return false;"> + <a href="Integer.src/M000015.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000015.html');return false;"> <span class="method-name">pack</span><span class="method-args">(aPackedWidth)</span> </a> </div> <div class="method-description"> <p> -Transforms this infinite-<a href="Integer.html#M000010">length</a> Ruby -integer into a fixed-<a href="Integer.html#M000010">length</a> integer +Transforms this infinite-<a href="Integer.html#M000008">length</a> Ruby +integer into a fixed-<a href="Integer.html#M000008">length</a> integer (represented in two&#8216;s complement form) that has the given width (number of bits). </p> </div> </div> - <div id="method-M000020" class="method-detail"> - <a name="M000020"></a> + <div id="method-M000018" class="method-detail"> + <a name="M000018"></a> <div class="method-heading"> - <a href="Integer.src/M000020.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000020.html');return false;"> + <a href="Integer.src/M000018.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000018.html');return false;"> <span class="method-name">split</span><span class="method-args">(aWidth = 8)</span> </a> </div> <div class="method-description"> @@ -279,16 +281,16 @@ =&gt; [&quot;1&quot;, &quot;10&quot;] </pre> </div> </div> - <div id="method-M000012" class="method-detail"> - <a name="M000012"></a> + <div id="method-M000010" class="method-detail"> + <a name="M000010"></a> <div class="method-heading"> - <a href="Integer.src/M000012.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000012.html');return false;"> + <a href="Integer.src/M000010.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000010.html');return false;"> <span class="method-name">to_limit</span><span class="method-args">()</span> </a> </div> <div class="method-description"> @@ -297,56 +299,56 @@ bits. </p> </div> </div> - <div id="method-M000014" class="method-detail"> - <a name="M000014"></a> + <div id="method-M000012" class="method-detail"> + <a name="M000012"></a> <div class="method-heading"> - <a href="Integer.src/M000014.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000014.html');return false;"> + <a href="Integer.src/M000012.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000012.html');return false;"> <span class="method-name">to_mask</span><span class="method-args">()</span> </a> </div> <div class="method-description"> <p> -Returns a bit-<a href="Integer.html#M000013">mask</a> capable of masking an +Returns a bit-<a href="Integer.html#M000011">mask</a> capable of masking an integer with <b>this</b> number of bits. </p> </div> </div> - <div id="method-M000016" class="method-detail"> - <a name="M000016"></a> + <div id="method-M000014" class="method-detail"> + <a name="M000014"></a> <div class="method-heading"> <span class="method-name">to_max</span><span class="method-args">()</span> </div> <div class="method-description"> <p> -Alias for <a href="Integer.html#M000014">to_mask</a> +Alias for <a href="Integer.html#M000012">to_mask</a> </p> </div> </div> - <div id="method-M000018" class="method-detail"> - <a name="M000018"></a> + <div id="method-M000016" class="method-detail"> + <a name="M000016"></a> <div class="method-heading"> - <a href="Integer.src/M000018.html" target="Code" class="method-signature" - onclick="popupCode('Integer.src/M000018.html');return false;"> + <a href="Integer.src/M000016.html" target="Code" class="method-signature" + onclick="popupCode('Integer.src/M000016.html');return false;"> <span class="method-name">unpack</span><span class="method-args">(aPackedWidth)</span> </a> </div> <div class="method-description"> <p> -Transforms this fixed-<a href="Integer.html#M000010">length</a> integer +Transforms this fixed-<a href="Integer.html#M000008">length</a> integer (represented in two&#8216;s complement form) that has the given width -(number of bits) into an infinite-<a href="Integer.html#M000010">length</a> +(number of bits) into an infinite-<a href="Integer.html#M000008">length</a> Ruby integer. </p> </div> </div> \ No newline at end of file