g2" class="binding-sym">math/log2</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/34496ec/src/core/math.c#L281">source</a></span> <pre class="binding-text">(math/log2 x)

Returns the log base 2 of x.</pre><a href="https://janetdocs.org/math/log2">Community Examples</a></div><hr><div class="binding"><span id="math/nan" class="binding-sym">math/nan</span> <span class="binding-type">number</span> <span class="binding-type"><a href=