From a8760a2e68c4c8646ad97d1bd396b72d1e96b547 Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 16 Jun 2009 07:08:02 +0000 Subject: Validating OpLogNot --- includes/sci2clib.h | 1 + macros/CFiles/sci2cincludes/OpLogNot.h | 42 ------------------------------ macros/findDeps/getAllInterfaces.sci | 1 + src/c/operations/interfaces/int_OpLogNot.h | 42 ++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 42 deletions(-) delete mode 100644 macros/CFiles/sci2cincludes/OpLogNot.h create mode 100644 src/c/operations/interfaces/int_OpLogNot.h diff --git a/includes/sci2clib.h b/includes/sci2clib.h index 6e684640..76fa632b 100644 --- a/includes/sci2clib.h +++ b/includes/sci2clib.h @@ -183,6 +183,7 @@ #include "int_OpBackSlash.h" #include "int_OpDotBackSlash.h" /* interfacing comparison */ +#include "int_OpLogNot.h" #include "int_OpLogEq.h" #include "int_OpLogNe.h" #include "int_OpLogGt.h" diff --git a/macros/CFiles/sci2cincludes/OpLogNot.h b/macros/CFiles/sci2cincludes/OpLogNot.h deleted file mode 100644 index 6184265c..00000000 --- a/macros/CFiles/sci2cincludes/OpLogNot.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab - * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET - * - * 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 - * - */ - -/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ - -#ifndef __INT_OPLOGNOT_H__ -#define __INT_OPLOGNOT_H__ - -#define s0OpLogNots0(in) (in==0) ? (float)1 : (float)0 - -#define d0OpLogNotd0(in) (in==0) ? (double)1 : (double)0 - -#define c0OpLogNotc0(in) (creals(in)==0) ? FloatComplex(1,0) : FloatComplex(0,0) - -#define z0OpLogNotz0(in) (zreals(in)==0) ? DoubleComplex(1,0) : DoubleComplex(0,0) - -#define s2OpLogNots2(in,size,out) {int i;\ - for (i=0;i