/* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2008 - INRIA - Aranud Torset * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt * */ /* Idem that OpLogEq with a !(negation) behind*/ #ifndef __OPLOGNE_H__ #define __OPLOGNE_H__ #include "floatComplex.h" #include "doubleComplex.h" #define s0s0OpLogNes0(in1,in2) (float) !(in1 == in2) #define d0d0OpLogNed0(in1,in2) (double) !(in1 == in2) #define c0c0OpLogNes0(in1,in2) (float) !((creals(in1) == creals(in2)) && (cimags(in1) == cimags(in2))) #define z0z0OpLogNed0(in1,in2) (double) !((zreals(in1) == zreals(in2)) && (zimags(in1) == zimags(in2))) #define s0c0OpLogNes0(in1,in2) (float) !((in1==creals(in2)) && (0==cimags(in2))) #define d0z0OpLogNed0(in1,in2) (double) !((in1==zreals(in2)) && (0==zimags(in2))) #define c0s0OpLogNes0(in1,in2) s0c0OpLogNes0(in2,in1) #define z0d0OpLogNed0(in1,in2) d0z0OpLogNed0(in2,in1) #define s2s0OpLogNes2(in1,size,in2,out) {int i;\ for (i=0;i