diff options
Diffstat (limited to 'source/sar.h')
-rw-r--r-- | source/sar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/sar.h b/source/sar.h index 7f6e847..119c5b8 100644 --- a/source/sar.h +++ b/source/sar.h @@ -101,7 +101,10 @@ #endif #ifdef RIGHTSHIFT_IS_SAR -#define SAR(b, n) ((b)>>(n)) +#define SAR8(b, n) ((b)>>(n)) +#define SAR16(b, n) ((b)>>(n)) +#define SAR32(b, n) ((b)>>(n)) +#define SAR64(b, n) ((b)>>(n)) #else static inline int8 SAR8(const int8 b, const int n){ |