<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IR__IntLit (infer.IR__IntLit)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» IR__IntLit</nav><h1>Module <code>IR__IntLit</code></h1></header><divclass="spec module"id="module-F"><ahref="#module-F"class="anchor"></a><code><spanclass="keyword">module</span> F = Stdlib.Format</code></div><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dd><p>signed and unsigned integer literals</p></dd></dl><dl><dtclass="spec exception"id="exception-OversizedShift"><ahref="#exception-OversizedShift"class="anchor"></a><code><spanclass="keyword">exception</span></code><code><spanclass="exception">OversizedShift</span></code></dt></dl><dl><dtclass="spec value"id="val-add"><ahref="#val-add"class="anchor"></a><code><spanclass="keyword">val</span> add : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-compare"><ahref="#val-compare"class="anchor"></a><code><spanclass="keyword">val</span> compare : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dd><p>compare integers ignoring the distinction between pointers and non-pointers</p></dd></dl><dl><dtclass="spec value"id="val-compare_value"><ahref="#val-compare_value"class="anchor"></a><code><spanclass="keyword">val</span> compare_value : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> int</code></dt><dd><p>compare the value of the integers, notice this is different from const compare, which distinguished between signed and unsigned +1</p></dd></dl><dl><dtclass="spec value"id="val-div"><ahref="#val-div"class="anchor"></a><code><spanclass="keyword">val</span> div : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-eq"><ahref="#val-eq"class="anchor"></a><code><spanclass="keyword">val</span> eq : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-equal"><ahref="#val-equal"class="anchor"></a><code><spanclass="keyword">val</span> equal : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> bool</code></dt><dd><p>an alias for <ahref="index.html#val-eq"><code>eq</code></a>, for convenience</p></dd></dl><dl><dtclass="spec value"id="val-of_int"><ahref="#val-of_int"class="anchor"></a><code><spanclass="keyword">val</span> of_int : int <span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-of_big_int"><ahref="#val-of_big_int"class="anchor"></a><code><spanclass="keyword">val</span> of_big_int : Z.t <span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-of_int32"><ahref="#val-of_int32"class="anchor"></a><code><spanclass="keyword">val</span> of_int32 : int32 <span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-of_int64"><ahref="#val-of_int64"class="anchor"></a><code><spanclass="keyword">val</span> of_int64 : int64 <span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-of_string"><ahref="#val-of_string"class="anchor"></a><code><spanclass="keyword">val</span> of_string : string <span>-></span><ahref="inde