time-to-botec

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

repl.txt (375B)


      1 
      2 {{alias}}( x )
      3     Tests whether an unsigned integer is a power of 2.
      4 
      5     Parameters
      6     ----------
      7     x: integer
      8         Unsigned integer.
      9 
     10     Returns
     11     -------
     12     bool: boolean
     13         Boolean indicating if a value is a power of 2.
     14 
     15     Examples
     16     --------
     17     > var bool = {{alias}}( 2 )
     18     true
     19     > bool = {{alias}}( 5 )
     20     false
     21 
     22     See Also
     23     --------
     24