UNPKG

sku-pg

Version:

Skulpt is a Javascript implementation of Python 2.x. Python that runs in your browser!

9,680 lines 118 kB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>JSDoc: Class: int_</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">Class: int_</h1>

    




<section>

<header>
    
        <h2>
            <span class="ancestors"><a href="Sk.html">Sk</a><a href="Sk.builtin.html">.builtin</a>.</span>
        
        int_
        </h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    <h4 class="name" id="int_"><span class="type-signature"></span>new int_<span class="signature">(x<span class="signature-attributes">non-null</span>, base<span class="signature-attributes">opt, non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng}</span></h4>

    



<div class="description">
    <p>Constructor for Python int. If provided number is greater than integer threshold, will return a Python long instead.</p>
<p>type int, all integers are created with this method, it is also used
for the builtin int()</p>
<p>Takes also implemented <code>__int__</code> and <code>__trunc__</code> methods for x into account
and tries to use <code>__index__</code> and/or <code>__int__</code> if base is not a number</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>x</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">number</span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last"><p>Python object or Javascript number to convert to Python int</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>base</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">number</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last"><p>Optional base, can only be used when x is Sk.builtin.str</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line8">line 8</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>Python int (or long, if overflow)</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>


    </dd>
</dl>

    



    
    </div>

    
        <h3 class="subsection-title">Extends</h3>

        


    <ul>
        <li><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></li>
    </ul>


    

    

    

     

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id=".threshold$"><span class="type-signature">(static) </span>threshold$<span class="type-signature"> :number</span></h4>




<div class="description">
    <p>Threshold to determine when types should be converted to long.</p>
<p>Note: be sure to check against threshold in both positive and negative directions.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">number</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line199">line 199</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="$r"><span class="type-signature"></span>$r<span class="type-signature"></span></h4>




<div class="description">
    <p>Return the string representation of this instance.</p>
