LL_EXTRACT_H

Extracts the 32 MSBs of a 64-bit integer or fractional value. Returns a 32-bit value.

Prototype

  Word32 __LL_extract_h(Word64 llsrc)

  

  
Example
long long s = 0x1234123443214321;

long result;

result = LL_extract_h (s);

// Expected value of result: 0x12341234