/* ** -*- C -*- ** ** ** Made by Raffaele.Nutricato@tiscali.it ** ** Copyright Raffaele Nutricato */ /* Modified by Arnaud Torset */ #ifndef __OPLOGEQ_H__ #define __OPLOGEQ_H__ #include "floatComplex.h" #include "doubleComplex.h" #define s0s0OpLogEqs0(in1,in2) (float) (in1 == in2) #define d0d0OpLogEqd0(in1,in2) (double) (in1 == in2) #define c0c0OpLogEqs0(in1,in2) (float) ((creals(in1) == creals(in2)) && (cimags(in1) == cimags(in2))) #define z0z0OpLogEqd0(in1,in2) (double) ((zreals(in1) == zreals(in2)) && (zimags(in1) == zimags(in2))) #define s0c0OpLogEqs0(in1,in2) (float) ((in1==creals(in2)) && (0==cimags(in2))) #define d0z0OpLogEqd0(in1,in2) (double) ((in1==zreals(in2)) && (0==zimags(in2))) #define c0s0OpLogEqs0(in1,in2) s0c0OpLogEqs0(in2,in1) #define z0d0OpLogEqd0(in1,in2) d0z0OpLogEqd0(in2,in1) #define s2s0OpLogEqs2(in1,size,in2,out) {int i;\ for (i=0;i