The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: none
Declaration: function CheckPowerOfTwo (AInt: longword): boolean;

The function CheckPowerOfTwo returns TRUE if the unsigned integer AInt is a power of 2.

Last Update: 2012-Oct-20