LL_ABS

Absolute value of a 64-bit integer or fractional value returning a 64-bit result.

Prototype

  Word64 __LL_abs(Word64 llvar)

  

  
Example
long long s1 = 0xEDCBA98800000000;

long long result;

result = LL_abs (s1);

// Expected value of result: abs(0xEDCBA98800000000) = 0x1234567800000000