next2pow

Calculates the next higher power of number 2. If the inputed argument is negative,the function will find the next higher power of the number 2 of his absolute value.

Arguments

  1. Number, vector or matrix

Output

Result value, vector or matrix

Examples

next2pow