JanetDocsI'm feeling luckyGithub sign in

math/log2



    cfunction

    (math/log2 x)
    
    Returns log base 2 of x.


1 exampleSign in to add an example
Loading...
(math/log (* math/e math/e))  # => 2
(math/log2 256)               # => 8
(math/log10 1000)             # => 3
cellularmitosis