<p>Javascript function, returns Python object.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#$r">Sk.builtin.object#$r</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line253">line 253</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__abs__"><span class="type-signature"></span>__abs__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__abs__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__abs__">Sk.builtin.numtype#__abs__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line22">line 22</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__add__"><span class="type-signature"></span>__add__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__add__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__add__">Sk.builtin.numtype#__add__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line130">line 130</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__coerce__"><span class="type-signature"></span>__coerce__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__coerce__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__coerce__">Sk.builtin.numtype#__coerce__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line418">line 418</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__complex__"><span class="type-signature"></span>__complex__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__complex__</code> dunder method.</p>
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line170">line 170</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__div__"><span class="type-signature"></span>__div__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__div__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__div__">Sk.builtin.numtype#__div__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line238">line 238</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__divmod__"><span class="type-signature"></span>__divmod__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__divmod__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__divmod__">Sk.builtin.numtype#__divmod__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line346">line 346</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__eq__"><span class="type-signature"></span>__eq__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__eq__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__eq__">Sk.builtin.object#__eq__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line179">line 179</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__float__"><span class="type-signature"></span>__float__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__float__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__float__">Sk.builtin.numtype#__float__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line112">line 112</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__floordiv__"><span class="type-signature"></span>__floordiv__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__floordiv__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__floordiv__">Sk.builtin.numtype#__floordiv__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line274">line 274</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__ge__"><span class="type-signature"></span>__ge__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__ge__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__ge__">Sk.builtin.object#__ge__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line239">line 239</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__gt__"><span class="type-signature"></span>__gt__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__gt__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__gt__">Sk.builtin.object#__gt__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line227">line 227</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__hash__"><span class="type-signature"></span>__hash__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__hash__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__hash__">Sk.builtin.object#__hash__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line167">line 167</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__index__"><span class="type-signature"></span>__index__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__index__</code> dunder method.</p>
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line161">line 161</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__int__"><span class="type-signature"></span>__int__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__int__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__int__">Sk.builtin.numtype#__int__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line76">line 76</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__le__"><span class="type-signature"></span>__le__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__le__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__le__">Sk.builtin.object#__le__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line215">line 215</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__long__"><span class="type-signature"></span>__long__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__long__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__long__">Sk.builtin.numtype#__long__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line94">line 94</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__lt__"><span class="type-signature"></span>__lt__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__lt__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__lt__">Sk.builtin.object#__lt__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line203">line 203</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__mod__"><span class="type-signature"></span>__mod__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__mod__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__mod__">Sk.builtin.numtype#__mod__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line310">line 310</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__mul__"><span class="type-signature"></span>__mul__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__mul__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__mul__">Sk.builtin.numtype#__mul__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line202">line 202</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__ne__"><span class="type-signature"></span>__ne__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__ne__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__ne__">Sk.builtin.object#__ne__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line191">line 191</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__neg__"><span class="type-signature"></span>__neg__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__neg__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__neg__">Sk.builtin.numtype#__neg__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line40">line 40</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__pos__"><span class="type-signature"></span>__pos__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__pos__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__pos__">Sk.builtin.numtype#__pos__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line58">line 58</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__pow__"><span class="type-signature"></span>__pow__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__pow__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__pow__">Sk.builtin.numtype#__pow__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line382">line 382</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__radd__"><span class="type-signature"></span>__radd__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__radd__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__radd__">Sk.builtin.numtype#__radd__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line148">line 148</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rdiv__"><span class="type-signature"></span>__rdiv__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rdiv__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rdiv__">Sk.builtin.numtype#__rdiv__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line256">line 256</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rdivmod__"><span class="type-signature"></span>__rdivmod__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rdivmod__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rdivmod__">Sk.builtin.numtype#__rdivmod__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line364">line 364</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__repr__"><span class="type-signature"></span>__repr__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__repr__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__repr__">Sk.builtin.object#__repr__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line143">line 143</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rfloordiv__"><span class="type-signature"></span>__rfloordiv__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rfloordiv__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rfloordiv__">Sk.builtin.numtype#__rfloordiv__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line292">line 292</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rmod__"><span class="type-signature"></span>__rmod__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rmod__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rmod__">Sk.builtin.numtype#__rmod__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line328">line 328</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rmul__"><span class="type-signature"></span>__rmul__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rmul__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rmul__">Sk.builtin.numtype#__rmul__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line220">line 220</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rpow__"><span class="type-signature"></span>__rpow__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rpow__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rpow__">Sk.builtin.numtype#__rpow__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line400">line 400</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__rsub__"><span class="type-signature"></span>__rsub__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__rsub__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__rsub__">Sk.builtin.numtype#__rsub__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line184">line 184</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__str__"><span class="type-signature"></span>__str__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper for <code>__str__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#__str__">Sk.builtin.object#__str__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line155">line 155</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__sub__"><span class="type-signature"></span>__sub__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__sub__</code> method.</p>
</div>







<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#__sub__">Sk.builtin.numtype#__sub__</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line166">line 166</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="__trunc__"><span class="type-signature"></span>__trunc__<span class="type-signature"></span></h4>




<div class="description">
    <p>Python wrapper of <code>__trunc__</code> dunder method.</p>
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line152">line 152</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_add"><span class="type-signature"></span>nb$inplace_add<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line718">line 718</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_divide"><span class="type-signature"></span>nb$inplace_divide<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line727">line 727</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_floor_divide"><span class="type-signature"></span>nb$inplace_floor_divide<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line733">line 733</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_multiply"><span class="type-signature"></span>nb$inplace_multiply<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line724">line 724</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_power"><span class="type-signature"></span>nb$inplace_power<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line736">line 736</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_remainder"><span class="type-signature"></span>nb$inplace_remainder<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line730">line 730</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="nb$inplace_subtract"><span class="type-signature"></span>nb$inplace_subtract<span class="type-signature"></span></h4>










<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line721">line 721</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="ob$type"><span class="type-signature"></span>ob$type<span class="type-signature"> :Sk.builtin.type</span></h4>




