Set of functions used to swap numbers. More...
#include <sbgCommon.h>
Go to the source code of this file.
Functions | |
SBG_INLINE uint16_t | sbgSwap16 (uint16_t x) |
SBG_INLINE uint32_t | sbgSwap32 (uint32_t x) |
SBG_INLINE uint64_t | sbgSwap64 (uint64_t x) |
SBG_INLINE double | sbgSwapDouble (double val) |
SBG_INLINE float | sbgSwapFloat (float val) |
Set of functions used to swap numbers.
Copyright (C) 2007-2013, SBG Systems SAS. All rights reserved.
This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Definition in file sbgSwap.h.
SBG_INLINE uint16_t sbgSwap16 | ( | uint16_t | x | ) |
SBG_INLINE uint32_t sbgSwap32 | ( | uint32_t | x | ) |
SBG_INLINE uint64_t sbgSwap64 | ( | uint64_t | x | ) |
SBG_INLINE double sbgSwapDouble | ( | double | val | ) |
SBG_INLINE float sbgSwapFloat | ( | float | val | ) |