Packages
clutter-1.0
Clutter
Util
next_power_of_2
Stays crunchy ...
... even in milk.
Valadoc
Vala
Tutorial
Vala Journal
API-References
Markup
About
next_power_of_2
Description:
public
int
next_power_of_2
(
int
a)
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
a
.
Namespace:
Clutter.Util
Package:
clutter-1.0