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



EncodeLong


Unit:SDL_math1
Class: none
Declaration: function EncodeLong (value: longint): integer;

The function EncodeLong returns the position of the first (less significant) bit which is set in the parameter value. The least significant bit (LSB) has the number 0, the most significant bit (MSB) has the number 31.



Last Update: 2012-Oct-20