[ CCode ( cname = "clutter_util_next_p2" ) ]
[ Version ( deprecated = true , deprecated_since = "1.2" ) ]
public int next_power_of_2 (int a)
Warning: next_power_of_2 is deprecated since 1.2.
Calculates the nearest power of two, greater than or equal to a
.
a |
Value to get the next power |
The nearest power of two, greater or equal to |