time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (627B)


      1 
      2 {{alias}}( x )
      3     Returns an approximate binary logarithm (base two) of an unsigned 32-bit
      4     integer `x`.
      5 
      6     This function provides a performance boost when requiring only approximate
      7     computations for integer arguments.
      8 
      9     For high-precision applications, this function is never suitable.
     10 
     11     Parameters
     12     ----------
     13     x: uinteger
     14         Input value.
     15 
     16     Returns
     17     -------
     18     out: uinteger
     19         Integer binary logarithm (base two).
     20 
     21     Examples
     22     --------
     23     > var v = {{alias}}( 4 >>> 0 )
     24     2
     25     > v = {{alias}}( 8 >>> 0 )
     26     3
     27     > v = {{alias}}( 9 >>> 0 )
     28     3
     29 
     30     See Also
     31     --------
     32