21 #ifndef __SBG_SWAP_H__ 22 #define __SBG_SWAP_H__ 44 return ((x<<8)|(x>>8));
54 return ((x << 24) | ((x << 8) & (0xFF0000)) | ((x >> 8) & (0xFF00)) | (x >> 24));
69 lo = (
uint32)(x&0xFFFFFFFF);
71 hi = (
uint32)(x&0xFFFFFFFF);
101 return tmpFloat.
valF;
116 tmpDouble.
valF = val;
122 return tmpDouble.
valF;
unsigned long long int uint64
SBG_INLINE uint32 sbgSwap32(uint32 x)
SBG_INLINE float sbgSwapFloat(float val)
SBG_INLINE uint16 sbgSwap16(uint16 x)
Main header file for SBG Systems common C library.
SBG_INLINE uint64 sbgSwap64(uint64 x)
SBG_INLINE double sbgSwapDouble(double val)