From 222a3e39441ad408dacdc39d46d687dee5a6bf3c Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Thu, 20 Aug 2015 01:20:26 +0530 Subject: Support for disp added --- src/c/operations/interfaces/int_OpLogNot.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/c/operations/interfaces/int_OpLogNot.h') diff --git a/src/c/operations/interfaces/int_OpLogNot.h b/src/c/operations/interfaces/int_OpLogNot.h index 6184265..852cd1c 100644 --- a/src/c/operations/interfaces/int_OpLogNot.h +++ b/src/c/operations/interfaces/int_OpLogNot.h @@ -23,6 +23,14 @@ #define z0OpLogNotz0(in) (zreals(in)==0) ? DoubleComplex(1,0) : DoubleComplex(0,0) +#define u8OpLogNotu80(in) (in==0) ? (uint8)1 : (uint8)0 + +#define i8OpLogNoti80(in) (in==0) ? (int8)1 : (int8)0 + +#define u16OpLogNotu160(in) (in==0) ? (uint16)1 : (uint16)0 + +#define i16OpLogNoti160(in) (in==0) ? (int16)1 : (int16)0 + #define s2OpLogNots2(in,size,out) {int i;\ for (i=0;i