<div class="description">
    <p>The type object of this class.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Sk.builtin.type</span>


        </li>
    </ul>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#ob$type">Sk.builtin.object#ob$type</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line138">line 138</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="tp$name"><span class="type-signature"></span>tp$name<span class="type-signature"> :string</span></h4>




<div class="description">
    <p>The name of this class.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">string</span>


        </li>
    </ul>





<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#tp$name">Sk.builtin.object#tp$name</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line132">line 132</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
    

    
        <h3 class="subsection-title">Methods</h3>

        
            

    

    <h4 class="name" id="__round__"><span class="type-signature"></span>__round__<span class="signature">(self, ndigits)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>}</span></h4>

    



<div class="description">
    <p>Round this instance to a given number of digits, or zero if omitted.</p>
<p>Implements <code>__round__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>self</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>


            
            </td>

            

            

            <td class="description last"><p>This instance.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>ndigits</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>
|

<span class="param-type">number</span>


            
            </td>

            

            

            <td class="description last"><p>The number of digits after the decimal point to which to round.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line951">line 951</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The rounded integer.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="clone"><span class="type-signature"></span>clone<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>}</span></h4>

    



<div class="description">
    <p>Returns a copy of this instance.</p>
<p>Javascript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line208">line 208</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The copy</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="GenericGetAttr"><span class="type-signature"></span>GenericGetAttr<span class="signature">()</span><span class="type-signature"> &rarr; {undefined}</span></h4>

    















<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a href="Sk.builtin.object.html#GenericGetAttr">Sk.builtin.object#GenericGetAttr</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line26">line 26</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        


