log2(x) (base-2 logarithm of x)
- Purpose
- Computes the base-2 logarithm of x.
- Returns
- Double
log2(x).
- Parameters
-
| [in] | X | Argument x. (X > 0) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X < 0)
= 1: Floating point range error. |