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....



CheckPowerOfTwo


Unit:SDL_math1
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: 2023-Feb-06