Home | Trees | Indices | Help |
|
---|
|
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
Function Details |
Return ceil(n / 2**b) without performing any floating-point or division operations. This is done by right-shifting n by b bits and incrementing the result by 1 if any '1' bits were shifted out. |
Find and return an integer i >= 0 such that num == 2**i. If no such integer exists, this function raises ValueError. |
Find and return an integer n such that p == n * d If no such integer exists, this function raises ValueError. Both operands must be integers. If the second operand is zero, this function will raise ZeroDivisionError unless allow_divzero is true (default: False). |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 24 09:02:36 2012 | http://epydoc.sourceforge.net |