next_power_of_2
Description:
[ CCode ( cname = "clutter_util_next_p2" ) ]
[ Version ( deprecated = true , deprecated_since = "1.2" ) ]
public int next_power_of_2 (int a)
[ 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
.
Parameters:
a |
Value to get the next power |
Returns:
The nearest power of two, greater or equal to |
Namespace: Clutter.Util
Package: clutter-1.0