be assigned to either integer variables or real variables.
Internally, the integer representation is cast to a floating-point
representation. This operation is not without overhead and should
thus be avoided where possible.</p>
</div>
</div>
<div class="footnotes">
<hr />
<ol start="1">
<li id="fn1"><p>Stan compiles integers to <code>int</code> and reals to <code>double</code> types in C++. Precise details of rounding will depend on the compiler and hardware architecture on which the code is run.<a href="nu