<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">undefined</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$abs"><span class="type-signature"></span>nb$abs<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the absolute value of this instance and return.</p>
<p>Javascript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$abs">Sk.builtin.numtype#nb$abs</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line615">line 615</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The absolute value</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$add"><span class="type-signature"></span>nb$add<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Add a Python object to this instance and return the result (i.e. this + other).</p>
<p>Returns NotImplemented if addition between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to add.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$add">Sk.builtin.numtype#nb$add</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line441">line 441</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the addition.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$and"><span class="type-signature"></span>nb$and<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise AND of this instance and a Python object (i.e. this &amp; other).</p>
<p>Returns NotImplemented if bitwise AND operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to AND with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line508">line 508</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the conjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$divide"><span class="type-signature"></span>nb$divide<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Divide this instance by a Python object and return the result (i.e this / other).</p>
<p>Returns NotImplemented if division between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The divisor, which must be a Python object.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$divide">Sk.builtin.numtype#nb$divide</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line508">line 508</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the division</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$divmod"><span class="type-signature"></span>nb$divmod<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {Sk.builtin.tuple|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the quotient and the remainder of this instance and a given Python object and return the result.</p>
<p>Returns NotImplemented if division or modulo operations between this type and other type are unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The divisor, which must be a Python object.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$divmod">Sk.builtin.numtype#nb$divmod</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line575">line 575</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the operation.
If both operations are supported, a Python tuple containing (quotient, remainder) in that order.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Sk.builtin.tuple</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$floor_divide"><span class="type-signature"></span>nb$floor_divide<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Floor divide this instance by a Python object and return the result (i.e. this // other).</p>
<p>Returns NotImplemented if floor division between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The divisor, which must be a Python object.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$floor_divide">Sk.builtin.numtype#nb$floor_divide</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line530">line 530</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the floor division</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$inplace_and"><span class="type-signature"></span>nb$inplace_and<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise AND of this instance and a Python object (i.e. this &amp;= other).</p>
<p>Returns NotImplemented if inplace bitwise AND operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to AND with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line738">line 738</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the conjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$inplace_lshift"><span class="type-signature"></span>nb$inplace_lshift<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise left shift of this instance by a Python object (i.e. this &lt;&lt;= other).</p>
<p>Returns NotImplemented if inplace bitwise left shift operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object by which to left shift</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line786">line 786</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the left shift</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$inplace_or"><span class="type-signature"></span>nb$inplace_or<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise OR of this instance and a Python object (i.e. this |= other).</p>
<p>Returns NotImplemented if inplace bitwise OR operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to OR with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line754">line 754</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the disjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$inplace_rshift"><span class="type-signature"></span>nb$inplace_rshift<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise right shift of this instance by a Python object (i.e. this &gt;&gt;= other).</p>
<p>Returns NotImplemented if inplace bitwise right shift operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object by which to right shift</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line802">line 802</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the right shift</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$inplace_xor"><span class="type-signature"></span>nb$inplace_xor<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise XOR of this instance and a Python object (i.e. this ^= other).</p>
<p>Returns NotImplemented if inplace bitwise XOR operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to XOR with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line770">line 770</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the exclusive disjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$invert"><span class="type-signature"></span>nb$invert<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise inverse of this instance (i.e. ~this).</p>
<p>Javscript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line713">line 713</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the inversion</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$isnegative"><span class="type-signature"></span>nb$isnegative<span class="signature">()</span><span class="type-signature"> &rarr; {boolean|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is negative.</p>
<p>Javscript function, returns Javascript object or Sk.builtin.NotImplemented.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$isnegative">Sk.builtin.numtype#nb$isnegative</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line659">line 659</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this instance is negative, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">boolean</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$ispositive"><span class="type-signature"></span>nb$ispositive<span class="signature">()</span><span class="type-signature"> &rarr; {boolean|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is positive.</p>
<p>Javscript function, returns Javascript object or Sk.builtin.NotImplemented.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$ispositive">Sk.builtin.numtype#nb$ispositive</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line670">line 670</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this instance is positive, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">boolean</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$lshift"><span class="type-signature"></span>nb$lshift<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise left shift of this instance by a Python object (i.e. this &lt;&lt; other).</p>
<p>Returns NotImplemented if bitwise left shift operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object by which to left shift</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line616">line 616</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the left shift</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$multiply"><span class="type-signature"></span>nb$multiply<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Multiply this instance by a Python object and return the result (i.e. this * other).</p>
<p>Returns NotImplemented if multiplication between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The multiplier, which must be a Python object.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$multiply">Sk.builtin.numtype#nb$multiply</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line485">line 485</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the multiplication</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$negative"><span class="type-signature"></span>nb$negative<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the unary negative of this instance (i.e. -this).</p>
<p>Javscript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$negative">Sk.builtin.numtype#nb$negative</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line626">line 626</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>A copy of this instance with the value negated</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$nonzero"><span class="type-signature"></span>nb$nonzero<span class="signature">()</span><span class="type-signature"> &rarr; {boolean|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is nonzero.</p>
<p>Javscript function, returns Javascript object or Sk.builtin.NotImplemented.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$nonzero">Sk.builtin.numtype#nb$nonzero</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line648">line 648</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this instance is not equal to zero, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">boolean</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$or"><span class="type-signature"></span>nb$or<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise OR of this instance and a Python object (i.e. this | other).</p>
<p>Returns NotImplemented if bitwise OR operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to OR with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line544">line 544</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the disjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$positive"><span class="type-signature"></span>nb$positive<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the unary positive of this instance (i.e. +this).</p>
<p>Javscript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$positive">Sk.builtin.numtype#nb$positive</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line637">line 637</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>A copy of this instance with the value unchanged</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$power"><span class="type-signature"></span>nb$power<span class="signature">(other<span class="signature-attributes">non-null</span>, mod<span class="signature-attributes">opt, non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Raise this instance by a Python object, optionally modulo the exponent, and return the final result.</p>
<p>If mod is undefined, return this ** other. Else, return (this ** other) % mod.</p>
<p>Returns NotImplemented if exponentiation or modulation between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            

            <td class="description last"><p>The exponent, which must be a Python object.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>mod</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            

            <td class="description last"><p>The optional divisor, which must be a Python object if defined.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$power">Sk.builtin.numtype#nb$power</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line596">line 596</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the exponentiation.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$reflected_add"><span class="type-signature"></span>nb$reflected_add<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line234">line 234</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_divide"><span class="type-signature"></span>nb$reflected_divide<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line316">line 316</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_divmod"><span class="type-signature"></span>nb$reflected_divmod<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line431">line 431</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_floor_divide"><span class="type-signature"></span>nb$reflected_floor_divide<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line347">line 347</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_multiply"><span class="type-signature"></span>nb$reflected_multiply<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line299">line 299</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_power"><span class="type-signature"></span>nb$reflected_power<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line485">line 485</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_remainder"><span class="type-signature"></span>nb$reflected_remainder<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line398">line 398</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$reflected_subtract"><span class="type-signature"></span>nb$reflected_subtract<span class="signature">()</span><span class="type-signature"></span></h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line262">line 262</a>
    </li></ul></dd>
    

    

    

    
</dl>
















        
            

    

    <h4 class="name" id="nb$remainder"><span class="type-signature"></span>nb$remainder<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Modulo this instance by a Python object and return the result (i.e. this % other).</p>
<p>Returns NotImplemented if modulation between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The divisor, which must be a Python object.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$remainder">Sk.builtin.numtype#nb$remainder</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line552">line 552</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the modulation</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$rshift"><span class="type-signature"></span>nb$rshift<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise right shift of this instance by a Python object (i.e. this &gt;&gt; other).</p>
<p>Returns NotImplemented if bitwise right shift operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object by which to right shift</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line666">line 666</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the right shift</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$subtract"><span class="type-signature"></span>nb$subtract<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Subtract a Python object from this instance and return the result (i.e. this - other).</p>
<p>Returns NotImplemented if subtraction between this type and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to subtract.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#nb$subtract">Sk.builtin.numtype#nb$subtract</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="numtype.js.html">numtype.js</a>, <a href="numtype.js.html#line463">line 463</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the subtraction.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.numtype.html">Sk.builtin.numtype</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="nb$xor"><span class="type-signature"></span>nb$xor<span class="signature">(other<span class="signature-attributes">non-null</span>)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>|Sk.builtin.lng|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compute the bitwise XOR of this instance and a Python object (i.e. this ^ other).</p>
<p>Returns NotImplemented if bitwise XOR operation between int and other type is unsupported.</p>
<p>Javscript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Sk.builtin.object.html">Sk.builtin.object</a></span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to XOR with this one</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line580">line 580</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The result of the exclusive disjunction</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
|

<span class="param-type">Sk.builtin.lng</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="numberCompare"><span class="type-signature"></span>numberCompare<span class="signature">()</span><span class="type-signature"> &rarr; {number|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Compare this instance's value to another Python object's value.</p>
<p>Returns NotImplemented if comparison between int and other type is unsupported.</p>
<p>Javscript function, returns Javascript object or Sk.builtin.NotImplemented.</p>
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line856">line 856</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>negative if this &lt; other, zero if this == other, positive if this &gt; other</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">number</span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$eq"><span class="type-signature"></span>ob$eq<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Perform equality check between this instance and a Python object (i.e. this == other).</p>
<p>Implements <code>__eq__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to check for equality.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$eq">Sk.builtin.numtype#ob$eq</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line293">line 293</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if equal, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$ge"><span class="type-signature"></span>ob$ge<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is greater than or equal to a Python object (i.e. this &gt;= other).</p>
<p>Implements <code>__ge__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to compare.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$ge">Sk.builtin.numtype#ob$ge</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line371">line 371</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this &gt;= other, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$gt"><span class="type-signature"></span>ob$gt<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is greater than a Python object (i.e. this &gt; other).</p>
<p>Implements <code>__gt__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to compare.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$gt">Sk.builtin.numtype#ob$gt</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line357">line 357</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this &gt; other, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$le"><span class="type-signature"></span>ob$le<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is less than or equal to a Python object (i.e. this &lt;= other).</p>
<p>Implements <code>__le__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to compare.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$le">Sk.builtin.numtype#ob$le</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line343">line 343</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this &lt;= other, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$lt"><span class="type-signature"></span>ob$lt<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Determine if this instance is less than a Python object (i.e. this &lt; other).</p>
<p>Implements <code>__lt__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to compare.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$lt">Sk.builtin.numtype#ob$lt</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line329">line 329</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if this &lt; other, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="ob$ne"><span class="type-signature"></span>ob$ne<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>

    



<div class="description">
    <p>Perform non-equality check between this instance and a Python object (i.e. this != other).</p>
<p>Implements <code>__ne__</code> dunder method.</p>
<p>Javascript function, returns Python object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>other</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last"><p>The Python object to check for non-equality.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#ob$ne">Sk.builtin.numtype#ob$ne</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line311">line 311</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>true if not equal, false otherwise</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
|

<span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="str$"><span class="type-signature"></span>str$<span class="signature">(base, sign)</span><span class="type-signature"> &rarr; {string}</span></h4>

    



<div class="description">
    <p>Convert this instance's value to a Javascript string.</p>
<p>Javascript function, returns Javascript object.</p>
</div>









    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>base</code></td>
            

            <td class="type">
            
                
<span class="param-type">number</span>


            
            </td>

            

            

            <td class="description last"><p>The base of the value.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>sign</code></td>
            

            <td class="type">
            
                
<span class="param-type">boolean</span>


            
            </td>

            

            

            <td class="description last"><p>true if the value should be signed, false otherwise.</p></td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line998">line 998</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The Javascript string representation of this instance.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">string</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="tp$hash"><span class="type-signature"></span>tp$hash<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>}</span></h4>

    



<div class="description">
    <p>Return the hash value of this instance.</p>
<p>Javascript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="Sk.builtin.numtype.html#tp$hash">Sk.builtin.numtype#tp$hash</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="object.js.html">object.js</a>, <a href="object.js.html#line275">line 275</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The hash value</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="tp$index"><span class="type-signature"></span>tp$index<span class="signature">()</span><span class="type-signature"> &rarr; {number}</span></h4>

    



<div class="description">
    <p>Return this instance's Javascript value.</p>
<p>Javascript function, returns Javascript object.</p>
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line181">line 181</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>This instance's value.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">number</span>


    </dd>
</dl>

    



        
            

    

    <h4 class="name" id="tp$str"><span class="type-signature"></span>tp$str<span class="signature">()</span><span class="type-signature"> &rarr; {Sk.builtin.str}</span></h4>

    



<div class="description">
    <p>Return the string representation of this instance.</p>
<p>Javascript function, returns Python object.</p>
</div>













<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="int.js.html">int.js</a>, <a href="int.js.html#line985">line 985</a>
    </li></ul></dd>
    

    

    

    
</dl>













<h5>Returns:</h5>

        
<div class="param-desc">
    <p>The Python string representation of this instance.</p>
</div>



<dl>
    <dt>
        Type
    </dt>
    <dd>
        
<span class="param-type">Sk.builtin.str</span>


    </dd>
</dl>

    



        
    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Sk.abstr.iter-seqIter.html">seqIter</a></li><li><a href="Sk.builtin.bool.html">bool</a></li><li><a href="Sk.builtin.float_.html">float_</a></li><li><a href="Sk.builtin.func.html">func</a></li><li><a href="Sk.builtin.int_.html">int_</a></li><li><a href="Sk.builtin.none.html">none</a></li><li><a href="Sk.builtin.NotImplemented.html">NotImplemented</a></li><li><a href="Sk.builtin.numtype.html">numtype</a></li><li><a href="Sk.builtin.object.html">object</a></li><li><a href="Sk.builtin.seqtype.html">seqtype</a></li><li><a href="Sk.misceval.Suspension.html">Suspension</a></li></ul><h3>Namespaces</h3><ul><li><a href="Sk.html">Sk</a></li><li><a href="Sk.abstr.html">abstr</a></li><li><a href="Sk.builtin.html">builtin</a></li><li><a href="Sk.ffi.html">ffi</a></li><li><a href="Sk.misceval.html">misceval</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0</a> on Thu Aug 13 2015 08:14:27 GMT-0500 (CDT)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>