IsPow2 Data Member Function

Returns true if the source value is a power of two. Otherwise returns false.

Prototype

static int32 IsPow2( int32 value )

Parameters

Parameter Type Parameter Name Documentation
int32valueThe source value.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.